Score Bundles¶
vartriage requires reference files (gnomAD, ClinVar, CADD, REVEL, SpliceAI, GENCODE) for annotation and classification. The bundle system automates downloading, transforming, and managing these files.
Quick start¶
# List available bundles
vartriage bundle list
# Download ClinVar (smallest, ~80 MB)
vartriage bundle download --bundle clinvar
# Run pipeline using installed bundles
vartriage --vcf input.vcf.gz --output results.json --use-bundles
Available bundles¶
| Bundle | Source | Size | Builds |
|---|---|---|---|
clinvar |
NCBI ClinVar | ~80 MB | GRCh37, GRCh38 |
gnomad-exomes-chr22 |
gnomAD v4.1.1 | ~4.7 GB | GRCh38 |
revel |
REVEL v1.3 | ~2 GB | GRCh38 |
gencode |
GENCODE v46 | ~50 MB | GRCh38 |
spliceai |
SpliceAI (Illumina) | ~30 GB | GRCh37, GRCh38 |
Commands¶
vartriage bundle download¶
Download and transform a reference bundle.
vartriage bundle download --bundle clinvar --build grch38
vartriage bundle download --bundle gnomad-exomes-chr22
vartriage bundle download --bundle revel --no-progress
Options:
--bundle NAME- bundle to download (required)--build BUILD- genome build, default from config (grch38)--dest DIR- custom storage directory--no-transform- download raw file only, skip TSV conversion--no-progress- suppress progress bar
vartriage bundle list¶
Show available bundles and their installation status.
vartriage bundle verify¶
Check integrity of installed bundles.
vartriage bundle status¶
Show installed bundles, versions, and disk usage.
vartriage bundle update-registry¶
Check for registry updates (future: fetch from GitHub releases).
Using bundles with the pipeline¶
Pass --use-bundles to auto-resolve reference paths from installed bundles:
Explicitly passed paths always take precedence over bundles:
# Uses bundle for gnomAD but a custom ClinVar file
vartriage \
--vcf patient.vcf.gz \
--output report.json \
--use-bundles \
--clinvar /path/to/my/clinvar.tsv
Storage layout¶
Bundles are stored at ~/.vartriage/bundles/ by default:
~/.vartriage/
bundles/
grch38/
clinvar/
raw/clinvar.vcf.gz # Original download
clinvar.tsv # Transformed output
manifest.json # Version, checksums, timestamps
gnomad-exomes-chr22/
raw/gnomad.exomes.v4.1.1.sites.chr22.vcf.bgz
gnomad-exomes-chr22.tsv
manifest.json
Override with environment variable:
Configuration¶
Create ~/.vartriage/config.toml for persistent settings:
[bundle]
default_build = "grch38"
download_concurrency = 2
storage_path = "~/.vartriage/bundles"
auto_verify = true
[bundle.proxy]
http_proxy = ""
https_proxy = ""
Chromosome naming¶
The bundle transformers automatically handle chromosome name normalization:
- ClinVar: Adds
chrprefix (ClinVar GRCh38 VCF uses bare names) - gnomAD: Already uses
chrprefix in GRCh38 builds - GENCODE: Already uses
chrprefix
No manual normalization needed when using bundles.
Requirements¶
bcftools(for VCF-to-TSV transformation) ORpysam(Python fallback)wgetorcurl(auto-detected for downloads)- Sufficient disk space (check with
vartriage bundle listbefore downloading)