Skip to content

Release v1.2.0: Opt-In --compat=off Expansion (42-Switch CompatProfile & fgumi Consensus Interop), --orientation-bias FFPE/8-oxoG Filtering, --preset hifi|ont Long-Read Calling, 16-Modality Omnibus, and 890-Test Suite

Target Branch: main
Source Branch: release/v1.2.0
Release Fingerprint: 729cf0f46bd30c4b (perf_fingerprint f9c16b67b237e9c6)
Repository: https://github.com/palakpsheth/VarDictRust
Author / Maintainer: Palak Sheth palakpsheth@gmail.com
Governing Manifesto: rewrites.bio
Acceptance Gate: 8/8 Items PASS (harness/acceptance.sh)
Release Recertification Receipt (729cf0f46bd30c4b): validated vs VarDictJava 1.8.3, dataset micro + s1a-s9 + 17-modality extended + 18-slice multimodal + HG008/SEQC2/HG002(chr20)/Amplicon + 5 truth cohorts + chr1 scale, cmd bash harness/recertify.sh && bash harness/pr_check.sh && bash harness/acceptance.sh


Overview

This pull request prepares and certifies VarDictRust v1.2.0 off main (f0dd0e2), consolidating all merged post-v1.1.0 accuracy, consensus-UMI, FFPE orientation-bias, PacBio HiFi / ONT long-read, split-tile seam hardening, omnibus public-data verification, and evaluation manuscript pull requests (PR #163–PR #169, PR #171, and PR #172):

  1. Consensus-UMI Interop (Switch 42), Read-Pair Orientation Bias (--orientation-bias), Long-Read Presets (--preset hifi|ont), & 93-Flag CLI Surface (palakpsheth/VarDictRust#96, PR #172):
  2. Adds Switch 42 (CompatProfile::consensus_bam_compat) under --compat=off and --preset, decoding fgumi / fgbio cD:i / aD:i / bD:i / MI:Z consensus tags across BAM/SAM and CRAM without heap allocation, neutralizing SAMtags §1.5 aligned-query 'N'/'n' NM inflation across CigarParser, CigarModifier, and mismatch pre-scanners (-m), keying -t DupKey deduplication on MI molecular identifiers, and distributing double-strand duplex (aD >= 1 && bD >= 1) observations evenly onto min(f1r2, f2r1).
  3. Adds --orientation-bias[=MAX_AF:MIN_SOB:MAX_OBP|annotate] (0.10:0.80:0.01 when bare; =annotate emits annotations without filtering), computing per-sample FORMAT/F1R2 and FORMAT/F2R1 counts, INFO/SOB, two-sided 2x2 Fisher's exact INFO/OBP (output::vcf::fisher_two_tailed_p over (ref_f1r2, ref_f2r1, alt_f1r2, alt_f2r1)), and FILTER=OrientationBias to suppress low-AF FFPE cytosine deamination and 8-oxoG oxidative artifacts (93 CLI flags across 7 functional groups).
  4. Adds --preset hifi and --preset ont to WorkflowPreset, configuring 25 kbp tile halos, 163,840 bp split-tile seam retention windows, quantized >= 64 KiB ONT-UL overhang FASTA chunks, 10 kbp effective_realign_window, span-proportional effective_max_mismatches, 2,048 bp Sclip caps ((10..=99)S bypass), and 2,000 bp find_bp_with_mode breakpoint windows while leaving --vcf-max-nm unset unless explicitly supplied.
  5. Wave-6 (Switches 33–38) & Wave-7 (Switches 39–41) CompatProfile Expansion (32 -> 42 Switches) & Waves 1–6 Seam/Somatic Hardening (palakpsheth/VarDictRust#160, PR #166, PR #167, PR #168, PR #169, PR #171):
  6. Preserves 100% byte-for-byte VarDictJava v1.8.3 (0886261) + VarDict (009e017) parity by default (--compat=vardictjava / --parity) across all 92 Tier-1 fixtures, 17 Tier-2 benchmarks, and 5 Tier-3 truth cohorts with zero per-bug --fix flags.
  7. Graduates Wave-6 (Switches 33–38) (sclip_majority_count_first VariationUtils.java:90, mate_overlap_both_strands Clinical-Genomics/BALSAMIC#1396/AstraZeneca-NGS/VarDictJava#239, canonical_vcf_complex_left_align AstraZeneca-NGS/VarDictJava#264/mskcc/vcf2maf#279, somatic_reconcile_split_alleles clintval/vartovcf#191/clintval/vartovcf#195, adj_snv_full_sclip_match clintval/vartovcf#181/clintval/vartovcf#186, and indel_only_shift3 AstraZeneca-NGS/VarDictJava#263/clintval/vartovcf#117) and Wave-7 (Switches 39–41) (somatic_loh_homozygous_alt SomaticPostProcessModule.java:221,238, mnp_exact_right_fold clintval/vartovcf#101/clintval/vartovcf#155/clintval/vartovcf#160, and strict_unspanned_lgins_stitch VariationRealigner.java:1872-1960/AstraZeneca-NGS/VarDictJava#363) into CompatProfile (42 total switches under --compat=off).
  8. Hardens split-tile seam ownership (origin_pos ownership, O(N) FxHashMap seam dedup, hold_from repeat-straddle guards, spanning-deletion and parent-BED-clamped find_sv ref_coverage conservation, Variation::tile_planted distant-mate SVs / backward-overhang deletions, distinct-END symbolic SV retention across SpillableVcfAccumulator disk spills, and ClusterNbp SV exemption), post-realignment finalize_overlap_strand_rebalance + -u insertion strand-shortfall conservation, low-purity 0 < vd1 < vd2 tumor 0/1 rescues, explicit -r/-q --preset floor relaxation, subnormal Fisher tails, leading-gap window-0 --csi loffset backfills, and zero-diff realign::is_match / is_match_ref slice fast-paths.
  9. 16-Modality Public-Data Omnibus, 42-Switch Ablation, Portable CI Gate, Manuscript Expansion, & 890-Test Suite (PR #163–PR #165, PR #169, PR #172):
  10. Consolidates real-world sequencing validation into stdlib-only harness/verify_public_data.py across 16 sequencing modalities (fgumi 0.9.0 duplex TP53 & QIAseq SPE, 24h FFPE FDA SEQC2, NIST GIAB HG002 PacBio Revio HiFi & PromethION ONT-UL, GIAB HG008 somatic ONT & WGS, GIAB CMRG, COLO829, HCC2218, NA12878 SV/RNA, Illumina PE & Ion Torrent amplicon, and 0.5% VAF ctDNA) with 42/42 only_1..42 & loo_1..42 CompatProfile ablation and Tiled == Untiled / Spill == Unspilled gates.
  11. Adds < 12s zero-JVM harness/run_portable_invariants.sh to pr_check.sh and differential.yml, upgrades all 8 ASan cargo-fuzz targets to 42-bit CompatProfile::from_mask + WorkflowPreset coverage (2,371,876 executions across 8/8 targets in harness/run_deep_fuzz.sh with 0 crashes/artifacts), syncs the pure-MIT v1.1.0 Bioconda recipe and v1.1.0 clinical study manuscript (Figure 9, Table 9, Supplementary Table S7) plus beginner --preset quickstart, and expands the Cargo workspace test suite from 807 to 890 tests (159 Python harness tests across 37 diagnostic scripts).

Acceptance Gate & PR Check Certification

Both bash harness/pr_check.sh (6/6 stages) and bash harness/acceptance.sh (8/8 items) pass under certified engine fingerprint 729cf0f46bd30c4b (perf_fingerprint f9c16b67b237e9c6):

item 1: PASS (Unit tests: 890 total workspace tests: 649 lib + 110 corpus_parity + 53 engine_behavior + 2 amplicon_stream_mem + 3 cram_stack + 38 cli + 3 profile_smoke + 31 robustness + 1 version)
item 2: PASS (Level 2: 91/92 static expected matches + UB-4 isolated; micro live oracle smoke.sh PASS)
item 3: PASS (Level 3: 17/17 benchmarks MATCH: micro + 10 slices + HG008 + SEQC2 exome + SEQC2 slices + HG002 + Amplicon + 17-mode extended + 18-slice multimodal)
item 4: PASS (Robustness: crash corpus + HG008 CRAM twin PASS)
item 5: PASS (Level 5 Scale & Perf-Budget PASS)
item 6: PASS (Level 4 Truth set: HG008, SEQC2, HG002, HG005, NA24385 b37 EQUAL across all 5 cohorts)
item 7: PASS (Hygiene: fmt, clippy, audit, deny, gitleaks 0 leaks)
item 8: PASS (Distribution: --version metadata 1.2.0, musl-ci PASS)
fingerprint 729cf0f46bd30c4b

Key Documentation & Validation Artifacts