Repository navigation
Home
Welcome to the VarDictRust documentation portal.
VarDictRust is a fast, memory-safe Rust somatic and germline NGS variant caller that delivers 100% byte-identical output to VarDictJava v1.8.3 by default (--compat=vardictjava / --parity)—with opt-in v1.1+ --compat=off (CompatProfile, 49 correctness switches), --preset wgs|wes|amplicon|ctdna|hifi|ont clinical and long-read workflow presets, --orientation-bias F1R2/F2R1 FFPE/8-oxoG filtering, --noise-model Beta-Binomial polymer-stutter filtering, --methylation cis-CpG 5mC+5hmC annotation, and --vcf-all-alleles multi-allelic VCF emission—while consolidating the Java→R→Perl pipeline (plus native multithreaded BGZF and .tbi/.csi indexing) into a single statically-compiled binary that scales to deep whole-genome sequencing (WGS). Built under the rewrites.bio manifesto.
- README — Executive overview, performance scoreboards, quickstart commands, and installation.
-
Installation Guide — Pre-built static/native binaries (
cargo-distSLSA Level 3), Cargo install, Seqera Wave containers (Docker/Podman/Apptainer), Conda/Bioconda (conda/mamba/pixi), and Nextflow (nf-core/modules). -
Usage Recipes & Modalities — Beginner
v1.1+--preset wgs|wes|amplicon|ctdna|hifi|ontquickstart alongside Diátaxis recipes for Germline WGS, Somatic Tumor-Normal, Targeted Amplicon (-a/-sp), RNA-seq Splicing (-i), UNIX/BGZF streaming pipelines (--output,--tbi/--csi), and--compat=off+--vcf-all-allelescalling. -
Migration Guide — Side-by-side Rosetta Stone from
VarDictJava+ R + Perl (var2vcf_valid.pl/var2vcf_paired.pl) pipelines to single-binaryvardictrust. -
CLI Parameter Reference — Complete 95-flag reference across 7 functional groups, including
--compat=vardictjava|off,--preset wgs|wes|amplicon|ctdna|hifi|ont,--orientation-bias[=MAX_AF:MIN_SOB:MAX_OBP|annotate],--noise-model[=MAX_ERRP|annotate|off],--methylation,--amplicon-single-primer(-sp), all 18/18 consolidatedvar2vcf_*.plpost-filters (--vcf-all-alleles), and native BGZF/.tbi/.csioutput flags. - Contributing Guidelines & Release Runbook — Development prerequisites, code style, pre-commit hygiene, test harnesses, and release process.
- Omnibus Empirical Validation — Comprehensive 9-pillar validation manuscript covering the Master 10-Cohort Roster, NIST v4.2.1 HG002 benchmark, 17 extended modalities, and 18 multi-modal slices.
-
92-Chromosome Parity Suite (v1.0.7) — Per-chromosome parity receipt (
92 / 92 MATCH, 0 diffs) across 5 cohorts, including full 22-autosomeGIAB HG002WGS (8,111,171variants, byte-identicalrtg vcfevalvsVarDictJava v1.8.3). -
Ground Truth Concordance — Precision, recall, and F1 concordance benchmarks evaluated with RTG
vcfeval(HG002, HG005, NA24385 b37, HG008, SEQC2). -
Extended Modalities & SVs — RNA-seq splicing (
-i), CRISPR (-J/-j),<INV>,<DUP>, and operational flags. - Multi-Modal Public Cohorts — 18 slices across 6 public sequencing cohorts (HG005, NA24385 b37, NA12878, COLO829, HCC2218, SEQC2).
- Benchmark Evidence Ledger — 16 release evidence artifacts, hardware specifications, and scaling metrics.
- Divergences & Bug Tracking — Categorized audit of VarDictJava quirks, edge cases, and deterministic HashMap emulation.
-
Upstream Bug Catalog — Consolidated catalog of upstream VarDictJava v1.8.3 defects preserved by default (
--compat=vardictjava:UB-1throughUB-7output-affecting, plus environmentalUB-8) and their opt-in--compat=off/--vcf-all-allelesresolutions. - Ecosystem Survey — Comparative survey of modern NGS variant callers (Mutect2, Strelka2, Octopus, VarDictJava) and rewrites.bio principles.
- Comprehensive Test Matrix & CI Audit — 7-tier test architecture, 934 cargo unit/integration tests, and CI workflows.
- Test Harness Documentation — Architecture of Tier-1/Tier-2 comparators, 37 self-tests, and cluster etiquette guidelines.
-
v1.2.0 Release PR Specification — Release manifest, cryptographic fingerprints, and certification (
v1.1.0indocs/release/v1.1.0-pr.md,v1.0.10indocs/release/v1.0.10-pr.md,v1.0.9indocs/release/v1.0.9-pr.md,v1.0.8indocs/release/v1.0.8-pr.md,v1.0.7indocs/release/v1.0.7-pr.md,v1.0.6indocs/release/v1.0.6-pr.md,v1.0.5indocs/release/v1.0.5-pr.md,v1.0.4indocs/release/v1.0.4-pr.md,v1.0.3indocs/release/v1.0.3-pr.md,v1.0.1indocs/release/v1.0.1-pr.md,v1.0.0indocs/release/v1.0.0-pr.md).
-
ROADMAP — Governance for
v1.1+opt-in--compat=vardictjava|off(CompatProfile: all 49 accuracy, SV/mate-pileup/VCFv4.2-BND-interop, somatic multi-allelic/amplicon/split-reconciliation/LOH, spliced RNA-Seq overhang/stutter, outer hard-clip, depth/strand/mate-overlap/MNV/Welford-SD accounting, 5' left-alignment, IUPAC/VCFv4.2 schema,fgumi/fgbioconsensus-BAM/CRAM, and SAM=/Xswitches),--preset wgs|wes|amplicon|ctdna|hifi|ont,--noise-model,--methylation,--orientation-bias,--vcf-all-alleles,--amplicon-single-primer(-sp), and plannedv2.0in-caller UMI collapsing and learned orientation priors. -
Universal Agent Contract — Engineering rules, coordinate indexing, no-panic mandate, definition of done, and repository Agent Skills (
vardictrust-issue,vardictrust-pr,vardictrust-profiling,vardictrust-release).