PCR Primer Design Guide
A complete walkthrough of the PCR primer design workflow.Overview
This guide covers:- Configuration setup
- Running the design
- Understanding output
- Validating primers
- Exporting for ordering
1. Prepare Your Sequence
PrimerLab accepts sequences in two ways: Option A: Inline sequence2. Configure Parameters
Createpcr_config.yaml:
Parameter Recommendations
| Application | Product Size | Tm | Notes |
|---|---|---|---|
| Cloning | 200-2000 bp | 58-62°C | Standard |
| Colony PCR | 300-1000 bp | 55-60°C | Fast cycling |
| Long-range | 2000-10000 bp | 62-68°C | Long primers |
| Diagnostic | 100-500 bp | 58-62°C | Specific |
3. Run the Design
Available Options
| Flag | Purpose |
|---|---|
--out | Custom output directory |
--export | Generate ordering files |
--report | Generate enhanced report |
--mask auto | Exclude repeat regions |
--validate | Run in-silico PCR |
--blast | Check off-targets |
4. Understand the Output
Output Files
| File | Description |
|---|---|
primers.json | Full results with all metrics |
report.md | Human-readable summary |
primers_idt.csv | IDT ordering format |
audit.json | Design parameters used |
Primer Quality Scores
Each primer pair receives a score (0-100) based on:| Factor | Weight | Criteria |
|---|---|---|
| Tm match | 25% | Closeness to optimal |
| GC content | 20% | Within 40-60% |
| Self-dimer | 20% | ΔG > -5 kcal/mol |
| Hairpin | 15% | ΔG > -2 kcal/mol |
| 3’ stability | 20% | No runs of G/C |
5. Validate Primers
In-silico PCR
Verify primers amplify the correct region:Off-target Check
Check specificity against a genome:Compatibility Check
Verify no primer dimers:6. Export for Ordering
Generate files for synthesis vendors:Supported Vendors
| Vendor | Format | Notes |
|---|---|---|
| IDT | CSV | Includes scale/purification |
| Sigma | CSV | Ready for upload |
| Thermo | XLSX | Excel format |
| Benchling | CSV | API-compatible |
Complete Example
Troubleshooting
No primers found- Relax constraints (wider Tm range, larger product size)
- Check sequence for repeat regions (
primerlab stats gene.fasta)
- Sequence may have challenging regions (high GC, repeats)
- Try
--mask autoto avoid problematic areas
- Run
primerlab check-compaton results - Choose pairs with higher compatibility scores
Next Steps
- qPCR Design — Add TaqMan probes
- Batch Processing — Design for multiple genes
- Nested PCR — Increased specificity
- Multiplex PCR — Multiple targets
- Species Specificity — Pathogen detection