22![ PyPI] ( https://img.shields.io/pypi/v/primerdiffer?color=green )
33
44## Installation:
5+ The package worked with python version >=3.4.
6+ Only tested in linux x64 system.
7+
58python package:
69- primer3-py>=0.6.1
710- biopython>=1.7.8
@@ -17,9 +20,9 @@ conda install -c bioconda blast # install ncbi blast, which is not included in p
1720
1821## Case example: primerdesign.py for primerdiffer
1922Design genome-wide specific primers for two species/sub-species/divergent sequences:
20- - Greedy design primers for a region in genome1 and make a specifiy check using genome2
21- - The dis-similarity between genome1 and genome2 >5%.
22- ``` bash
23+ - Greedy design primers for a region in genome1 and make a specificity check using genome2
24+ - The dis-similarity between genome1 and genome2 >= 5%.
25+ ```
2326usage: primerdesign.py [-h] [-d WKDIR] [-g1 GENOME1] [-g2 GENOME2] [-pos POSITION] [--alignlen ALIGNLEN]
2427 [--free3len FREE3LEN] [--productlen PRODUCTLEN] [-h1 HIT1] [-h2 HIT2]
2528 [-i INTERVAL] [-j JUMP] [--prefix PREFIX]
@@ -54,13 +57,18 @@ optional arguments:
5457 --prefix PREFIX prefix of output file, default is primers
5558```
5659
57- Use C. nigoni and C.briggsae genome as example:
58- ```bash
59- # the C. nigoni genome is cn3_new.fa and C. briggsae genome is cb5.fa
60- # design C. briggsae unique primer, which would not amplify any region in C. nigoni,
61- # in the region of ChrX:12881200-15106660
62- # inside every 4kb interval
60+ Use _ C. nigoni_ and _ C.briggsae_ genomes as example. The two fasta files can be downloaded separately
61+ from [ cb4.fa] ( https://github.com/Runsheng/cbgenome/releases/download/cb5pre_cn3pre/cb5.fa.gz ) and
62+ [ cn3_new.fa] ( https://github.com/Runsheng/cbgenome/releases/download/cb5pre_cn3pre/cn3_new.fa.gz ) .
63+
64+ The _ C. nigoni_ genome is cn3_new.fa and _ C. briggsae_ genome is cb5.fa. To design _ C. briggsae_ unique primer,
65+ which would not amplify any region in _ C. nigoni_ , and amplify only one region in _ C. briggsae_ .
66+ The targeted region for C. briggsae is ChrX:12881200-15106660 (-pos),
67+ one primer is designed for every 4kb interval (--interval).
68+ ```
6369primerdesign.py -g1 cb5.fa -g2 cn3_new.fa -pos "ChrX:12881200-15106660" --interval 4000
70+
71+ # check the result in file "primers_ChrX:12881200-15106660.txt"
6472head primers_ChrX\:12881200-15106660.txt
6573#ChrX:12881200-12881700 GATCCAAAACATGAGTGGCC CGAGATCATTGGCTCAAAGT 287
6674#ChrX:12886200-12886700 GTTTTCTCTTCAAGTGCCCG CTCCCACATCTTGTAGGTCC 416
@@ -70,7 +78,7 @@ head primers_ChrX\:12881200-15106660.txt
7078
7179
7280Use in silico PCR to get the position and the product of the primer
73- ```bash
81+ ```
7482usage: ispcr.py [-h] [-d WKDIR] [-f FORWARD] [-r REVERSE] [-g GENOME] [--alignlen ALIGNLEN]
7583 [--free3len FREE3LEN] [--productlen PRODUCTLEN] [-o OUT]
7684
@@ -105,5 +113,9 @@ head ispcr.fa
105113# ATGATGATGATGATGGTGGGGTGAGAATAGAGT
106114```
107115
116+ ## Roadmap for other functions:
117+ 1 . To use user-provided primer parameters.Primer design parameter now is fine-tuned for general purpose PCR, which can be found in "general_settings.py".This file may need be modified to generate primers for specific purpose PCR like real-time qPCR.
118+ 2 . To update the RFLP method for primer design to differ sequences with almost identical sequence.
119+ 3 . To update the primer design using VCF file.
108120
109121
0 commit comments