PrimerLab offers multiple installation methods. Choose the one that best fits your needs:
| Method | Best For | Includes External Tools |
|---|---|---|
| Docker | Zero-setup, cross-platform | ✅ ViennaRNA, BLAST |
| Conda | Bioinformatics users | ✅ ViennaRNA, BLAST |
| Pip | Python developers | ❌ Manual install |
# Pull the image
docker pull ghcr.io/engkinandatama/primerlab-genomic:latest
# Run with your config file
docker run -v $(pwd):/data primerlab-genomic run pcr --config /data/config.yamlNo installation needed - everything is included!
# Clone repository
git clone https://github.com/engkinandatama/primerlab-genomic.git
cd primerlab-genomic
# Create environment (includes ViennaRNA, BLAST)
conda env create -f environment.yml
conda activate primerlab
# Install PrimerLab
pip install -e .For faster install, use Mamba:
mamba env create -f environment.ymlRequires manual installation of system tools.
Linux (Ubuntu/Debian):
# Install system dependencies
sudo apt-get update
sudo apt-get install -y vienna-rna ncbi-blast+ build-essential
# Install PrimerLab
pip install git+https://github.com/engkinandatama/primerlab-genomic.git@v0.9.0macOS:
brew install viennarna blast
pip install git+https://github.com/engkinandatama/primerlab-genomic.git@v0.9.0Windows:
Use WSL (Windows Subsystem for Linux) and follow Linux instructions.
git clone https://github.com/engkinandatama/primerlab-genomic.git
cd primerlab-genomic
pip install -e ".[dev]"primerlab --version
# Output: PrimerLab v0.9.0
primerlab health
# Shows dependency status (ViennaRNA, BLAST, Primer3)primerlab stats input.fastaprimerlab init --workflow pcr --output my_config.yamlprimerlab run pcr --config my_config.yamlResults are saved in the output directory:
result.json- Machine-readable resultsreport.md- Human-readable reportaudit.json- Reproducibility log
# Install build tools first
sudo apt-get install -y build-essential python3-dev# Check if installed
RNAfold --version
# If not, install via apt or conda
sudo apt-get install vienna-rna
# or
conda install -c bioconda viennarna# Check if installed
blastn -version
# If not, install
sudo apt-get install ncbi-blast+- CLI Reference - All available commands
- Configuration - Config file options
- Examples - Example configurations