Giter Club home page Giter Club logo

primer-schemes's Introduction

primer-schemes

Primer schemes for real-time genome epidemiology

Build Status DOI

About

The primer schemes in this repository were built using Primal Scheme and are available for the following viruses:

  • Ebola
  • Nipah
  • SARS-CoV-2 (nCoV-2019)

Within each virus directory, there are versioned sub-directories which each contain a versioned scheme for that virus.

The following files are available per scheme version:

file extension about
.primer.bed The coordinates of each primer in the scheme
.insert.bed The coordinates of the expected amplicons that the scheme produces (excluding primers)
.reference.fasta The sequence of the reference genome used for the scheme
.tsv Details on each primer in the scheme (name, sequence, length, GC, TM)

For more information visit the ARTIC network website.

Notes

  • 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 for more info.
  • 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.
  • All the schemes within this repository can be downloaded using artic-tools (e.g. artic-tools get_scheme ebola --schemeVersion 2)
  • The SARS-CoV-2 directory is an alias to the original nCoV-2019 directory, left for backwards compatibility

Updated scheme file format

updated: 25.08.2020

changes

With the major version bump to Primal Scheme, primer schemes are now output to *.primer.bed files.

These new files aren't much different to the old *.scheme.bed files and the same information is contained within, but they now conform to the BED standard.

The new format has the following columns:

column name type description
1 chrom string primer reference sequence
2 chromStart int starting position of the primer in the reference sequence
3 chomEnd int ending position of the primer in the reference sequence
4 name string primer name
5 primerPool int primer pool*
6 strand string (+/-) primer direction

* column 5 in the BED spec is an int for score, whereas here we are using it to denote primerPool.

commands

The liftover.py script was used to create a *.primer.bed file for each *.scheme.bed file, within each scheme directory in this repository.

The validate_scheme command from 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.

The following commands where used:

for i in */V*/*.scheme.bed;
do
basename=${i%%.scheme.bed}
scripts/liftover.py -i $i -o ${basename}.primer.bed;
artic-tools validate_scheme ${basename}.primer.bed --outputInserts ${basename}.insert.bed
done;

primer-schemes's People

Contributors

will-rowe avatar nickloman avatar joshquick avatar rambaut avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.