Overview
When designing primers for molecular diagnostics or research, ensuring species specificity is critical. Primers that bind to multiple species can cause false positives or contamination issues.Prerequisites
- PrimerLab v0.4.2 or later
- Primer sequences (JSON format)
- Target species FASTA template
- (Optional) Off-target species FASTA files
Step 1: Prepare Your Primers
Create a JSON file with your primer pairs:primers.json.
Step 2: Prepare Templates
Target Species (Required)
Create a FASTA file with your target species template:Off-target Species (Optional)
Create FASTA file(s) with species you want to check against:Step 3: Run Species Check
Basic Check
With Off-targets
Step 4: Interpret Results
Console Output
Score Interpretation
| Grade | Score | Meaning |
|---|---|---|
| A | 90-100 | Excellent - highly species-specific |
| B | 80-89 | Good - minor cross-reactivity possible |
| C | 70-79 | Acceptable - some cross-reactivity |
| D | 60-69 | Poor - significant cross-reactivity |
| F | <60 | Fail - primers bind to multiple species |
Output Files
| File | Description |
|---|---|
species_analysis.json | Complete analysis data |
species_report.md | Human-readable summary |
species_analysis.xlsx | Excel matrix (if --format excel) |
Step 5: Using the API
Best Practices
- Include close relatives: Check against phylogenetically close species
- Use complete genes: Longer templates catch more binding sites
- Review warnings: Even “specific” primers may have weak cross-binding
- Consider Grade B acceptable: Perfect specificity (A) isn’t always required
Troubleshooting
No binding detected to target
- Check primer orientation (forward vs reverse)
- Verify sequence quality (no ambiguous bases)
- Lower
min_match_percentin config
Too many off-target warnings
- Redesign primers to avoid conserved regions
- Target species-specific SNP sites
- Lengthen primers for more specificity