Customization Guide
Learn how to customize PrimerLab parameters for your specific research needs.Overview
PrimerLab’s design can be customized at three levels:- Presets — Pre-configured parameter sets
- Config Files — YAML-based configuration
- CLI Overrides — Command-line parameter adjustments
Customizable Parameters
Primer Properties
| Parameter | Config Path | Range | Description |
|---|---|---|---|
| Length | parameters.primer_size | 15-40 bp | Primer length in base pairs |
| Tm | parameters.tm | 45-75°C | Melting temperature |
| GC Content | parameters.gc | 20-80% | Guanine-Cytosine percentage |
Amplicon Properties
| Parameter | Config Path | Typical Values |
|---|---|---|
| Product Size | parameters.product_size_range | [[100, 300]] |
| Max Poly-X | parameters.max_poly_x | 3-5 |
| Max Self-Comp | parameters.max_self_complementarity | 4-8 |
QC Thresholds
| Parameter | Config Path | Recommended |
|---|---|---|
| Hairpin ΔG | qc.hairpin_dg_min | -2 to -4 kcal/mol |
| Dimer ΔG | qc.dimer_dg_min | -5 to -8 kcal/mol |
| Tm Difference | qc.tm_diff_max | 2-5°C |
Overriding Presets
Start with a preset and override specific values:Application-Specific Recommendations
🧬 Clinical Diagnostics
- Short amplicons (80-150 bp) for rapid cycling
- Strict QC to avoid false positives
- Tight Tm range for reproducibility
🔬 Gene Cloning
- Longer primers to accommodate restriction sites
- Higher Tm for added 5’ tails
- Configure restriction sites in
cloningsection
🌿 Environmental DNA (eDNA)
- Lower Tm for degraded templates
- Wide GC range for diverse taxa
- Relaxed QC for challenging samples
📊 qPCR / TaqMan
- Probe Tm should be ~10°C higher than primers
- Avoid G at 5’ end of probe (quenches fluorophore)
- Small amplicons for efficient amplification
Creating Custom Config Files
Step 1: Start from Template
Step 2: Edit Parameters
Openmy_config.yaml and modify as needed.