Skip to content

Commit 5ad7049

Browse files
committed
updating README
1 parent 5155cb7 commit 5ad7049

File tree

1 file changed

+41
-7
lines changed

1 file changed

+41
-7
lines changed

README.md

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,37 @@
22

33
Primer schemes for real-time genome epidemiology
44

5-
[![Build Status](https://travis-ci.org/will-rowe/primer-schemes.svg?branch=master)](https://travis-ci.org/will-rowe/primer-schemes)
5+
[![Build Status](https://travis-ci.org/artic-network/primer-schemes.svg?branch=master)](https://travis-ci.org/artic-network/primer-schemes)
66
[![DOI](https://zenodo.org/badge/x.svg)](https://zenodo.org/badge/latestdoi/x)
77

8-
## updated scheme file format
8+
## About
9+
10+
The primer schemes in this repository were built using [Primal Scheme](https://primalscheme.com/) and are available for the following viruses:
11+
12+
- Ebola
13+
- Nipah
14+
- SARS-CoV-2
15+
16+
Within each virus directory, there are versioned sub-directories which each contain a versioned scheme for that virus.
17+
18+
The following files are available per scheme version:
19+
20+
| file extension | about |
21+
| ------------------ | -------------------------------------------------------------------------------------- |
22+
| `.primer.bed` | The coordinates of each primer in the scheme |
23+
| `.insert.bed` | The coordinates of the expected amplicons that the scheme produces (excluding primers) |
24+
| `.reference.fasta` | The sequence of the reference genome used for the scheme |
25+
| `.tsv` | Details on each primer in the scheme (name, sequence, length, GC, TM) |
26+
27+
For more information visit the [ARTIC network website](https://artic.network/).
28+
29+
## Notes
30+
31+
- There may be some additional files in the scheme directories - these are either deprecated and left for backward compatibility (e.g. `scheme.bed`), or are created by Primal Scheme [check here](https://github.com/aresti/primalscheme) for more info.
32+
- The schemes are in BED format, which is a 0-based, half-open format. This means that reference sequence position counting starts at 0 and the chromEnd is not included in the primer sequence.
33+
- All the schemes within this repository can be downloaded using [artic-tools](https://github.com/will-rowe/artic-tools) (e.g. `artic-tools get_scheme ebola --schemeVersion 2`)
34+
35+
## Updated scheme file format
936

1037
> updated: 25.08.2020
1138
@@ -28,12 +55,19 @@ The new format has the following columns:
2855

2956
<sup>\*</sup> column 5 in the BED spec is an int for score, whereas here we are using it to denote primerPool.
3057

31-
### liftover
58+
### commands
3259

33-
The `liftover.py` script was used to create files in the new format for existing schemes in this repository.
60+
The `liftover.py` script was used to create a `*.primer.bed` file for each `*.scheme.bed` file, within each scheme directory in this repository.
3461

35-
Schemes were updated using the following command:
62+
The `validate_scheme` command from [artic-tools](https://github.com/will-rowe/artic-tools) was used to validate each `*.primer.bed` and also to create the `*.insert.bed` file which is produced by recent versions of [Primal Scheme](https://github.com/aresti/primalscheme).
3663

37-
```
38-
for i in */V*/*.scheme.bed; do scripts/liftover.py -i $i -o ${i%%.scheme.bed}.primer.bed; done;
64+
The following commands where used:
65+
66+
```bash
67+
for i in */V*/*.scheme.bed;
68+
do
69+
basename=${i%%.scheme.bed}
70+
scripts/liftover.py -i $i -o ${basename}.primer.bed;
71+
artic-tools validate_scheme ${basename}.primer.bed --outputInserts ${basename}.insert.bed
72+
done;
3973
```

0 commit comments

Comments
 (0)