Skip to main content

No project description provided

Project description

multiPrime

multiPrime is an error-tolerant primer design tool for broad-spectrum pathogen detection. It propose a solution for the minimum degeneracy degenerate primer design with error (MD-EDPD).

1. Install

pip

pip3 install multiPrime
  • pip python >=3.9

2. Usage

$ multiPrime -h 
multiPrime -i input -o output
           Options: { -l [18] -n [4] -d [10] -v [1] -g [0.2,0.7] -f [0.8] -c [4] -p [10] -a [4] }

Options:
-h, --help            show this help message and exit
-i INPUT, --input=INPUT
                      Input file: multi-alignment output (muscle or others).
-l PLEN, --plen=PLEN  Length of primer. Default: 18.
-n DNUM, --dnum=DNUM  Number of degenerate. Default: 4.
-d DEGENERACY, --degeneracy=DEGENERACY
                      degeneracy of primer. Default: 10.
-v VARIATION, --variation=VARIATION
                      Max mismatch number of primer. Default: 1.
-e ENTROPY, --entropy=ENTROPY
                      Entropy is actually a measure of disorder. This parameter is used to judge whether the 
                      window is conservation. Entropy of primer-length window. Default: 3.6.
-g GC, --gc=GC        Filter primers by GC content. Default [0.2,0.7].
-s SIZE, --size=SIZE  Filter primers by mini PRODUCT size. Default 100.
-f FRACTION, --fraction=FRACTION
                      Filter primers by match fraction. Default: 0.8.
-c COORDINATE, --coordinate=COORDINATE
                      Mismatch index is not allowed to locate in start or
                      stop. otherwise, it won't be regard as the mis-
                      coverage. With this param, you can control the index
                      of Y-distance (number=variation and position of mismatch) when calculate
                      coverage with error.Default: 4.
-p PROC, --proc=PROC  Number of process to launch. Default: 20.
-a AWAY, --away=AWAY  Filter hairpin structure, which means distance of the
                      minimal paired bases. Default: 4. Example:(number of
                      X) AGCT[XXXX]AGCT. Primers should not have
                      complementary sequences (no consecutive 4 bp
                      complementarities),otherwise the primers themselves
                      will fold into hairpin structure.
-o OUT, --out=OUT     Output file: candidate primers. e.g.
                      [*].candidate.primers.txt.

Parameters:

Parameters Description
-i/--input Input file: Result of multi-alignment. (muscle, mafft or others)
-l/--plen Length of primer. Default: 18
-n/--dnum Number of degenerate. Default: 4.
-v/--variation Max mismatch number of primer. Default: 1.
-e/--entropy Entropy is actually a measure of disorder. This parameter is used to judge whether the window is conservation. Entropy of primer-length window. Default: 3.6.
-g/--gc Filter primers by GC content. Default [0.2,0.7].
-s/--size Number of degenerate. Default: 4.
-f/--fraction Filter primers by match fraction (Coverage with errors). Default: 0.8.
-c/--coordinate Mismatch index is not allowed to locate in start or stop. otherwise, it won't be regard as the mis-coverage. With this param, you can control the index of Y-distance (number=variation and position of mismatch) when calculate coverage with error.Default: 4.
-p/--proc Number of process to launch. Default: 20.
-a/--away Filter hairpin structure, which means distance of the minimal paired bases. Default: 4. Example:(number of X) AGCT[XXXX]AGCT. Primers should not have complementary sequences (no consecutive 4 bp complementarities),otherwise the primers themselves will fold into hairpin structure.
-o/--out Output file: candidate primers. e.g. [*].candidate.primers.txt.

3. Results

Three output files:

  • output:Information of primer.
  • output.gap_seq_id_json: Positions and non-contained sequences caused by errors (number of errors are greater than threshold).
  • output.non_coverage_seq_id_json: Positions and non-contained sequences.

4. test dir

multiPrime/example

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

multiPrime-2.0.0.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file multiPrime-2.0.0.tar.gz.

File metadata

  • Download URL: multiPrime-2.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for multiPrime-2.0.0.tar.gz
Algorithm Hash digest
SHA256 27c7379cc0ab1ec518d660c963dddeb36a8f3786f27d0818767a4f9aec27cbfb
MD5 83b4100e2db765fc314149e26fbbb929
BLAKE2b-256 bae079bf52b815d729b35879cfe7c84105b51af955b502755d189174f2dbef03

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page