Designs primers for each template sequence provided using primer3 (Untergasser et al. 2012). Filters for secondary structure formation within pairs based on primer3 output, where primer pairs are removed if the melting temperature AND deltaG thresholds are not met for hairpins, homodimers, and heterodimers. Outputs primer sequences and details to a table and FASTA file(s)- at this stage, keeplist primers are added to the FASTA.
Important: By default, primers are designed with the Illumina Nextera i5 and i7 adapters attached. If other adapter sequences are desired, use SETTINGS={‘SEQUENCE_OVERHANG_LEFT’: “your_FWD_adapter_sequence”, ‘SEQUENCE_OVERHANG_RIGHT’: “your_REV_adapter_sequence”}
Requires primer3-py Python module
mw-primer-design -t TEMPLATES -o OUT [-l TM_LIMIT] [-d HAIRPINS_DG] [-m MIDDIMERS_DG]
[-e ENDDIMERS_DG] [-k KEEPLIST] [-s SETTINGS] [-b]
import multiplex_wormhole as mw
mw.primer3BatchDesign(TEMPLATES, OUTPATH, Tm_LIMIT=45.0, dG_HAIRPINS=-2, dG_END_LIMIT=-4, dG_MID_LIMIT=-8, KEEPLIST=None, ENABLE_BROAD=False, SETTINGS=None)
| SEQUENCE_ID | SEQUENCE_TEMPLATE | SEQUENCE_TARGET |
|---|---|---|
| CLocus_704 | TCAGAGAC… | 53,1 |
| … | … | … |
The sequence target is in <POSITION,LENGTH> format. In the example, the target for PCR is a 1-bp region (i.e., SNP or indel) at basepair 53. (Required)
{'PRIMER_ANNEALING_TEMP': 52.0, 'SEQUENCE_OVERHANG_LEFT': "tcgtcggcagcgt..."}). If running from the command line, use the format -s '{"PRIMER_ANNEALING_TEMP": "52.0"}'. Setting names and definitions can be found on the primer3 website. Default settings are in lines 72-187 of the primer3_batch_design.py script. (Default: None)OUTPATH.csv : CSV of filtered primer pair details output by primer3, including primerIDs, sequences, amplicon size, start BP within template, primer length, melting temperature, % GC content, proportion bound at annealing temp, 3’ end stability, penalty, and template mispriming.OUTPATH.fa : FASTA of filtered primer pairs.OUTPATH_plusKeeplist.fa : FASTA merging filtered primer pairs with KEEPLIST primer pairs (automatically removes any duplicate names & primers between the KEEPLIST and TEMPLATES).Default settings are largely based on Eriksson et al. (2020). Important ones include:
Eriksson, CE, Ruprecht J, Levi T. 2020. More affordable and effective noninvasive SNP genotyping using high-throughput amplicon sequencing. Molecular Ecology Resources 20(4): doi: 10.1111/1755-0998.13208.
Untergasser, A, Cutcutache, I, Koressaar, T, Ye, J, Faircloth, BC, Remm, M, Rozen SG. 2012. Primer3–new capabilities and interfaces. Nucleic Acids Research: e115. doi: 10.1093/nar/gks596.