Skip to main content
Run a primer design workflow.

Synopsis

primerlab run <workflow> [options]

Arguments

ArgumentRequiredDescription
workflowYesWorkflow type: pcr, qpcr, or crispr

Options

OptionShortDescription
--config-cPath to configuration YAML file
--out-oOverride output directory
--debugEnable debug logging
--dry-runValidate config without running
--export-eExport formats (comma-separated)
--mask-mRegion masking mode
--quiet-qSuppress warnings (v0.1.6)
--validate-VRun in-silico PCR validation (v0.2.3)
--blastRun off-target check (v0.3.1)
--blast-dbPath to BLAST database
--report-RGenerate enhanced report (v0.3.3)
--report-formatReport format: markdown, html, json
--report-outputReport output path

Examples

Basic PCR Design

primerlab run pcr --config my_pcr.yaml

qPCR with TaqMan Probe

primerlab run qpcr --config my_qpcr.yaml

With Masking

# Auto-detect lowercase and N-masked regions
primerlab run pcr --config my_pcr.yaml --mask auto

Export to Multiple Formats

primerlab run pcr --config my_pcr.yaml --export idt,benchling

Quiet Mode (v0.1.6)

# Suppress warnings for scripted pipelines
primerlab run pcr --config my_pcr.yaml --quiet

Dry Run

# Validate config without running
primerlab run pcr --config my_pcr.yaml --dry-run

With In-silico Validation (v0.2.3)

# Design + validate primers against template
primerlab run pcr --config my_pcr.yaml --validate

With BLAST Off-target Check (v0.3.1)

# Design + check off-targets
primerlab run pcr --config my_pcr.yaml --blast --blast-db genome.fasta

With Report Generation (v0.3.3)

# Generate enhanced HTML report
primerlab run pcr --config my_pcr.yaml --report --report-format html --report-output report.html

Mask Modes

ModeDescription
autoDetect both lowercase and N-masked regions
lowercaseOnly detect lowercase (RepeatMasker) regions
nOnly detect N-masked regions
noneNo masking (default)

Export Formats

FormatDescription
idtIDT ordering format
sigmaSigma-Aldrich format
thermoThermo Fisher format
benchlingBenchling CSV import
xlsxExcel spreadsheet