Skip to content

Release v1.1.0: Opt-In --compat=off (32-Switch CompatProfile), Clinical Workflow Presets (--preset), --vcf-all-alleles, -sp Amplicon Mode, Pure MIT Licensing, and 807-Test Suite

[!NOTE] Historical Release Document: This document records the release certification for v1.1.0 (engine fingerprint b18477ae0a7b07c1). For the current v1.2.0 release certification, see docs/release/v1.2.0-pr.md.

Target Branch: main
Source Branch: release/v1.1.0
Release Fingerprint: b18477ae0a7b07c1 (perf_fingerprint 5c41be8047133842)
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 (b18477ae0a7b07c1): 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.1.0 off main, consolidating all v1.1.0 governance, accuracy, clinical workflow, performance, fuzzing, and pure-MIT licensing engineering pull requests since v1.0.10 (PR #142–PR #157, PR #159, and PR #161):

  1. Dual-Mode --compat=vardictjava|off Governance & All 32 CompatProfile Correctness Switches (PR #152, PR #153, PR #156, PR #157, PR #159):
  2. Preserves 100% byte-for-byte VarDictJava v1.8.3 (0886261) + VarDict (009e017) parity by default (--compat=vardictjava, aliases vardictjava-1.8.3 / 1.8.3 / --parity) across all 92 Tier-1 fixtures, 17 Tier-2 benchmarks, and 5 Tier-3 truth cohorts with zero per-bug --fix CLI flag sprawl.
  3. Ships 32 opt-in correctness switches activated together by --compat=off (CompatProfile, stamping ##VarDictRustCompat=off in VCF headers): sanitize_sample_info (AstraZeneca-NGS/VarDictJava#116), standard_dup_symbolic_alt (AstraZeneca-NGS/VarDictJava#342), shift3_3prime_alleles (AstraZeneca-NGS/VarDictJava#292), strict_region_bounds (AstraZeneca-NGS/VarDictJava#369), suppress_pileup_sentinels (UB-1/UB-2), live_duprate, preserve_mixed_sex_contigs, cigar_homopolymer_merge (AstraZeneca-NGS/VarDictJava#402), eqx_cigar_read_length (minimap2 --eqx SAM =/X), preserve_discordant_svs (UB-5), mark_dup_sv_inclusive_end (UB-6), sv_lazy_mate_pileup, exact_binary_half_even, reconcile_vd_dp (AstraZeneca-NGS/VarDictJava#92/AstraZeneca-NGS/VarDictJava#386/AstraZeneca-NGS/VarDictJava#400), coordinate_sorted_vars (UB-3/AstraZeneca-NGS/VarDictJava#282), exact_35_overlap, exact_cigar_dlen_match, somatic_continue_after_bad_var (joachimwolff/VarDictJava#4/clintval/vartovcf#139), adaptor_all_consensus_dirs (AstraZeneca-NGS/VarDictJava#240/AstraZeneca-NGS/VarDict#119), canonical_sv_vcf_anchoring (AstraZeneca-NGS/VarDictJava#398/clintval/vartovcf#192), paired_somatic_amplicon (AstraZeneca-NGS/VarDictJava#378), cigar_strip_outer_hard_clips (AstraZeneca-NGS/VarDictJava#341/AstraZeneca-NGS/VarDictJava#103), nonnegative_subtracted_means (bcbio/bcbio-nextgen#1704), reconcile_strand_and_hq_sums (AstraZeneca-NGS/VarDictJava#316/clintval/vartovcf#120), reconcile_rd_vd_dp (AstraZeneca-NGS/VarDict#168/AstraZeneca-NGS/VarDictJava#323), sanitize_iupac_alt_alleles (AstraZeneca-NGS/VarDictJava#267/bcbio/bcbio-nextgen#3321), sv_respect_min_len (AstraZeneca-NGS/VarDictJava#328/AstraZeneca-NGS/VarDict#157), pileup_preserve_shifted_ref (AstraZeneca-NGS/VarDictJava#330), recompute_vartype_after_adj_complex (clintval/vartovcf#109), strict_vcf_ad_number_r (clintval/vartovcf#101/EBIvariation/vcf-validator#99), omit_nonsv_vcf_end (clintval/vartovcf#105), and canonical_vcf_gt (clintval/vartovcf#99/AstraZeneca-NGS/VarDictJava#344).
  4. Clinical Workflow Presets (--preset), Multi-Allelic VCF (--vcf-all-alleles), Single-Primer Amplicon (-sp), & 92-Flag CLI Surface (PR #152, PR #157, PR #159, PR #161):
  5. Adds --preset <wgs|wes|amplicon|ctdna> (##VarDictRustPreset=<PRESET> + COMPAT_OFF, 0-based BED coordinates with 1-based -R preservation, UCSC BED8 SimpleMode protection, paired somatic Q20 FILTER deduplication, and full explicit-CLI override precedence), --vcf-all-alleles (--all-alleles, hidden alias --vcfall, completing 18/18 var2vcf_*.pl post-filters via UB-7 multi-allelic emission), --amplicon-single-primer (-sp for QIAseq V3 / ArcherDX SPE panels, AstraZeneca-NGS/VarDictJava#303), hidden vardictcpp v2..v4 drop-in CLI aliases (--vcfall, --noend, --vcfpass, --vcf), and ungated --csi spanning-SV LinearIndex loffset propagation (clintval/vartovcf#161), validated across 19 real-world public clinical gates (verify_presets_public_data.sh, verify_wave4_public_data.sh, verify_wave5_public_data.sh).
  6. Cleanroom Pure-MIT Hypergeometric Engine, Zero-Diff CPU/RAM Optimizations, 8-Target Fuzzing, & 807-Test Suite (PR #144, PR #148–PR #151, PR #156):
  7. Replaces copyleft R-derived hypergeometric tail routines with a cleanroom MIT Loader (2000) / NIST DLMF §5.11.1 saddlepoint + f80 engine (stats::hypergeom, 0 diffs across 15,747 Fisher oracle rows), restoring pure MIT SPDX licensing across vardictrust-core and vardictrust (Cargo.toml, LICENSE, CITATION.cff, and Phase 3A packaging/bioconda/recipes/vardictrust/meta.yaml 1.1.0), while staging the automated 1.1.0+ pure-MIT Nextflow module transition in prepare_nfcore_pr.sh for Phase 3B (packaging/nf-core/modules/vardictrust/, which remains pinned to 1.0.10 in-tree until Anaconda linux-64 and linux-aarch64 1.1.0 packages are indexed).
  8. Lands zero-diff CPU, heap, and paired CRAM memory optimizations (Cow<'_, Vars>, streaming AmpliconCoverSweep, watermarked 2-bit SeedTable12/SeedTable17, regex-free CigarModifier cursor scanners, FlowState byte-weighted scheduling, CramContigPinGuard, 4 × 40 MiB LRU CRAM_CONTAINER_CACHE), restores 9 subtle Java/Perl valid-input parity edge cases ($FREQ raw string formatting, split-tile multi-BAM continuity, -i splice trajectory replay, #172 BED 3'_UTR apostrophes, #393 .fai bounds fail-fast), enforces a zero-exception 11-lint + #![forbid(unsafe_code)] workspace ratchet, expands cargo-fuzz to 8 targets, and grows the Cargo workspace test suite from 691 to 807 tests (156 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 b18477ae0a7b07c1 (perf_fingerprint 5c41be8047133842):

item 1: PASS (Unit tests: 807 total workspace tests: 580 lib + 110 corpus_parity + 42 engine_behavior + 2 amplicon_stream_mem + 3 cram_stack + 35 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.1.0, musl-ci PASS)
fingerprint b18477ae0a7b07c1

Key Documentation & Validation Artifacts