You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Case example: Design general purpose primers with given parameters
123
+
The default primer design parameter is as described in [general_setting.py](https://github.com/Runsheng/primerdiffer/blob/master/primerdiffer/general_settings.py):
124
+
```python
125
+
primer3_general_settings = {
126
+
'PRIMER_OPT_SIZE': 20,
127
+
'PRIMER_PICK_LEFT_PRIMER':1,
128
+
'PRIMER_PICK_RIGHT_PRIMER':1,
129
+
'PRIMER_PICK_INTERNAL_OLIGO': 0,
130
+
'PRIMER_MIN_SIZE': 18,
131
+
'PRIMER_MAX_SIZE': 23,
132
+
'PRIMER_OPT_TM': 57.0,
133
+
'PRIMER_MIN_TM': 46.0,
134
+
'PRIMER_MAX_TM': 63.0,
135
+
'PRIMER_MIN_GC': 20.0,
136
+
'PRIMER_MAX_GC': 80.0,
137
+
'PRIMER_PRODUCT_SIZE_RANGE': [[250, 650]],
138
+
'PRIMER_NUM_RETURN':10,
139
+
'PRIMER_MIN_THREE_PRIME_DISTANCE':10,
140
+
'PRIMER_LIB_AMBIGUITY_CODES_CONSENSUS':0
141
+
}
142
+
```
143
+
The new parameter can be supplemnted as a file with the terms which need to be changed, for example, create a file with name of config.txt
144
+
```python
145
+
# content of config.txt
146
+
# only changed the product size, the others are the same the default
147
+
{'PRIMER_PRODUCT_SIZE_RANGE': [[100, 200]]}
148
+
```
149
+
Run primerdesign.py to design a qPCR primer(product size 100-20bp, use the config.txt for primer3config) for _C. briggsae_ mitochondrial DNA sequence
150
+
[NC_009885.1](https://www.ncbi.nlm.nih.gov/nuccore/NC_009885.1?report=fasta) in any region (use 0:-1 means from the first
151
+
nucleotide to the last); check the _C. briggsae_ genome cb5.fa for false priming, make sure the hit is 0.
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.
124
-
2. To update the RFLP method for primer design to differ sequences with almost identical sequence.
125
-
3. To update the primer design using VCF file for closely related haplotypes.
162
+
1. To update the RFLP method for primer design to differ sequences with almost identical sequence.
163
+
2. To update the primer design using VCF file for closely related haplotypes.
0 commit comments