Skip to content
github-actions[bot] edited this page Dec 2, 2026 · 48 revisions

VarDictRust Documentation Portal

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.


Quick Navigation

1. Getting Started & User Guide

  • README — Executive overview, performance scoreboards, quickstart commands, and installation.
  • Installation Guide — Pre-built static/native binaries (cargo-dist SLSA 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|ont quickstart 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-alleles calling.
  • Migration Guide — Side-by-side Rosetta Stone from VarDictJava + R + Perl (var2vcf_valid.pl / var2vcf_paired.pl) pipelines to single-binary vardictrust.
  • 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 consolidated var2vcf_*.pl post-filters (--vcf-all-alleles), and native BGZF/.tbi/.csi output flags.
  • Contributing Guidelines & Release Runbook — Development prerequisites, code style, pre-commit hygiene, test harnesses, and release process.

2. Empirical Validation & Parity

  • 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-autosome GIAB HG002 WGS (8,111,171 variants, byte-identical rtg vcfeval vs VarDictJava 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.

3. Architecture & Methodology

  • 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-1 through UB-7 output-affecting, plus environmental UB-8) and their opt-in --compat=off / --vcf-all-alleles resolutions.
  • Ecosystem Survey — Comparative survey of modern NGS variant callers (Mutect2, Strelka2, Octopus, VarDictJava) and rewrites.bio principles.

4. Testing, Harness & Quality Assurance

5. Project Roadmap & Governance

  • 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/fgbio consensus-BAM/CRAM, and SAM =/X switches), --preset wgs|wes|amplicon|ctdna|hifi|ont, --noise-model, --methylation, --orientation-bias, --vcf-all-alleles, --amplicon-single-primer (-sp), and planned v2.0 in-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).