VarDictRust Roadmap¶
VarDictRust v1.0.0 replicates VarDictJava v1.8.3 output byte-for-byte on valid inputs, including the upstream behaviors documented in DIVERGENCES.md and docs/upstream-bugs.md.
To keep end-user CLI ergonomics simple while guaranteeing that rigorously tested VarDictJava v1.8.3 parity can always be reproduced, post-1.0 evolution follows a bwa-mem3-Style --compat=<vardictjava|off> Compatibility & SemVer Model (Choice 1A, tracked in VarDictRust#94):
- v1.0.x (Parity Baseline): Parity-only execution; all invocations are 100% byte-identical to VarDictJava v1.8.3, and explicit --parity (--compat vardictjava-1.8.3) landed in v1.0.8 (PR #102, VarDictRust#94 Phase 1a) so production pipelines could forward-compatibly pin v1.8.3 parity.
- v1.1.x–v1.2.x (v1.1.0+): Default invocations remain 100% byte-identical to VarDictJava v1.8.3 + var2vcf_*.pl (--compat=vardictjava by default, accepting aliases vardictjava-1.8.3 and 1.8.3 plus the --parity shorthand). Introduces opt-in --compat=off (COMPAT_OFF, stamping ##VarDictRustCompat=off in VCF headers) to activate bonafide correctness fixes via the #[non_exhaustive] CompatProfile struct (crates/vardictrust-core/src/config.rs) without CLI flag explosion (zero per-bug --fix <id> CLI flags), alongside 18/18 var2vcf_*.pl flag parity via --vcf-all-alleles / --all-alleles, F1R2/F2R1 orientation-bias filtering via --orientation-bias, calibrated Beta-Binomial polymer-stutter filtering via --noise-model[=MAX_ERRP|annotate|off] (enabled by default on --preset hifi|ont), cis-CpG 5mC+5hmC epigenetic annotation via --methylation, clinical and long-read workflow presets via --preset <wgs|wes|amplicon|ctdna|hifi|ont> (##VarDictRustPreset=<PRESET>), single-primer extension amplicon support via --amplicon-single-primer / -sp, and hidden vardictcpp v2..v4 drop-in CLI aliases (--vcfall, --noend, --vcfpass, --vcf) (95 total CLI flags across 7 functional groups).
- v2.0.0+: Evaluates promoting --compat=off to the default out-of-the-box behavior after community concordance review, while --compat=vardictjava (and --parity) permanently reproduces exact VarDictJava v1.8.3 byte-for-byte behavior with a single flag.
Under the hood, each individual correction is represented as an explicit field on CompatProfile (#[non_exhaustive]) and lands in COMPAT_OFF (--compat=off) only with:
1. A reproducible testcase demonstrating VarDictJava v1.8.3 behavior.
2. A dedicated unit test in crates/vardictrust-core exercising both COMPAT_VARDICTJAVA_1_8_3 and COMPAT_OFF.
3. A Tier-1 intermediate table and Tier-2 differential test run proving --compat=vardictjava (and default CLI output across all v1.x releases) remains byte-identical to v1.0.0 across all regression suites.
4. A diff-confinement proof verifying that each CompatProfile switch under --compat=off alters only targeted records, produces zero off-target diffs, and maintains Tier-3 truth concordance (see Master Test Matrix).
v1.1.x–v1.2.x CompatProfile (--compat=off), --orientation-bias & --vcf-all-alleles Catalog¶
v1.1.x–v1.2.x ships 49 CompatProfile switches (1..7 Wave 1 + 8..13 Wave 2 + 14..17 Wave 3 + 18..21 Wave 4 + 22..32 Wave 5 in v1.1.0, closing palakpsheth/VarDictRust#95 6/6 and palakpsheth/VarDictRust#158, 33..38 Wave 6, 39..41 Wave 7, 43..48 Wave 8, and 49 Phase-2 SV/BND interop completing palakpsheth/VarDictRust#160, plus 42 from palakpsheth/VarDictRust#96) under --compat=off (COMPAT_OFF, stamping ##VarDictRustCompat=off in VCF headers) plus 18/18 var2vcf_*.pl post-filter flag parity via --vcf-all-alleles (alias: --all-alleles, hidden vardictcpp alias: --vcfall), F1R2/F2R1 orientation-bias filtering via --orientation-bias, Beta-Binomial polymer-stutter filtering via --noise-model, cis-CpG 5mC+5hmC annotation via --methylation, single-primer extension amplicon support via --amplicon-single-primer (-sp), and clinical/long-read workflow presets via --preset wgs|wes|amplicon|ctdna|hifi|ont (completing the 95-flag CLI surface across 7 functional groups while keeping -A <INT> as VarDictJava's sv_min_af [default: 4]):
1. AstraZeneca-NGS/VarDictJava#116 / AstraZeneca-NGS/VarDict#197 (sanitize_sample_info): Bijective VCF 4.2 percent-encoding on INFO/SAMPLE=... (%, ;, =, ,, whitespace/control, "" -> -, - -> %2D, . -> %2E).
2. AstraZeneca-NGS/VarDictJava#342 (standard_dup_symbolic_alt): Standard <DUP> symbolic ALT and non-negative i64 span when mlen < 100 (including -L <= 100), plus unified homozygous genotype1 <DUP> span (2 * SVFLANK + dup_val, ToVarsBuilder.java:619 vs :700).
3. AstraZeneca-NGS/VarDictJava#292 / AstraZeneca-NGS/VarDictJava#395 / AstraZeneca-NGS/VarDict#25 / AstraZeneca-NGS/VarDict#183 / AstraZeneca-NGS/VarDict#196 (shift3_3prime_alleles): FASTA-valid 3'-shifted (-3) deletion/insertion REF/ALT alleles with CRISPR double-shift guard.
4. AstraZeneca-NGS/VarDictJava#369 / AstraZeneca-NGS/VarDictJava#137 (strict_region_bounds): Merged-interval target bounds enforcement (start_pos >= 1 within requested intervals).
5. UB-1/UB-2 (suppress_pileup_sentinels): Suppress -p pileup <R,R>/N/N zero-depth sentinel rows in Simple and Amplicon modes.
6. AstraZeneca-NGS/VarDictJava#387 (live_duprate): Live u64 DUPRATE from RecordPreprocessor duplicate/total read counts across untiled and split-tile runs.
7. AstraZeneca-NGS/VarDict#185 / AstraZeneca-NGS/VarDict#191 (preserve_mixed_sex_contigs): Mixed sex/mitochondrial contig preservation (X+chrX, Y+chrY, MT+chrM) + strict total order on chrom_compare.
8. AstraZeneca-NGS/VarDictJava#402 / hedera-dx/VarDictJava@17d1cb51 (cigar_homopolymer_merge): Absorb negative trailing M (rm < 0) into rdoff_corr during homopolymer multi-indel merges in CigarModifier, returning Err(JavaThrows) immediately if rdoff_corr <= 0 (AstraZeneca-NGS/VarDictJava#402).
9. eqx-read-length (eqx_cigar_read_length): Treat = (SequenceMatch) and X (SequenceMismatch) CIGAR operators equivalently to M (Match) across read-length, CIGAR coalescing, realignment, dedup, and prescan paths (CigarParser.java:1605-1629, 1990-1991).
10. ub5 (preserve_discordant_svs): Preserve single-sample symbolic SVs (<DUP>, <INV>, <DEL>) with spanpairs > 0 when splitreads == 0 unless --min-splitreads was explicitly overridden (UB-5).
11. ub6 (mark_dup_sv_inclusive_end): Pass pre-decrement cluster end mark_pe (pe + 1 vs post-decrement pe) to mark_dup_sv in svfdup when tbp != 0 && tbp < pe (UB-6).
12. AstraZeneca-NGS/VarDictJava#370 (sv_lazy_mate_pileup): Gate find_inv_sub_paths mate-window loads on local >= 12 bp soft-clip presence and defer partial_pipeline_paths until find_match_rev + gap validation succeed (StructuralVariantsProcessor.java:519-675).
13. rounding-underflow-tie (exact_binary_half_even): Bypass OpenJDK DecimalFormat DigitList fixed-point underflow truncation (±5e-{4,5,6,9}) so exact binary IEEE-754 f64 values round up to ±10^-d (Utils.java:101-103).
14. AstraZeneca-NGS/VarDictJava#92/AstraZeneca-NGS/VarDictJava#137/AstraZeneca-NGS/VarDictJava#323/AstraZeneca-NGS/VarDictJava#386/AstraZeneca-NGS/VarDictJava#400/AstraZeneca-NGS/VarDict#113/AstraZeneca-NGS/VarDict#189 (reconcile_vd_dp): Enforce VD <= DP, AF <= 1.0, ADJAF <= 1.0, and HICNT <= HICOV (HIAF <= 1.0) across all variant types (ToVarsBuilder.java:391-395, 868).
15. UB-3/AstraZeneca-NGS/VarDictJava#282/AstraZeneca-NGS/VarDictJava#390/palakpsheth/VarDictRust#34 PB-1 (coordinate_sorted_vars): Iterate variant and post-processing position maps in ascending genomic coordinate order instead of JavaHashMap bucket order (ToVarsBuilder.java:93, SimplePostProcessModule.java:35).
16. palakpsheth/VarDictRust#34 PB-2 (exact_35_overlap): Omit Java's out-of-bounds while-loop sentinel +1 mismatch and +1 length increment when rem5 < rem3 in find_35_match (VariationRealigner.java:2006-2042, :2016-2024).
17. palakpsheth/VarDictRust#34 PB-4 (exact_cigar_dlen_match): Match exact deletion CIGAR operator length (len == dlen) in no_passing_reads instead of Java's getCigarString().contains(dlen + "D") decimal-suffix substring bug (VariationRealigner.java:2056-2065).
18. joachimwolff/VarDictJava#4 / clintval/vartovcf#139 (somatic_continue_after_bad_var): Continue evaluating lower-AF candidate alleles in SomaticPostProcessModule::print_variations_from_first_sample (continue instead of break when !is_good_var), recovering passing secondary multi-allelic somatic calls (SomaticPostProcessModule.java:181, 211).
19. AstraZeneca-NGS/VarDictJava#240 / AstraZeneca-NGS/VarDict#119 (adaptor_all_consensus_dirs): Enforce dir = 5 / dir = 3 and --adaptor screening across all soft-clip find_conseq* consensus builders in adjust_mnp, realign_indels, sv, and adj_snv so unscreened dir = 0 calls never poison Sclip.sequence memoization with TruSeq adapter chimeras (PolinaBevad/VarDictJava@92c62cf6).
20. AstraZeneca-NGS/VarDictJava#398 / AstraZeneca-NGS/VarDict#173 / clintval/vartovcf#192 (canonical_sv_vcf_anchoring): Emit VCFv4.2-compliant 1-bp upstream reference anchors (POS >= 1, contig-start forward-base fallback), ##ALT=<ID=DEL|DUP|INV>, signed INFO/SVLEN (<DEL> negative, END - POS == SVLEN.abs()), and END;SVTYPE;SVLEN across single-sample, amplicon, and paired somatic symbolic SVs.
21. AstraZeneca-NGS/VarDictJava#378 / AstraZeneca-NGS/VarDict#109 (paired_somatic_amplicon): Full paired tumor-normal amplicon calling (-b "tumor|normal" -a) across 55/61-column .var and 11-column paired VCF (GDAMP;TLAMP;NCAMP;AMPFLAG, FILTER=AMPBIAS evaluated independently of normal_clean, and pSTD suppression matching var2vcf_valid.pl:185,204).
22. AstraZeneca-NGS/VarDictJava#341 / AstraZeneca-NGS/VarDictJava#103 / Kennedy-Lab-UW/VarDictJava@9a0beb0d (cigar_strip_outer_hard_clips): Permanently strip outer positive-length hard-clip and pad (H/P) CIGAR operators without advancing alignment start coordinates, and treat interior P as non-consuming across prescan, CigarModifier, and CigarParser.
23. bcbio/bcbio-nextgen#1704 (nonnegative_subtracted_means): Floor subtracted mean read position (PMEAN), base quality (QMEAN), mapping quality (MQ), mismatch count (NM), and VCF QUAL at 0 (>= 0.0).
24. AstraZeneca-NGS/VarDictJava#316 / clintval/vartovcf#120 / clintval/vartovcf#142 (reconcile_strand_and_hq_sums): Reset all auxiliary Variation accumulators alongside cnt = 0 and reconcile fwd + rev == VD and 0 <= HICNT <= VD (LOCNT = VD - HICNT) across pileup, SV, ToVarsBuilder, and SomaticPostProcessModule.
25. AstraZeneca-NGS/VarDict#168 / AstraZeneca-NGS/VarDictJava#323 (reconcile_rd_vd_dp): Enforce DP >= RD + VD (total_pos_cov >= ref_fwd + ref_rev + pos_coverage) across all variant and somatic placeholder builders.
26. AstraZeneca-NGS/VarDictJava#267 / AstraZeneca-NGS/VarDictJava#287 / AstraZeneca-NGS/VarDict#137 / bcbio/bcbio-nextgen#3321 (sanitize_iupac_alt_alleles): Reduce IUPAC ambiguity codes in ALT alleles outside symbolic <...> brackets and skip non-pileup REF == ALT records after FASTA IUPAC reduction.
27. AstraZeneca-NGS/VarDictJava#328 / AstraZeneca-NGS/VarDict#157 (sv_respect_min_len): Respect -L (--min-sv-len) across sv.rs and tovars.rs by materializing bounded explicit sequence alleles (<= 32,768 bp) for split-refined SVs shorter than -L and filtering discordant-only SV clusters shorter than -L.
28. AstraZeneca-NGS/VarDictJava#330 (pileup_preserve_shifted_ref): Hydrate and emit the reference pileup row at -p genomic positions whenever all surviving candidate variants shift away via deletions or adj_complex.
29. clintval/vartovcf#109 / clintval/vartovcf#147 (recompute_vartype_after_adj_complex): Recompute Variant::var_type after adj_complex trims shared bases into an SNV, Insertion, or Deletion.
30. clintval/vartovcf#101 / AstraZeneca-NGS/VarDict#75 / AstraZeneca-NGS/VarDict#76 / EBIvariation/vcf-validator#99 (strict_vcf_ad_number_r): Emit single-sample FORMAT/AD with strict Number=R cardinality (RD when ALT == ".", RD,VD including RD,0 when ALT != ".").
31. clintval/vartovcf#105 / bcbio/bcbio-nextgen / bioinform/somaticseq (omit_nonsv_vcf_end): Omit INFO/END on non-symbolic VCF records by default while retaining INFO/END strictly on symbolic <...> SV alleles unless --no-end (--noend) is passed explicitly.
32. clintval/vartovcf#99 / clintval/vartovcf#54 / AstraZeneca-NGS/VarDictJava#344 / AstraZeneca-NGS/VarDict#186 (canonical_vcf_gt): Canonicalize unphased 1/0 to 0/1 and promote concrete non-dot 0/0 carrier genotypes with VD > 0 to 0/1.
33. VariationUtils.java:90 / palakpsheth/VarDictRust#160 (sclip_majority_count_first): Require current_count > max_count before breaking ties by mean_qual > max_quality in find_conseq soft-clip consensus so a single high-quality sequencing error cannot overwrite a majority consensus.
34. Clinical-Genomics/BALSAMIC#1396 / AstraZeneca-NGS/VarDictJava#239 / palakpsheth/VarDictRust#160 (mate_overlap_both_strands): Pair overlapping FR mates by molecule QNAME under -u and rebalance agreed overlapping molecules across forward and reverse strands (ALD = ceil(N/2), floor(N/2), BIAS = 2) without inflating VD or DP or rebalancing discordant R1/R2 errors.
35. AstraZeneca-NGS/VarDictJava#264 / AstraZeneca-NGS/VarDict#134 / mskcc/vcf2maf#279 / samtools/bcftools#1379 / palakpsheth/VarDictRust#160 (canonical_vcf_complex_left_align): Apply Tan et al. (2015) parsimonious 5' left-alignment and 1-bp upstream FASTA anchoring to non-symbolic unequal-length alleles when -3 and CRISPR (-J/-j) modes are inactive, deduplicating post-normalization same-sample collisions.
36. clintval/vartovcf#191 / clintval/vartovcf#195 / palakpsheth/VarDictRust#160 (somatic_reconcile_split_alleles): Reconcile paired tumor and normal candidate alleles that match on normalized (start_pos, ref_allele, var_allele) across identical or split pileup coordinates when raw descriptionString representations differ, eliminating duplicate StrongSomatic + StrongLOH shadow records.
37. clintval/vartovcf#181 / clintval/vartovcf#186 / AstraZeneca-NGS/VarDict#174 / palakpsheth/VarDictRust#160 (adj_snv_full_sclip_match): Require >= 2 bp (2..=5 bp) soft-clip consensus and full flanking reference agreement across seq[1..] in adj_snv.
38. AstraZeneca-NGS/VarDictJava#263 / clintval/vartovcf#117 / palakpsheth/VarDictRust#160 (indel_only_shift3): Clamp SHIFT3 to 0 on equal-length substitutions (SNV and equal-length MNV, including post-adj_complex trimmed substitutions) while preserving MSI, MSILEN, and true indel SHIFT3.
39. SomaticPostProcessModule.java:221, 238 / palakpsheth/VarDictRust#160 (somatic_loh_homozygous_alt): Classify normal-driven fallback alleles in emit_v2_loh_fallback as LikelyLOH (instead of Germline) when tumor has undergone homozygous-alt LOH (t_freq > 1 - lofreq) while normal is heterozygous (0.2 < n_freq < 0.8), symmetric with determinate_type.
40. VariationRealigner.java:320-351 / clintval/vartovcf#101 / clintval/vartovcf#155 / clintval/vartovcf#160 / palakpsheth/VarDictRust#160 (mnp_exact_right_fold): Increment ref_coverage in adjust_mnp RIGHT CHECK strictly for 5'-truncated reads that did not already cover the MNV start position (preventing spanning cis/trans DP double-counting), and prune 100%-orphan cis prefix partials stranded by CigarParser's +5.0 MNV extension quality step.
41. VariationRealigner.java:1872-1960 / AstraZeneca-NGS/VarDictJava#363 / palakpsheth/VarDictRust#160 (strict_unspanned_lgins_stitch): Require realignlgins30 candidate stitches either to be spanned by at least one soft-clip (len >= ins.len() + 6) or to exhibit a clean 0..=15 bp target-site duplication overlap (score >= 20, rejecting mismatched p3 > p5 overlaps when score < 40), eliminating unspanned TruSeq adapter-dimer chimeras.
42. palakpsheth/VarDictRust#96 / samtools/hts-specs SAMtags §1.5 (consensus_bam_compat): Interoperate seamlessly with Fulcrum Genomics fgumi and fgbio consensus-called BAMs/CRAMs (cD/aD/bD/MI) by subtracting aligned (M/=/X) query 'N'/'n' consensus-masked bases from NM on cD >= 1 records (when -K is inactive), keying -t (dedup) with MI molecular identifiers on single-end/PNEXT < 10 and unmapped-mate consensus reads, and balancing double-strand-confirmed duplex observations (aD >= 1 && bD >= 1) across F1R2/F2R1 under --orientation-bias.
43. ToVarsBuilder.java:395,551,868 / var2vcf_valid.pl:185 / palakpsheth/VarDictRust#160 (insertion_hicov_and_local_amp_dp): Sum insertion_variations hicnt into calc_hicov without mutating shared Vars state across 1/2 STR insertion alleles, seed &-insertion DP and reference strand/orientation counts from local position + 1, and restrict LongMSI Clause 1 (msi > msi_threshold && msint == 1 && af < 0.2) to monomer homopolymers (msint == 1) matching var2vcf_paired.pl.
44. VariationRealigner.java:280-360 / clintval/vartovcf#160 / palakpsheth/VarDictRust#160 (mnp_cis_haplotype_phasing): Gate adjust_mnp downstream partial folding on per-read upstream haplotype concordance (did_not_cover_pos || ctx_up_matches_mnt), preserving true trans-haplotype SNVs/MNVs on right with exact remainder conservation while keeping cis MNVs intact.
45. VariationRealigner.java:903,2061 / AstraZeneca-NGS/VarDictJava#363 / palakpsheth/VarDictRust#160 (complex_indel_and_lgins_concordance): Fix find_mm5_compact n2 mismatch indexing, strip internal/trailing \^\d+ deletion-length tokens before & in realigndel, fold stranded low-Q +ins partials into dominant +ins&X alleles in realignins, and require realignlgins bi == 0 candidates to exhibit full soft-clip template concordance plus discordant mate/cluster support, an opposing soft-clip within ±(extra.len() + shift5 + 15), or --amplicon-single-primer (-sp).
46. CigarParser.java / AstraZeneca-NGS/VarDictJava#381 / palakpsheth/VarDictRust#160 (spliced_overhang_and_homopolymer_filter): Clamp tp bilaterally across un-anchored CigarKind::Skip (N) splice junctions (min(cum_mi_before_N, rlen1 - cum_mi_before_N) <= 10, preserving internal >= 11 bp anchored exons at zero cost on unspliced DNA reads) and apply FILTER=MSI12 to < 1% AF non-duplex (duplex_cnt == 0) pure 1-bp monomer (msint == 1, 8 <= MSI <= 12) stutter indels (gated strictly on !normal_clean && status.contains("Somatic") in paired mode so germline/LOH indels are 100% preserved).
47. SomaticPostProcessModule.java:221,238 / joachimwolff/VarDictJava#4 / palakpsheth/VarDictRust#160 (somatic_multiallelic_loh_rescue): Rescue un-emitted v2 normal alleles at multi-allelic 1/2 somatic loci (run_trailing_v2 / called_from_first_sample) and require t_dp >= 10 && n_dp >= 8 && FisherExact < 0.05 on sub-homozygous LOH bands (0.80 <= t_freq <= 1 - lofreq and lofreq <= t_freq <= 0.20 with 0.20 < n_freq < 0.80), blocking diploid TCN=2 binomial sampling noise while keeping t_freq > 1 - lofreq unconditional.
48. clintval/vartovcf#140 / AstraZeneca-NGS/VarDictJava#274 / palakpsheth/VarDictRust#160 (continuous_pstd_qstd): Track exact 1-pass Chan parallel Welford (p_m2, q_m2) sum-of-squared-deviations across pileup, realignment, SV, and somatic subtraction to emit continuous sample standard deviations (sqrt(m2 / (cnt - 1)), 1 decimal half-even) in INFO/PSTD, INFO/QSTD, paired FORMAT, and .var while keeping boolean Variant::pstd as the sole FILTER=pSTD predicate.
49. samtools/hts-specs VCFv4.2/v4.3 / palakpsheth/VarDictRust#160 (sv_downstream_vcf_interop): Emit VCFv4.2/v4.3-standard ##INFO=<ID=SVLEN,Number=A,Type=Integer,...>, ##ALT=<ID=INS,...>, paired somatic SPLITREAD/SPANPAIR SV support tags, and suppress InDelLikely mis-flagging on paired symbolic SVs so bcftools concat -a, bcftools norm, and truvari bench interoperate cleanly without header-cardinality warnings alongside external inter-chromosomal BND/fusion and tandem-repeat (TRGT/LongTR/sawfish) VCFs.
CompatProfile Switch / ID |
Upstream Reference | Default --compat=vardictjava Behavior |
v1.1.x Shipped / Proposed --compat=off Behavior |
|---|---|---|---|
sanitize_sample_info (#116) |
var2vcf_valid.pl:44,236, var2vcf_paired.pl:49,238 |
Sample names containing ;, =, ,, %, whitespace, "", -, or . are interpolated raw (with whitespace folded to '_') into INFO/SAMPLE=..., splitting VCFv4.2 INFO key-value fields or colliding distinct names |
SHIPPED (v1.1.0 COMPAT_OFF): Bijective VCF 4.2 percent-encoding on INFO/SAMPLE=... ("" -> -, - -> %2D, . -> %2E, %/;/=/, + whitespace/control UTF-8 %XX) |
standard_dup_symbolic_alt (342) |
#342, ToVarsBuilder.java:619,699-700 |
Negative <dup-N> token emitted in ALT when mlen < 100 (non-standard VCF symbolic allele), -L <= 100 clobbers <dup±N> span, and homozygous genotype1 uses 50 + dup_val instead of 2 * 50 + dup_val |
SHIPPED (v1.1.0 COMPAT_OFF): Standard <DUP> symbolic ALT and non-negative i64 span (evaluated before sv_min_len), plus unified 2 * SVFLANK + dup_val homozygous genotype1 |
shift3_3prime_alleles (292) |
#292 | -3 shifts 3' coordinates without updating REF/ALT sequences to match the shifted locus |
SHIPPED (v1.1.0 COMPAT_OFF): FASTA-valid 3'-shifted (-3) deletion/insertion REF/ALT alleles with CRISPR double-shift guard |
strict_region_bounds (369) |
#369 | Realigned/SV variants can be emitted outside requested target intervals (-R / BED) |
SHIPPED (v1.1.0 COMPAT_OFF): Merged-interval target bounds enforcement (start_pos >= 1 within requested intervals) |
suppress_pileup_sentinels (ub1/ub2) |
UB-1, UB-2 | -p pileup mode emits spurious <R,R>/N/N zero-depth sentinel rows in Simple and Amplicon modes |
SHIPPED (v1.1.0 COMPAT_OFF): Suppress -p pileup <R,R>/N/N zero-depth sentinel rows in Simple and Amplicon modes |
live_duprate (duprate-live) |
CigarParser.java:78,162-163 |
initFromScope copies totalReads = 0 and duplicateReads = 0 before the read loop, leaving DUPRATE always 0 even with -t |
SHIPPED (v1.1.0 COMPAT_OFF): Live u64 DUPRATE from RecordPreprocessor duplicate/total read counts across untiled and split-tile runs |
preserve_mixed_sex_contigs (var2vcf-chrx-drop) |
var2vcf_valid.pl:265-285, var2vcf_paired.pl:271-291 (sub reorder) |
When both "X" and "chrX" (or "Y"+"chrY", "MT"+"chrM") appear in the same stream, if/elsif drops "chrX"/"chrY"/"chrM" |
SHIPPED (v1.1.0 COMPAT_OFF): Mixed sex/mitochondrial contig preservation (X+chrX, Y+chrY, MT+chrM) + strict total order on chrom_compare |
cigar_homopolymer_merge (402) |
VarDictJava PR #402 | modifyCigar yields …D-1M… for homopolymer multi-indel reads like 104M1I2M2D1M1D5M1D2M9D27M; Java throws, read skipped |
SHIPPED (v1.1.0 COMPAT_OFF): Absorb negative trailing M (rm < 0) into rdoff_corr during homopolymer multi-indel merges in CigarModifier (returning Err(JavaThrows) if rdoff_corr <= 0), repairing CIGAR to 104M14D11I9D27M per PR #402 |
eqx_cigar_read_length (eqx-read-length) |
CigarParser.java:1605-1629, 1990-1991 |
getSoftClippedLength, getMatchInsertionLength, CIGAR coalescing, and SV ALIGNED_LENGTH_MND exclude =/X (SequenceMatch/SequenceMismatch), yielding rlen1 = 0 and negative PMEAN (0 calls) on =/X BAMs |
SHIPPED (v1.1.0 COMPAT_OFF): Treat = and X equivalently to M across read-length, CIGAR coalescing, realignment, dedup, and prescan paths |
preserve_discordant_svs (ub5) |
UB-5, var2vcf_valid.pl:197-205 |
var2vcf_valid.pl drops single-sample symbolic SVs (<DUP>, <INV>, <DEL>) when splitreads < 1 |
SHIPPED (v1.1.0 COMPAT_OFF): Preserve single-sample symbolic SVs (<DUP>, <INV>, <DEL>) with spanpairs > 0 when splitreads == 0 unless --min-splitreads was explicitly overridden |
mark_dup_sv_inclusive_end (ub6) |
UB-6, StructuralVariantsProcessor.java:1413-1468 |
markDUPSV passes post-decrement pe after pe--, truncating the svfdup mate-cluster overlap window right boundary by 1 bp |
SHIPPED (v1.1.0 COMPAT_OFF): Pass pre-decrement cluster end mark_pe (pe + 1 vs post-decrement pe) to mark_dup_sv in svfdup when tbp != 0 && tbp < pe |
sv_lazy_mate_pileup (sv-lazy-mate-pileup) |
StructuralVariantsProcessor.java:519-675 |
findINVsub calls partialPipeline(mstart - 200, mend + 200) eagerly before checking whether any local >= 12 bp soft-clip exists or matches reference (findMatchRev), triggering wasted mate-window BAM re-scans on poly-G sinks |
SHIPPED (v1.1.0 COMPAT_OFF): Gate find_inv_sub_paths mate-window loads on local >= 12 bp soft-clip presence and defer partial_pipeline_paths until find_match_rev + gap validation succeed |
exact_binary_half_even (rounding-underflow-tie) |
Utils.java:101-103 (OpenJDK DigitList fixed-point underflow branch) |
roundHalfEven rounds ±5e-(d+1) (d in {3, 4, 5, 8}) to ±0.0 despite exact binary f64 exceeding 5×10^-(d+1) |
SHIPPED (v1.1.0 COMPAT_OFF): Bypass OpenJDK DigitList underflow truncation via round_half_even_compat so exact binary f64 values exceeding 5×10^-(d+1) round up to ±10^-d |
reconcile_vd_dp (#92/#386/#400) |
#92, #386, #400, ToVarsBuilder.java:391-395, 868 |
Soft-clip realignment and SV paths increment VD/HICNT without reconciling locus DP/HICOV, allowing VD > DP, AF > 1.0, ADJAF > 1.0, and HIAF > 1.0 |
SHIPPED (v1.1.0 COMPAT_OFF): Enforce VD <= DP, AF <= 1.0, ADJAF <= 1.0, and HICNT <= HICOV (HIAF <= 1.0) across all variant types |
coordinate_sorted_vars (ub3/#282) |
UB-3, #282, ToVarsBuilder.java:93, SimplePostProcessModule.java:35 |
Variant and post-processing position maps iterate in java.util.HashMap (JavaHashMap) bucket order rather than coordinate order |
SHIPPED (v1.1.0 COMPAT_OFF): Iterate variant and post-processing position maps in ascending genomic coordinate order |
exact_35_overlap (#34 PB-2) |
VariationRealigner.java:2006-2042 (:2016-2024, find35match) |
Out-of-bounds while-loop sentinel adds +1 spurious mismatch and +1 overlap length when rem5 < rem3 in find35match |
SHIPPED (v1.1.0 COMPAT_OFF): Omit Java's out-of-bounds while-loop sentinel +1 mismatch and +1 length increment when rem5 < rem3 in find_35_match |
exact_cigar_dlen_match (palakpsheth/VarDictRust#34 PB-4) |
VariationRealigner.java:2056-2065 (noPassingReads) |
getCigarString().contains(dlen + "D") matches decimal suffixes (e.g. 12D matching 2D) |
SHIPPED (v1.1.0 COMPAT_OFF): Match exact deletion CIGAR operator length (len == dlen) in no_passing_reads |
somatic_continue_after_bad_var (joachimwolff/VarDictJava#4) |
joachimwolff/VarDictJava#4, clintval/vartovcf#139, clintval/vartovcf#149, AstraZeneca-NGS/VarDictJava#376, SomaticPostProcessModule.java:181,211 |
printVariationsFromFirstSample aborts (break) on the first candidate failing isGoodVar, dropping lower-AF passing secondary somatic alleles at multi-allelic tumor loci |
SHIPPED (v1.1.0 COMPAT_OFF): Continue (continue) to remaining sorted tumor alleles when a candidate fails is_good_var, recovering passing secondary multi-allelic calls |
adaptor_all_consensus_dirs (AstraZeneca-NGS/VarDictJava#240) |
AstraZeneca-NGS/VarDictJava#240, AstraZeneca-NGS/VarDictJava#241, AstraZeneca-NGS/VarDict#119, PolinaBevad/VarDictJava@92c62cf6 |
adjustMNP, realignIndels, findAllSVs, and adjSNV call findConseq(sc, 0) without adaptors, memoizing unscreened TruSeq adapter soft-clips into Sclip.sequence and assembling false chimeric insertions |
SHIPPED (v1.1.0 COMPAT_OFF): Pass dir = 5 / dir = 3 and fill_adaptor_sets across all 20 previously dir = 0 soft-clip find_conseq* call sites across realign.rs and sv.rs |
canonical_sv_vcf_anchoring (AstraZeneca-NGS/VarDictJava#398) |
AstraZeneca-NGS/VarDictJava#398, AstraZeneca-NGS/VarDictJava#225, AstraZeneca-NGS/VarDictJava#229, AstraZeneca-NGS/VarDict#111, AstraZeneca-NGS/VarDictJava#382, clintval/vartovcf#192, clintval/vartovcf#107, clintval/vartovcf#108, samtools/hts-specs |
Symbolic <DEL>/<DUP>/<INV> VCF rows emit multi-kilobase REF spans or 1-bp-shifted <DUP> starts, omit ##ALT headers, emit positive SVLEN for <DEL>, and omit END;SVTYPE;SVLEN in paired VCF |
SHIPPED (v1.1.0 COMPAT_OFF): Canonical 1-bp upstream VCFv4.2 anchor (POS >= 1, contig-start forward base), ##ALT=<ID=DEL\|DUP\|INV>, negative <DEL> SVLEN (END - POS == SVLEN.abs()), and END;SVTYPE;SVLEN in single, amplicon, and paired VCFs |
paired_somatic_amplicon (AstraZeneca-NGS/VarDictJava#378) |
AstraZeneca-NGS/VarDictJava#378, AstraZeneca-NGS/VarDictJava#155, AstraZeneca-NGS/VarDict#109, MHH-Bioinformatics-Hematology/vardictcpp#1, MHH-Bioinformatics-Hematology/vardictcpp#3 |
Paired + amplicon mode runs single-sample AmpliconMode on bam1 in .var stream (VarDictLauncher.java:56-61), breaking var2vcf_paired.pl column alignment; default VCF mode rejects paired + -a with VardictError::Unsupported |
SHIPPED (v1.1.0 COMPAT_OFF): Per-amplicon pileup, primer-overlap masking, and GDAMP;TLAMP;NCAMP;AMPFLAG aggregation across tumor and normal BAMs/CRAMs, emitting 55/61-col .var and 11-col paired VCF (FILTER=AMPBIAS outside normal_clean, pSTD suppressed) |
cigar_strip_outer_hard_clips (AstraZeneca-NGS/VarDictJava#341) |
AstraZeneca-NGS/VarDictJava#341, AstraZeneca-NGS/VarDictJava#103, Kennedy-Lab-UW/VarDictJava@9a0beb0d, hedera-dx/VarDictJava@17d1cb51 |
Outer hard-clip/pad (<N>[HP]) CIGAR operators block terminal I -> S / D stripping in CigarModifier (90M3D15M3I20H rewritten to 90M18D18I20H instead of soft-clipping 3I) and distort read-end PMEAN |
SHIPPED (v1.1.0 COMPAT_OFF): Strip outer positive-length H/P CIGAR operators without advancing alignment_start and skip interior P across prescan, CigarModifier, and CigarParser so SEQ-matched hard-clipped reads match un-hard-clipped reads byte-for-byte |
nonnegative_subtracted_means (bcbio/bcbio-nextgen#1704) |
bcbio/bcbio-nextgen#1704, bcbio/bcbio-nextgen@83ff6cce, Variation.java (subCnt) |
Variation.subCnt subtracts qmean and pmean without flooring at 0, producing negative .var PMEAN/QMEAN and negative VCF QUAL (col 6 < 0, crashing GATK ValidateVariants TribbleException) |
SHIPPED (v1.1.0 COMPAT_OFF): Floor subtracted PMEAN, QMEAN, MQ, NM, and VCF QUAL at 0 (>= 0.0) across variations/mod.rs, tovars.rs, somatic.rs, and output/vcf.rs |
reconcile_strand_and_hq_sums (AstraZeneca-NGS/VarDictJava#316) |
AstraZeneca-NGS/VarDictJava#316, clintval/vartovcf#120, clintval/vartovcf#142 |
Zeroing variation.cnt = 0 without resetting fwd/rev/hicnt (CigarParser, StructuralVariantsProcessor) and separate integer truncations leave ALD[0] + ALD[1] != VD and VD != HICNT + LOCNT |
SHIPPED (v1.1.0 COMPAT_OFF): Reset auxiliary Variation accumulators via clear_counts() when cnt = 0 and enforce fwd + rev == VD and 0 <= HICNT <= VD (LOCNT = VD - HICNT) across parse.rs, sv.rs, tovars.rs, and somatic.rs |
reconcile_rd_vd_dp (AstraZeneca-NGS/VarDict#168) |
AstraZeneca-NGS/VarDict#168, AstraZeneca-NGS/VarDictJava#323, clintval/vartovcf#102 |
Separate ref_coverage vs ref_fwd + ref_rev adjustments allow RD + VD > DP (AD[0] + AD[1] > DP) on non-reference variant and somatic placeholder rows |
SHIPPED (v1.1.0 COMPAT_OFF): Enforce DP >= RD + VD (total_pos_cov >= ref_fwd + ref_rev + pos_coverage) across tovars.rs and postprocess/somatic.rs |
sanitize_iupac_alt_alleles (AstraZeneca-NGS/VarDictJava#267) |
AstraZeneca-NGS/VarDictJava#267, AstraZeneca-NGS/VarDictJava#270, AstraZeneca-NGS/VarDictJava#287, AstraZeneca-NGS/VarDict#137, bcbio/bcbio-nextgen#3321 |
validateRefallele reduces IUPAC ambiguity bases only on REF, leaving IUPAC bases in ALT (varallele) and emitting non-pileup REF == ALT records (while naive regex scrubbers corrupt <INV> \(\to\) <INN>) |
SHIPPED (v1.1.0 COMPAT_OFF): Apply VCFv4.3 IUPAC reduction to ALT outside symbolic <...> brackets and suppress non-pileup REF == ALT rows after reduction |
sv_respect_min_len (AstraZeneca-NGS/VarDictJava#328) |
AstraZeneca-NGS/VarDictJava#328, AstraZeneca-NGS/VarDict#157 |
StructuralVariantsProcessor (find_del/find_dup/find_inv) ignores -L (--min-sv-len, default 1000), emitting sub-1000 bp FLT3-ITDs and inversions as symbolic <DUP>/<INV> |
SHIPPED (v1.1.0 COMPAT_OFF): Enforce -L (--min-sv-len): materialize bounded explicit sequence alleles (<= 32,768 bp MAX_EXPLICIT_SV_SEQ_BP) for split-refined SVs shorter than -L and suppress discordant-only SVs shorter than -L |
pileup_preserve_shifted_ref (AstraZeneca-NGS/VarDictJava#330) |
AstraZeneca-NGS/VarDictJava#330, SimplePostProcessModule.java:73 |
-p pileup checks vvar.size() == 1 when hydrating a shifted locus's reference row, silently dropping genomic positions whenever >= 2 deletions/complex calls all shift to P - 1 |
SHIPPED (v1.1.0 COMPAT_OFF): Hydrate and emit the reference pileup row at position (ALT="." in VCF) whenever all surviving candidate variants shift away from position (untiled == split-tile) |
recompute_vartype_after_adj_complex (clintval/vartovcf#109) |
clintval/vartovcf#109, clintval/vartovcf#147, SimplePostProcessModule.java:83,93 |
Variant.varType() runs before adjComplex() trims shared bases, leaving trimmed SNVs/indels mislabeled TYPE=Complex and bypassing SNV/indel var2vcf filters (Q10, Cluster) |
SHIPPED (v1.1.0 COMPAT_OFF): Recompute Variant::var_type after adj_complex in SimplePostProcessModule, AmpliconPostProcessModule, and SomaticPostProcessModule |
strict_vcf_ad_number_r (clintval/vartovcf#101) |
clintval/vartovcf#101, AstraZeneca-NGS/VarDict#75, AstraZeneca-NGS/VarDict#76, EBIvariation/vcf-validator#99, sigven/pcgr#12 |
var2vcf_valid.pl:228 keys FORMAT/AD cardinality on vd != 0 instead of ALT != ".", emitting AD=rd (1 value) on VD == 0 variant rows and AD=rd,vd (2 values) on ALT == "." rows |
SHIPPED (v1.1.0 COMPAT_OFF): Key single-sample FORMAT/AD on ALT == "." (AD=rd when ALT == ".", AD=rd,vd including rd,0 when ALT != ".", matching Number=R) |
omit_nonsv_vcf_end (clintval/vartovcf#105) |
clintval/vartovcf#105, bcbio/bcbio-nextgen, bioinform/somaticseq |
Single-sample -R VCF output without -E / --no-end emits INFO/END on every SNV/indel, breaking GATK ValidateVariants, CombineVariants, and bcftools norm |
SHIPPED (v1.1.0 COMPAT_OFF): Omit INFO/END on non-symbolic VCF records by default while retaining INFO/END on symbolic <...> SVs unless --no-end (--noend) is passed explicitly |
canonical_vcf_gt (clintval/vartovcf#99) |
clintval/vartovcf#99, clintval/vartovcf#54, AstraZeneca-NGS/VarDictJava#344, AstraZeneca-NGS/VarDict#186 |
var2vcf_*.pl emits unphased 1/0 (0.5 <= AF < 1 - GTFREQ) and assigns GT=0/0 to concrete ALT carriers when AF < FREQ (CALL=IGN false negatives in rtg vcfeval without --squash-ploidy) |
SHIPPED (v1.1.0 COMPAT_OFF): Canonicalize unphased 1/0 \(\to\) 0/1 and promote concrete non-dot 0/0 carrier genotypes with VD > 0 to 0/1 (preserving 0/0 on VD == 0 normal/LOH samples and ALT == "." pileup rows) |
sclip_majority_count_first (VariationUtils.java:90) |
VariationUtils.java:90, palakpsheth/VarDictRust#160 |
findConseq evaluates current_count > max_count \|\| mean_qual > max_quality, allowing 1 higher-Phred sequencing-error soft-clip read (Q38/Q50) to overwrite a multi-read majority consensus |
SHIPPED (v1.2.0 COMPAT_OFF): Require current_count > max_count first (current_count == max_count && mean_qual > max_quality breaks ties only) across all soft-clip find_conseq* call sites |
mate_overlap_both_strands (Clinical-Genomics/BALSAMIC#1396) |
Clinical-Genomics/BALSAMIC#1396, AstraZeneca-NGS/VarDictJava#239, palakpsheth/VarDictRust#160 |
-u skips forward (+) mate bases overlapping cur_start >= mate_alignment_start, crediting 100% of overlapping short-insert FR molecules to rev (ALD=0,N, BIAS=2;1) |
SHIPPED (v1.2.0 COMPAT_OFF): Pair overlapping FR mates by QNAME (O(1) hash-sharded buckets) and rebalance every 2nd agreed molecule across fwd/rev (ALD=ceil(N/2),floor(N/2), BIAS=2, SBF=1.0) with DP and VD unchanged |
canonical_vcf_complex_left_align (AstraZeneca-NGS/VarDictJava#264) |
AstraZeneca-NGS/VarDictJava#264, AstraZeneca-NGS/VarDict#134, mskcc/vcf2maf#279, samtools/bcftools#1379 |
Right-shifted repeat deletions and unanchored Complex delins (SHIFT3 > 0, e.g. EGFR exon 19) emit non-parsimonious or split coordinates that collide under bcftools norm |
SHIPPED (v1.2.0 COMPAT_OFF): Apply Tan et al. (2015) parsimonious 5' left-alignment and 1-bp upstream FASTA anchoring to non-symbolic unequal-length alleles (bypassed under -3 and -J/-j CRISPR) and deduplicate same-sample collisions |
somatic_reconcile_split_alleles (clintval/vartovcf#191) |
clintval/vartovcf#191, clintval/vartovcf#195, palakpsheth/VarDictRust#160 |
Differing raw descriptionString or split-key indel/delins representations in Tumor vs Normal emit colliding StrongSomatic (Normal VD=0) + StrongLOH (Tumor VD=0) shadow records |
SHIPPED (v1.2.0 COMPAT_OFF): Reconcile paired tumor and normal candidates matching on normalized (start_pos, ref_allele, var_allele) through determinate_type across same-key and split-key pileups |
adj_snv_full_sclip_match (clintval/vartovcf#181) |
clintval/vartovcf#181, clintval/vartovcf#186, AstraZeneca-NGS/VarDict#174, palakpsheth/VarDictRust#160 |
adjSNV lifts 1 bp soft-clips with 0 flanking bases checked and ignores seq[2..=4] mismatches on 2..=5 bp soft-clips |
SHIPPED (v1.2.0 COMPAT_OFF): Require 2 <= seq.len() <= 5 and full flanking reference match across seq[1..] in adj_snv |
indel_only_shift3 (AstraZeneca-NGS/VarDictJava#263) |
AstraZeneca-NGS/VarDictJava#263, clintval/vartovcf#117, ToVarsBuilder.java:584-587 |
findMSI assigns spurious SHIFT3 > 0 to ~25% of SNVs and equal-length MNVs via random downstream reference matches |
SHIPPED (v1.2.0 COMPAT_OFF): Clamp SHIFT3 = 0 on all non-symbolic equal-length substitutions (ref.len() == alt.len(), including post-adj_complex) while preserving MSI, MSILEN, and indel SHIFT3 |
somatic_loh_homozygous_alt (SomaticPostProcessModule.java:221,238) |
SomaticPostProcessModule.java:221, 238, palakpsheth/VarDictRust#160 |
emit_v2_loh_fallback tests only t_freq < lofreq (homozygous-ref LOH), misclassifying homozygous-alt tumor LOH (t_freq > 1 - lofreq, e.g. 1.0) paired with heterozygous normal (0.2 < n_freq < 0.8) as Germline whenever tumor fails is_good_var |
SHIPPED (v1.2.0 COMPAT_OFF): Symmetric is_fallback_likely_loh check across both direct and split-reconciled emit_v2_loh_fallback branches classifies homozygous-alt tumor + heterozygous normal fallback loci as LikelyLOH |
mnp_exact_right_fold (clintval/vartovcf#160) |
VariationRealigner.java:320-351, clintval/vartovcf#101, clintval/vartovcf#155, clintval/vartovcf#160, palakpsheth/VarDictRust#160 |
adjustMNP RIGHT CHECK unconditionally adds suffix count to ref_coverage[position] (double-counting spanning cis/trans reads in DP) and strands cis prefix partials split by CigarParser's +5.0 MNV extension Phred step |
SHIPPED (v1.2.0 COMPAT_OFF): Track bounded per-read upstream MNV pileup context (MnpObsTable, u32 coverage gap, 256-bucket cap) to increment ref_coverage strictly for 5'-truncated reads and prune 100%-orphan cis prefix partials |
strict_unspanned_lgins_stitch (AstraZeneca-NGS/VarDictJava#363) |
VariationRealigner.java:1872-1960, AstraZeneca-NGS/VarDictJava#363, palakpsheth/VarDictRust#160 |
realignlgins30 stitches opposing 5'/3' soft-clips across \|p3 - p5\| > 15 without requiring either clip to span the assembled insertion, fabricating multi-hundred-bp TruSeq adapter-dimer chimeras |
SHIPPED (v1.2.0 COMPAT_OFF): Require spanned_by_clip (seq.len() >= ins.len() + 6, score >= 18) when \|p3 - p5\| > 15, or spanned_by_clip / clean 0..=15 bp TSD overlap (score >= 20, 0 pre-sentinel mismatches when p3 > p5 and score < 40) in realignlgins30 |
consensus_bam_compat (palakpsheth/VarDictRust#96) |
palakpsheth/VarDictRust#96, AstraZeneca-NGS/VarDictJava#374, samtools/hts-specs (SAMtags §1.5, Fulcrum Genomics fgumi / fgbio) |
bwa mem / fgumi increment NM:i: for every consensus-masked query 'N' base (dropping cD >= 1 duplex families exceeding -m 8 / --vcf-max-nm 5.25), -t collapses distinct co-starting MI simplex/amplicon molecules when PNEXT < 10, and fgumi duplex canonicalizes /A consensus templates 100% onto F1R2 (SOB = 1.0) |
SHIPPED (v1.2.0 COMPAT_OFF): Subtract aligned (M/=/X) query 'N'/'n' bases from adjusted_nm on cD >= 1 records (when -K is inactive) across pileup, terminal clipping, and maxReadLength prescans, key -t DupKey with MI on PNEXT < 10/SE and unmapped-mate consensus records, and distribute double-strand aD >= 1 && bD >= 1 duplex observations across min(f1r2, f2r1) |
insertion_hicov_and_local_amp_dp (palakpsheth/VarDictRust#160) |
ToVarsBuilder.java:395,551,868, var2vcf_valid.pl:185, palakpsheth/VarDictRust#160 |
calcHicov omits insertionVariations hicnt (HIAF inflated across 1/2 STR insertions), &-insertions inherit upstream position DP, and single-sample LongMSI Clause 1 penalizes dinucleotide/trinucleotide STRs (msint > 1) |
SHIPPED (COMPAT_OFF): Non-mutating insertion_variations hicov sum across 1/2 STR alleles, local position + 1 DP/ref-strand seeding on &-insertions, and msint == 1 guard on LongMSI Clause 1 |
mnp_cis_haplotype_phasing (palakpsheth/VarDictRust#160) |
VariationRealigner.java:280-360, clintval/vartovcf#160, palakpsheth/VarDictRust#160 |
adjustMNP folds downstream SNV/MNV counts indiscriminately into overlapping upstream MNVs even when reads carry trans-haplotype reference bases at upstream positions |
SHIPPED (COMPAT_OFF): Fold did_not_cover_pos \|\| ctx_up_matches_mnt into cis MNV while retaining trans-haplotype observations on right with exact remainder conservation |
complex_indel_and_lgins_concordance (palakpsheth/VarDictJava#363) |
VariationRealigner.java:903,2061, AstraZeneca-NGS/VarDictJava#363, palakpsheth/VarDictRust#160 |
findMM5 n2 index bug, unstripped \^\d+ tokens before & in realigndel, stranded low-Q +ins partials alongside +ins&X, and unilateral realignlgins bi == 0 soft-clip false positives |
SHIPPED (COMPAT_OFF): Exact n2 mismatch indexing, \^\d+ stripping before &, low-Q +ins \(\to\) +ins&X folding, and bi == 0 full-clip concordance + discordant/opposing-clip/-sp guard |
spliced_overhang_and_homopolymer_filter (AstraZeneca-NGS/VarDictJava#381) |
CigarParser.java, AstraZeneca-NGS/VarDictJava#381, palakpsheth/VarDictRust#160 |
Un-anchored <= 10 bp spliced RNA-Seq overhangs inherit full read-length tp (PMEAN > 8) and < 1% AF non-duplex 8..=12 monomer homopolymer stutter indels pass MSI12 |
SHIPPED (COMPAT_OFF): Bilateral tp clamping strictly across un-anchored N junctions (<= 10 bp, 100% anchored-exon TP retention) + < 1% non-duplex pure 1-bp monomer (8 <= MSI <= 12) MSI12 filter (preserving paired germline/LOH indels) |
somatic_multiallelic_loh_rescue (SomaticPostProcessModule.java:221,238) |
SomaticPostProcessModule.java:221,238, joachimwolff/VarDictJava#4, palakpsheth/VarDictRust#160 |
Normal-carried secondary alleles at 1/2 tumor sites are skipped when tumor emits a different allele, and sub-homozygous LOH bands (0.80..0.95 & lofreq..0.20) are misclassified as Germline |
SHIPPED (COMPAT_OFF): Trailing v2 multi-allelic rescue (called_from_first_sample per-allele tracking) + t_dp >= 10 && n_dp >= 8 && FisherExact < 0.05 LikelyLOH classification rejecting diploid TCN=2 noise |
continuous_pstd_qstd (clintval/vartovcf#140) |
clintval/vartovcf#140, AstraZeneca-NGS/VarDictJava#274, palakpsheth/VarDictRust#160 |
PSTD and QSTD emit binary 0/1 flags instead of continuous sample standard deviations |
SHIPPED (COMPAT_OFF): Chan parallel Welford (p_m2, q_m2) continuous sample SD (1 decimal half-even) across INFO, paired FORMAT, and .var while preserving boolean Variant::pstd as the sole FILTER=pSTD predicate |
sv_downstream_vcf_interop (samtools/hts-specs) |
samtools/hts-specs, palakpsheth/VarDictRust#160 |
Legacy ##INFO=<ID=SVLEN,Number=1,...>, missing ##ALT=<ID=INS,...>, missing paired SPLITREAD/SPANPAIR SV tags, and paired InDelLikely flagging on symbolic SVs cause bcftools concat -a / bcftools norm / truvari schema warnings when merging with external SV/BND/TR callers |
SHIPPED (COMPAT_OFF): VCFv4.2/v4.3 SVLEN Number=A, ##ALT=<ID=INS>, paired non-amplicon SPLITREAD/SPANPAIR, and symbolic-SV InDelLikely exemption for zero-warning bcftools concat -a / bcftools norm / truvari interoperability |
--vcf-all-alleles / --all-alleles (ub7) |
UB-7, AstraZeneca-NGS/VarDictJava#65, AstraZeneca-NGS/VarDictJava#383, AstraZeneca-NGS/VarDictJava#389, AstraZeneca-NGS/VarDict#155, AstraZeneca-NGS/VarDict#192 |
Single-winner (1 row per POS) drops secondary alleles without var2vcf_*.pl -A (-A <INT> on vardictrust is sv_min_af) |
SHIPPED (v1.1.0, 18/18 var2vcf_*.pl parity): --vcf-all-alleles (--all-alleles, hidden vardictcpp alias --vcfall) emits all distinct (chr, start, end, ref, alt) alleles per position sorted by 4dp AF descending (var2vcf_valid.pl:137 / var2vcf_paired.pl:129) |
Landed as Default (parity-restoring; never gated)¶
Owner-ruled 2026-10-22 (codified in AGENTS.md §5): Rust-only artifacts whose prior behavior never matched the VarDictJava v1.8.3 oracle on valid inputs ship UNGATED as default behavior once verified to MATCH the live oracle across all regression suites (any unreleased gating plumbing is removed rather than kept as a no-op, whereas true output-changing corrections to upstream v1.8.3 bugs live on CompatProfile under --compat=off).
| ID | Upstream Reference | v1.0.2 Behavior (Not True Parity) | Default Behavior Now |
|---|---|---|---|
splice-tile-ownership |
Rust-only tiling artifact (no upstream issue — Java counts each junction once over the whole region, unconditionally: CigarParser.java:86-110, key CigarParser.java:1289-1301) |
-i splice junctions double-counted under default 100 kb tiling: every tile whose halo-reaching reads touch a junction emits it |
Emit each splice junction from exactly one tile (anchor-ownership by key A, region-edge clamped) |
mate-window-ownership |
Rust-only tiling artifact, sibling-audit G3 (no upstream issue — Java piles the whole region once, so a mate-window merge can never duplicate a row) | Tiled runs duplicate rows whose mate breakpoint falls in the same BED region but a different tile: the merging tile's partial_pipeline plants out-of-active-range keys (realign.rs, sv.rs) that pass the whole-region builder gate — intermediate tables (#1,#3) and somatic VCF (#4); simple VCF masks exact-start_pos cases via pending |
Gate merged keys to the owning tile's active range (merge-time gating in realign.rs, planted-key attribution + builder ownership gate with Task-3-style edge clamping for sv.rs); single-region runs own everything so the gate never fires there. Accepted corner: realign-planted SV key outside the whole BED with no sv re-plant is dropped (see task-7-report F2) |
decimal-format-underflow-tie (M-D1) |
Utils.java:101-103 (DecimalFormat DigitList fixed-point underflow tie) |
Rust round_half_even rounded ±5e-(d+1) (d in {3, 4, 5, 8}) to ±10^-d using exact binary f64 value |
Match OpenJDK DecimalFormat (±5e-(d+1) -> ±0.0 for d in {3, 4, 5, 8}), verified across testdata/format/java_fmt_oracle.tsv |
fisher-java-commons-math3 (M-D2) |
FisherExact.java:67-68, 186-197 (org.apache.commons.math3.distribution.HypergeometricDistribution) |
--fisher mode called R dhyper/phyper in logdc_dhyper and pnhyper, diverging by 1 ulp on 5-decimal ties |
Port Commons Math 3 SaddlePointExpansion.logBinomialProbability and innerCumulativeProbability in java_fisher mode, verified across testdata/fisher/java_fisher_oracle.tsv |
fisher-r-fround5 (M-D3) |
teststrandbias.R:24-26, testsomatic.R:31-35 (R 4.x round(x, 5) 5-decimal tie breaking) |
R-mode round_as_r multiplied x * 1e5 before HALF_EVEN, losing sub-ulp direction on exact dyadic .5 ties |
IEEE-754 5-decimal candidate distance comparison (floor(x*1e5)/1e5 vs ceil(x*1e5)/1e5), verified across testdata/fisher/r_fisher_oracle.tsv |
cleanroom-hypergeom-mit (VarDictRust#92) |
Catherine Loader (2000) saddlepoint binomial deviance & Euler-Maclaurin Bernoulli Stirling series (crates/vardictrust-core/src/stats/hypergeom.rs) |
Legacy R nmath routines required dual MIT + copyleft licensing across workspace manifests |
Cleanroom saddlepoint hypergeometric implementation in stats/hypergeom.rs + extended-precision f80_sum accumulation, matching 259/259 testdata/fisher/r_fisher_oracle.tsv tables (0 flips) and all certified cohorts within \(\varepsilon \le 10^{-6}\), restoring pure MIT licensing across the entire workspace |
split-var-dedup (VarDictRust#91) |
Rust-only tiling artifact (no upstream issue — VarDictJava v1.8.3 runs untiled per BED region, emitting each .var intermediate row once) |
Split tiles emitted overlapping .var rows at tile halo boundaries before var2vcf post-processing deduplicated VCF records |
SplitVarDeduper in crates/vardictrust-core/src/lib.rs enforces single-tile .var intermediate ownership (tile.start..=tile.end) across split tiles in SimpleMode and SomaticMode with a sliding O(halo) (200 kbp) boundary-retention window (BTreeMap::split_off), preserving within-tile multiplicity and -p shifted-singleton position-0 companion triples to match untiled VarDictJava v1.8.3 output |
javamap-tree-bins (VarDictRust#116 SEC-17b) |
OpenJDK 8+ java.util.HashMap.TreeNode (HashMap.java:762-781, 1967-2529) |
When collision count reached 8 at capacity >= 64, JavaHashMap retained linked-list bucket chains (O(N^2) under adversarial \(2^{16}\)-stride collisions) and logged a treeify warning |
Port exact OpenJDK 8 TreeNode Red-Black bin treeification (treeify, moveRootToFront, getTreeNode, putTreeVal, removeTreeNode pointer-topology untreeification, and split with UNTREEIFY_THRESHOLD = 6) via a cold Option<Box<Vec<TreeLink>>> sidecar arena (0 extra bytes/allocations on < 8-collision biological cohorts; 100% ORDER and GET parity on treeified bins) |
somatic-debug-begin-variant |
SomaticOutputVariant.java:80, 193-194, SomaticPostProcessModule.java:121, 270, 333 (beginVariant.DEBUG column in somatic -D .var output) |
Across the four beginVariant = v2var somatic branches (calling_for_one_sample normal-only Deletion, print_variations_from_first_sample !first_passes StrongLOH fallback, and print_variations_from_second_sample combineAnalysis-rescued Germline + StrongLOH fallback), placeholder variant1.debug stayed empty when -D was enabled |
Copy v2.debug into variant1.debug across all four beginVariant = v2var somatic branches (crates/vardictrust-core/src/postprocess/somatic.rs, src/lib.rs), matching SomaticOutputVariant.java:80 on somatic -D .var streams |
sv-mate-max-read-length |
StructuralVariantsProcessor.java:1508 (partialPipeline mate-window maxReadLength scope isolation) |
sv::partial_pipeline_paths wrote back parser.max_read_length into var_data.max_read_length after scanning candidate mate windows, whereas Java discards the returned child Scope |
Remove the non-Java max_read_length writeback in sv::partial_pipeline_paths (crates/vardictrust-core/src/sv.rs) so candidate mate-window reads never mutate caller var_data.max_read_length |
realign-partial-seed-max-read-length |
VariationRealigner.java:1058, 1270, 1661, 1826 (partialPipeline maxReadLength seeding) |
realign::partial_pipeline initialized CigarParser with max_read_length = 0 instead of the caller's max_read_length, under-scaling 2 * maxReadLength SA chimeric soft-clip checks in realignlgdel and realignlgins candidate windows |
Seed realign::partial_pipeline with caller max_read_length across all four realignlgdel and realignlgins call sites (crates/vardictrust-core/src/realign.rs) without writing back candidate-window read lengths |
split-tile-multi-bam-active-limit |
SAMFileParser.java:14, RecordPreprocessor.java:57-64 (multi-BAM -b b1:b2:b3 reader cutoff across split tiles) |
Split-tile pileup evaluated idx > 0 && !any_passed locally per tile, dropping b3 reads in tiles where b2 had 0 reads even when b2 had passing reads elsewhere in the parent region |
Record active_bam_limit across the full parent region in scan_multi_regions_max_read_lengths / scan_multi_tile_max_read_lengths and enforce parent_active_bam_limit in run_pipeline_on_records_ext while retaining full bam_paths for #187 index validation, realign_indels, and find_all_sv_paths (crates/vardictrust-core/src/lib.rs) |
amplicon-bam-query-bounds |
AmpliconMode.java:61, 98, SamView.java:20-21 (queryOverlapping(region.chr, region.start, region.end)) |
process_amplicon_region queried [region.start - 500, region.end + 500], keeping trailing colon-BAMs alive on halo-only reads and seeding -t duplicates from upstream non-overlapping reads |
Query exact [region.start, region.end] (region.start.to_zero_based()..Pos0(region.end.0)) in process_amplicon_region (crates/vardictrust-core/src/lib.rs) while keeping Some(region) reference loading unchanged |
crispr-eqx-aligned-length |
Patterns.java:152 (ALIGNED_LENGTH_MD = "(\\d+)[MD=X]"), CigarParser.java:634-646 (skipSitesOutRegionOfInterest) |
CRISPR cut-site filtering computed rlen3 via [MD]-only get_aligned_length_amp, treating =/X CIGAR spans (75=1X74=) as rlen3 = 0 |
Compute rlen3 via get_aligned_length_md_eqx (Match \| Deletion \| SequenceMatch \| SequenceMismatch) in CigarParser::parse_cigar (crates/vardictrust-core/src/cigar/parse.rs), preserving get_aligned_length_amp for CigarParser.getAlignedLength |
splice-tile-prescan-and-dedup |
SplicingMode.java:54-60, CigarParser.java:86-110 (untiled -i region pileup and -t duplicate state) |
Multi-tile -i skipped prepare_tiles_and_prescan (parent_original_start = None, steps_slice = &[]) and evaluated replay_prescan_candidate overlap indices against [tile.start, tile.end] instead of halo-wide [tile.halo_start, tile.halo_end] |
Populate multi_tile_seeds on multi-tile -i runs and align replay_prescan_candidate MaxRlStep overlap indices to (tile.halo_start, tile.halo_end) whenever config.splice is set (crates/vardictrust-core/src/lib.rs) |
vcf-chrom-spaces-and-debug-half-even |
var2vcf_valid.pl:44, 116, 236, var2vcf_paired.pl:43-49, 115, 238, Variant.java:268-282 (#CHROM sample names & -D DecimalFormat) |
#CHROM translated ASCII spaces in -N to '_' alongside INFO/SAMPLE, and Variant::debug_variants_content formatted -D floats with Rust default {:.N} instead of round_half_even (DecimalFormat HALF_EVEN) |
Preserve ASCII ' ' in single and paired #CHROM sample headers while replacing non-space Unicode whitespace (\u{0085}, \u{2028}, \u{2029}) with '_' (crates/vardictrust-core/src/output/vcf.rs), and format Variant::debug_variants_content via round_half_even (crates/vardictrust-core/src/variations/mod.rs) |
raw-af-filter-token |
AstraZeneca-NGS/VarDict@009e017 (var2vcf_valid.pl:21,99,159, var2vcf_paired.pl:21,85,165), MHH-Bioinformatics-Hematology/vardictcpp#4 |
VCF ##FILTER=<ID=f...,Description=...> and record FILTER formatted parsed f64 (-f 0.050 \(\to\) f0.05, -f 1e-5 \(\to\) f0.00001, -f .01 \(\to\) f0.01) instead of Perl's raw $FREQ string interpolation |
Preserve sanitized raw CLI -f / --vcf-af token in Config::af_threshold_raw (crates/vardictrust-core/src/config.rs, src/output/vcf.rs, crates/vardictrust/src/cli.rs), matching var2vcf_valid.pl (-f 0 \(\to\) f0.02, -f 0.0 \(\to\) f0.0, -f 0.050 \(\to\) f0.050, -f 1e-5 \(\to\) f1e-5, -f .01 \(\to\) f.01) and var2vcf_paired.pl (-f 0 \(\to\) f0) byte-for-byte |
csi-linear-loffset-spanning-sv |
clintval/vartovcf#161, samtools/hts-specs (CSIv1.pdf) |
Stock noodles::csi::binning_index::Indexer::<BinnedIndex>::new(14, 6) computed each CSI bin's loffset only from records placed in that bin or its descendants, omitting ancestor-bin spanning <DEL>/<DUP>/<INV> SVs across multiple BGZF blocks and causing tabix / bcftools view -r to skip spanning SVs at interior leaf-bin queries |
Build .vcf.gz.csi via Indexer::<LinearIndex>::new(14, 6) converted to Index<BinnedIndex> with 16 kbp linear-window loffset propagation plus contig-contiguity and non-decreasing POS checks in scan_bgzf_vcf_index_records (crates/vardictrust-core/src/lib.rs), guaranteeing 0 dropped spanning SVs under tabix and bcftools view -r |
Needs a Specification First (Debatable Heuristics; No CompatProfile Switch Until Specified)¶
Graduation from this table to a CompatProfile switch under --compat=off (v1.2.0+ / v2.0.0+) requires a community RFC and empirical concordance benchmarking against NIST GIAB and SEQC2 truth sets.
| Area | Upstream Reference | Current Behavior & Scope | Specification Requirement |
|---|---|---|---|
| Filter Sensitivity | AstraZeneca-NGS/VarDictJava#62, AstraZeneca-NGS/VarDictJava#362, AstraZeneca-NGS/VarDictJava#365, AstraZeneca-NGS/VarDict#68, AstraZeneca-NGS/VarDict#154, AstraZeneca-NGS/VarDict#160, AstraZeneca-NGS/VarDict#194 |
Heuristic over-filtering (LongMSI, InGap/InIns, NM, amplicon primer-edge overlap) of candidate variants in low-frequency somatic calling |
Calibrate filtering thresholds and optional --vcf-* overrides across depths without inflating false positives |
| Realignment Drops & Cis/Trans Merging | AstraZeneca-NGS/VarDictJava#363, AstraZeneca-NGS/VarDictJava#198, AstraZeneca-NGS/VarDictJava#306, AstraZeneca-NGS/VarDictJava#312, AstraZeneca-NGS/VarDictJava#397, AstraZeneca-NGS/VarDict#35, AstraZeneca-NGS/VarDict#152, AstraZeneca-NGS/VarDict#174, Clinical-Genomics/BALSAMIC#1519, DeteX (PMC9859626) |
Candidate variants dropped or cis/trans germline+somatic alleles merged/split during local realignment (-k 1 / adjustMNP) around complex indels and ITDs |
Specify haplotype-aware realignment scoring and phasing guards for complex haplotypes |
| Low-AF Noise Filtering | AstraZeneca-NGS/VarDictJava#381, AstraZeneca-NGS/VarDictJava#16, AstraZeneca-NGS/VarDictJava#388 |
Ambiguous thresholds for < 1% VAF calls and 1-bp homopolymer indels in deep DNA and spliced RNA-Seq (N CIGAR) alignments |
Establish empirical noise model for deep targeted panels and spliced RNA-Seq overhangs |
Insertion Coverage (HICOV & &-Insertion DP) |
ToVarsBuilder.java:331-333,523-538, clintval/vartovcf#112, clintval/vartovcf#102, palakpsheth/VarDictRust#160 (Item 6 6A + 6B deferred to v2.0 alongside AstraZeneca-NGS/VarDictJava#62) |
HICOV excludes insertions at POS (HICNT <= HICOV is enforced under --compat=off via reconcile_vd_dp), and &-insertions overwrite POS totalPosCoverage with POS + 1 depth (start_position = pos + 1); empirical Wave-7 evaluation showed 6B loses -1 diploid TP at HG002 chr20:19263033 (LongMSI) and 6A dilutes 1/1 hom-alt HG002 chr20:23748918 G>ACA (AF 0.8353 -> 0.7889) |
Co-design insertion-locus HICOV / &-insertion DP denominators alongside v2.0 LongMSI / homozygous-genotype calibration (VarDictJava#62) without losing GIAB diploid indel recall |
Somatic Multi-Allelic lofreq/nmfreq Boundaries |
joachimwolff/VarDictJava#4, clintval/vartovcf#133, AstraZeneca-NGS/VarDictJava#355, AstraZeneca-NGS/VarDictJava#356, AstraZeneca-NGS/VarDict#171, AstraZeneca-NGS/VarDict#178, palakpsheth/VarDictRust#160 |
Item 7 (7A + 7B) is fully graduated across Switches 18, 36, 39 (somatic_continue_after_bad_var + somatic_reconcile_split_alleles [loo_7B == 0 across 9/9 cohorts] + somatic_loh_homozygous_alt); residual lofreq/nmfreq multi-allelic LOH boundary thresholds retain upstream values |
Benchmark multi-allelic normal LikelyLOH vs Germline VAF boundary thresholds against SEQC2 and GIAB HG008 somatic/LOH truth in v2.0 |
Trans-Haplotype MNV Phasing & RefFwd/RefRev Attribution |
clintval/vartovcf#101, clintval/vartovcf#146, clintval/vartovcf#155, clintval/vartovcf#156, clintval/vartovcf#160, clintval/vartovcf#169, clintval/vartovcf#173, clintval/vartovcf#174, clintval/vartovcf#179, palakpsheth/VarDictRust#160 |
Item 9 (adjust_mnp RIGHT CHECK spanning-read DP double-counting and 100%-orphan cis prefix pruning) graduated via Switch 40 (mnp_exact_right_fold), and DP >= RD + VD is enforced by reconcile_rd_vd_dp; trans-haplotype suffix SNV phasing and RefFwd/RefRev strand attribution remain upstream |
Specify full read-phased trans-haplotype SNV disambiguation and RefFwd/RefRev strand attribution for v2.0 |
Unspanned realignlgins (>= 50 bp) Soft-Clip Stitching |
clintval/vartovcf#182, AstraZeneca-NGS/VarDict#186, ArCH (PMC11014783), palakpsheth/VarDictRust#160 |
adj_snv flank checking graduated via Switch 37 (adj_snv_full_sclip_match) and unspanned realignlgins30 TruSeq chimera rejection graduated via Switch 41 (strict_unspanned_lgins_stitch); realignlgins still stitches >= 50 bp insertions / <DUP> candidates from opposing soft-clips without requiring a single spanning read |
Calibrate spanning-read vs split-clip assembly requirements for realignlgins (>= 50 bp) in v2.0 without dropping true FLT3-ITDs or -sp amplicon insertions |
Binary PSTD/QSTD Indicators |
AstraZeneca-NGS/VarDictJava#263, ToVarsBuilder.java:584-587 |
Equal-length substitution SHIFT3=0 clamping shipped under indel_only_shift3; PSTD and QSTD still encode binary 0/1 variation flags rather than continuous sample standard deviations |
Evaluate dedicated true-SD INFO tags in v2.0 while preserving PSTD=0 single-position filter semantics |
Upstream & Cross-Ecosystem PRs, Issues, & Forks Reviewed¶
| Upstream / Ecosystem Reference | Title / Focus Area | Disposition in VarDictRust |
|---|---|---|
AstraZeneca-NGS/VarDictJava#402, hedera-dx/VarDictJava@17d1cb51 |
Fix negative CIGAR deletion lengths in modifyCigar |
Replicated crash-safety in v1.0.0 (--compat=vardictjava); SHIPPED (v1.1.0 COMPAT_OFF) via CompatProfile::cigar_homopolymer_merge under --compat=off |
AstraZeneca-NGS/VarDictJava#341, AstraZeneca-NGS/VarDictJava#103, Kennedy-Lab-UW/VarDictJava@9a0beb0d |
Outer <N>[HP] hard-clip/pad CIGAR stripping adjacent to terminal D/I |
Crash-safe in default mode; SHIPPED (v1.1.0 COMPAT_OFF) via CompatProfile::cigar_strip_outer_hard_clips (without advancing alignment_start) |
AstraZeneca-NGS/VarDictJava#303, AstraZeneca-NGS/VarDictJava#301, AstraZeneca-NGS/VarDictJava#326, AstraZeneca-NGS/VarDict#191, crutching/VarDictJava |
Single-primer extension amplicon calling (-sp, QIAseq V3 / ArcherDX, Gong et al., Sci. Data 2022) |
SHIPPED (v1.1.0): Opt-in --amplicon-single-primer / -sp enforces the -a distance threshold only on primed amplicon edge(s) (col7 > col2 5'-primed, col8 < col3 3'-primed) and bypasses the sheared-end overlap fraction filter |
AstraZeneca-NGS/VarDictJava#241, AstraZeneca-NGS/VarDictJava#240, AstraZeneca-NGS/VarDict#119, PolinaBevad/VarDictJava@92c62cf6 |
Screen soft-clip findConseq consensuses for TruSeq/Illumina adapters across all callers |
SHIPPED (v1.1.0 COMPAT_OFF): CompatProfile::adaptor_all_consensus_dirs passes dir = 5/3 and --adaptor sets across all 20 previously dir = 0 soft-clip find_conseq* call sites so adjust_mnp never poisons Sclip.sequence memoization |
AstraZeneca-NGS/VarDictJava#398, AstraZeneca-NGS/VarDictJava#229, AstraZeneca-NGS/VarDict#111, clintval/vartovcf#192, clintval/vartovcf#107, clintval/vartovcf#161 |
Canonical VCFv4.2 1-bp upstream SV anchoring, ##ALT headers, signed SVLEN, and --csi spanning-SV linear loffset indexing |
SHIPPED (v1.1.0): CompatProfile::canonical_sv_vcf_anchoring under --compat=off + ungated Indexer::<LinearIndex> --csi spanning-SV fix (0 dropped SVs under tabix / bcftools view -r) |
AstraZeneca-NGS/VarDictJava#378, AstraZeneca-NGS/VarDictJava#155, AstraZeneca-NGS/VarDict#109, MHH-Bioinformatics-Hematology/vardictcpp#1, MHH-Bioinformatics-Hematology/vardictcpp#3 |
Paired tumor-normal somatic amplicon calling (-b "T\|N" -a) |
SHIPPED (v1.1.0 COMPAT_OFF): CompatProfile::paired_somatic_amplicon runs per-amplicon pileup and AMPBIAS concordance across tumor and normal BAMs/CRAMs across 55/61-col .var and 11-col VCF |
joachimwolff/VarDictJava#4, clintval/vartovcf#139, clintval/vartovcf#149, AstraZeneca-NGS/VarDictJava#376, bioconda/bioconda-recipes#67584 |
Multi-allelic tumor somatic continue (Fang et al., Nat. Biotechnol. 2021) & bioconda::vardict-java=1.8.4 (joachimwolff/VarDictJava 030423d2) |
SHIPPED (v1.1.0–v1.2.0 COMPAT_OFF): Part 1 continue and Part 2 normal fallback (Item 7A + 7B) graduated across Switches 18, 36, 39, 47 (somatic_continue_after_bad_var, somatic_reconcile_split_alleles, somatic_loh_homozygous_alt, somatic_multiallelic_loh_rescue); vardict-oracle stays strictly pinned to vardict-java=1.8.3 (0886261) |
MHH-Bioinformatics-Hematology/vardictcpp#2, MHH-Bioinformatics-Hematology/vardictcpp#4, MHH-Bioinformatics-Hematology/galaxytools#12, bioconda/bioconda-recipes#68008, bioconda/bioconda-recipes#71981, bioconda/bioconda-recipes#71875, nf-core/modules#13830 |
Raw -f filter token parity (Lai et al., NAR 2016), vardictcpp v4 (ce0beb86ce, Wolff, GigaByte 2026), & Bioconda/nf-core packaging |
SHIPPED (v1.1.0): Default raw-af-filter-token parity, hidden --vcfall/--noend/--vcfpass/--vcf CLI aliases, and recipe-pin-aware pure-MIT checks (palakpsheth/VarDictRust#156); [advisory_comparators.vardictcpp] stays pinned at 3 (hc52dbad_0) per AGENTS.md §14 |
AstraZeneca-NGS/VarDictJava#248 vs MHH-Bioinformatics-Hematology/vardictcpp (svffus/svrfus) |
Unimplemented <FUS> inter-chromosomal fusion emitter vs live SOFTP2SV[p][0].used side effect |
Retained by design: Although AstraZeneca-NGS/VarDictJava#248 never implemented findFUS() to emit <FUS>, StructuralVariantsProcessor clustering of svffus/svrfus mutates SOFTP2SV[p][0].used = true (vardictcpp docs/DIVERGENCES.md), suppressing a spurious <INV> call at chr18:18518111 — not dead code |
bcbio/bcbio-nextgen#1704, bcbio/bcbio-nextgen#3321, bioinform/somaticseq, sigven/pcgr#12, EBIvariation/vcf-validator#99, clintval/vartovcf#99, clintval/vartovcf#101, clintval/vartovcf#105, clintval/vartovcf#109 |
Downstream clinical pipeline & VCFv4.2/4.3 validator post-filters (QUAL >= 0, IUPAC ALT, AD Number=R, non-SV INFO/END, GT 1/0 & 0/0, post-adjComplex TYPE) |
SHIPPED (v1.1.0 COMPAT_OFF): Switches 23–32 eliminate external awk/bcftools post-sanitizers across bcbio, BALSAMIC, SomaticSeq, PCGR, GATK ValidateVariants, and rtg vcfeval (Cleary et al., bioRxiv 2015) |
Crispy13/VarDictRust2, LeiHaoa/RabbitVar, roysomak4/VarDict-Go, fengqing-dong/VarDictJava, Schaudge/VarDictJava, invitae/VarDictJava, Belay-Diagnostics/VarDictJava |
Community VarDict ports (VarDictRust2, RabbitVar, VarDict-Go), clinical ctDNA/UMI forks (F1R2/F2R1, --hotspot), and Java CVE remediation forks |
Evaluated & cataloged in docs/ecosystem-survey.md: -UN unpaired-read IllegalStateException (Crispy13/VarDictRust2) and Java CVEs (invitae, Belay-Diagnostics, AstraZeneca-NGS/VarDictJava#396, AstraZeneca-NGS/VarDictJava#399) are eliminated in VarDictRust; fengqing-dong (F1R2/F2R1) and Schaudge (--hotspot) inform v2.0 (palakpsheth/VarDictRust#96) |
AstraZeneca-NGS/VarDictJava#137, AstraZeneca-NGS/VarDictJava#371, AstraZeneca-NGS/VarDictJava#372, AstraZeneca-NGS/VarDictJava#335 |
NA12878 VD > DP / somdict bounds PR (AstraZeneca-NGS/VarDictJava#137), plus Java logging, Gradle build, and HTSJDK exception PRs |
AstraZeneca-NGS/VarDictJava#137 covered by reconcile_vd_dp + strict_region_bounds; build/logging/I/O PRs handled natively in Rust via clap, Cargo, and noodles Result types |
Post-1.0 Features¶
Post-1.0 features ship strictly as opt-in modes so default invocations (--compat=vardictjava / --parity) remain byte-identical to the v1.0.0 baseline and maintain bounded peak memory (\(\le 3\text{ GB}\)):
- Unique Molecular Identifiers (UMI) (
fgumi/fgbioConsensus Interop Shipped inv1.2.0; In-Caller Collapsing Planned forv2.0,AstraZeneca-NGS/VarDictJava#374,palakpsheth/VarDictRust#96): External Fulcrum Genomicsfgumi/fgbiosimplex, duplex, and CODEC consensus-BAM/CRAM interoperability (cD/aD/bD/MItags) SHIPPED (v1.2.0) viaCompatProfile::consensus_bam_compat(Switch 42); integrated tile-local UMI collapsing (--umi-tag RX, modeled onfgumiandfengqing-dong/VarDictJava) remains av2.0evaluation item. - Read-Pair Orientation Bias Filtering (
F1R2/F2R1,--orientation-bias[=MAX_AF:MIN_SOB:MAX_OBP|annotate]) — SHIPPED (v1.2.0,palakpsheth/VarDictRust#96): Opt-in--orientation-bias[=MAX_AF:MIN_SOB:MAX_OBP|annotate]annotatesFORMAT/F1R2,F2R1(Number=R),INFO/OBPFisher exact p-value, andINFO/SOBstrand-orientation bias score, applyingFILTER=OrientationBias(0.10:0.80:0.01by default, customizable via=MAX_AF:MIN_SOB:MAX_OBPor disabled via=annotate, duplex-aware onaD >= 1 && bD >= 1consensus molecules) to suppress single-strand FFPE cytosine deamination (C>T/G>A) and acoustic-shearing 8-oxoG (C>A/G>T) artifacts (learned sample-wide Beta-Binomial priors remainv2.0). - Long-Read NGS Support (
--preset hifi|ont,--noise-model,--methylation) — SHIPPED (v1.2.0+,AstraZeneca-NGS/VarDictJava#368,palakpsheth/VarDictRust#96): PacBio HiFi (--preset hifi) and Oxford Nanopore R10.4+/UL (--preset ont) workflow presets with25 kbptile halos (163,840 bpsplit-tile seam halo),2,048 bpsoft-clip/indel realignment windows (10 kbplocal realignment cap),2,000 bpfind_bpSV overhang/decay,SA:Zsupplementary split-read<DEL>/<DUP>/<INV>/<INS>chaining with foldback-hairpin rejection and 1-read normal somatic veto,HP:i/PS:ihaplotype phasing (INFO/HAP,INFO/HPS,FILTER=HapBias),MM:Z/ML:B:Ccis-CpG 5mC+5hmC methylation (--methylation,FORMAT/METH,INFO/DMETH), calibrated Beta-Binomial polymer-stutter filtering (--noise-model,INFO/ERRP,FILTER=PolymerNoise, enabled by default onhifi/ont), and quantized non-overlapping>= 64 KiBONT-ULreference chunks (full-read gap-affine alignment and VNTR motif genotyping stay delegated to upstream alignersminimap2/pbmm2and specialized TR callersTRGT/LongTR/sawfish, interoperating cleanly viaSwitch 49sv_downstream_vcf_interop). - Native Compressed VCF, Consolidated
var2vcfPost-Filters,--compatProfiles, Clinical Presets & Run Telemetry: SHIPPED (v1.0.8–v1.2.0,AstraZeneca-NGS/VarDictJava#324,clintval/vartovcf#161,palakpsheth/VarDictRust#94,palakpsheth/VarDictRust#96):--output <PATH>(plain.vcf/.varand multithreaded BGZF.gz/.bgzvianoodles::bgzf::io::MultithreadedWriter), direct.tbiTabix (--tbi/--indexvianoodles::tabix) and.csi(--csivianoodles::csiIndexer::<LinearIndex>spanning-SVloffsetpropagation) index generation, all 18/18 consolidatedvar2vcf_valid.pl/var2vcf_paired.plCLI flags including--vcf-all-alleles/--all-alleles(resolving the legacy-Aflag collision withvar2vcf_valid.pl) plus--orientation-bias,--noise-model,--methylation, and--amplicon-single-primer/-sp, hiddenvardictcpp v2..v4drop-in aliases (--vcfall,--noend,--vcfpass,--vcf),--completions/--manpage,--compat=<vardictjava|off>(##VarDictRustCompat=off), and--preset wgs|wes|amplicon|ctdna|hifi|ont(##VarDictRustPreset=<PRESET>) completing the95-flag CLI surface across7functional groups (--no-end,--pass-only,--paired-strict,--vcf-all-alleles/--all-alleles,--vcf-pval,--min-splitreads,--no-pstd-filter,--vcf-af,--vcf-min-depth,--vcf-min-vd,--vcf-qmean,--vcf-mapq,--vcf-pmean,--vcf-sn,--vcf-max-nm,--vcf-gt-freq,--vcf-msi,--vcf-cluster-distwithSingleRecordStreamerbounded-memory cluster buffering,--orientation-bias,--noise-model, and--methylation; documented indocs/migration.md), and--stats-json <PATH>pipeline telemetry.
Audit Follow-ups — 2026-10-16 Full Rust Audit (parity-sensitive, needs oracle proof)¶
Deferred items from the full production-Rust audit. Each needs harness/compare.sh MATCH + diff-confinement before landing; default --compat=vardictjava output stays v1.0 byte-identical.
| ID | Location | Behavior (v1.0 kept) | Disposition / --compat=off or Opt-In |
|---|---|---|---|
audit-somatic-dedup |
lib.rs (SplitVarDeduper, SpillableVcfAccumulator) |
Somatic tiles previously emitted .var rows directly without cross-tile boundary dedup. Tiling is Rust-only; §10 requires tiled == single-region. |
LANDED (VarDictRust#91, PR #99 SplitVarDeduper 200 kbp sliding window + PR #78 whole-stream SpillableVcfAccumulator 8 MiB spill bound; tiled-vs-untiled .var/.vcf/SV/splice conservation tests in PR #100, PR #101 & PR #104). |
audit-fisher-stream |
stats/fisher.rs, stats/f80.rs, output/vcf.rs |
support/logdc Vecs previously materialized hypergeometric support on the heap. |
LANDED (VarDictRust#90, PR #98–#107): Zero-alloc support_len() algebraic indexing (PR #98), 4,096-entry thread-local LRU cache (PR #100), 1-point fast return (PR #101), f80_sum_iter streaming summation (PR #102), StackBuf odds-ratio formatting (PR #104–#105), i64 / usize::abs_diff support bounds (PR #106), and build_single_vcf_event --pass-only Fisher/uniroot short-circuiting in output/vcf.rs + i64 iteration/exponent guards in stats/{zeroin,f80}.rs (PR #107; eps <= 1e-6). |
audit-stream-pileup |
lib.rs, bam.rs |
Per-tile Vec<SamRecord> previously buffered whole-contig reads on untiled runs (violating §10 bounded-mem at WGS depth). |
LANDED: Streaming per-tile BamFeed + bounded halo tiling (lib.rs, bam.rs); zero whole-contig read buffering (tiled == single verified). |
audit-ref-multiregion |
reference.rs:101-105 |
get_base fallback reuses current-region offset for reference_sequences (wrong base after multi-region loads; latent single-region). Tests rely on fallback. |
LANDED (#47 / PR #48): interval-stack loaded_chunks across auxiliary get_reference calls, 0 SV diffs across full-genome HG002 (4.7M variants). |
audit-amplicon-expand |
lib.rs:657 |
for p in insert_start..=insert_end per-base BTreeMap expansion OOMs on huge BED interval. |
LANDED (Tasks 4b/4d): interval-overlap test + -p streaming, oracle-MATCHED, capped by in-tree mem test. |
sv-lazy-mate-pileup |
sv.rs (find_inv_sub_paths, StructuralVariantsProcessor.java:627-628) |
find_inv_sub_paths runs partial_pipeline_paths(mstart - 200, mend + 200) eagerly under --compat=vardictjava before checking whether any local >= 12 bp soft-clip exists (softp) or matches reference (find_match_rev). On NovaSeq 2-color WGS (HG008-T\|N), dark-cycle poly-G sinks (chr2:32,916,196, 25M reads) trigger \(O(N_{\text{windows}} \times 25\text{M})\) wasted mate-region BAM re-scans across chr2. |
LANDED (v1.1.0 COMPAT_OFF, CompatProfile::sv_lazy_mate_pileup): Gates find_inv_sub_paths mate-window loads on local >= 12 bp soft-clip presence and defers partial_pipeline_paths until find_match_rev + gap validation succeed under --compat=off (--compat=vardictjava preserves eager mate pileup). |
2026-11-08 Critical Engineering & Ecosystem Review Priorities¶
Prioritized engineering and clinical follow-ups from the comprehensive survey of Fulcrum Genomics, PacBio Rust tools, clinical literature, and VarDictRust v1.0.7 hotspots (see docs/ecosystem-survey.md; tracked in GitHub issues VarDictRust#90–VarDictRust#96):
| Tier | ID | Location | Action & Verification Gate |
|---|---|---|---|
Tier 1 (v1.0.8 Zero-Diff, #90) |
fastpath-modify-cigar |
cigar/modify.rs, cigar/parse.rs, sv.rs, tovars.rs, variations/mod.rs |
LANDED (PR #98–#107): Single-Match (150M) and pure S/M in-place modify_cigar fast-paths, zero-copy seq/qual read slices, modify_cigar_preserving_buffers scratch capacity restoration, hoisted adjusted_nm, stack ByteSet ([u64; 4]), and direct byte-slice CIGAR scanners (cigar/modify.rs, cigar/parse.rs, realign.rs); inline single-allele VariationEntries + JavaHashMap new-key delta log, Somatic RefSiteMode/CompactRefSite elision, O(W_mate log W_mate) SV partial_pipeline delta log, i32::MAX overflow saturation, zero-clone ToVarsBuilder (Vars::variant_by_desc), Variant.bias buffer reuse (postprocess/), ZERO_VARIANT, single-winner BTreeMap bucketing + SpillableVcfAccumulator::insert IndexMap::get_mut(chr) fast-path (lib.rs), FxHashMap non-iterated pileup maps, StackBuf / write_perl_num_str formatting, and single-buffer SingleVcfRecord / PairedVcfRecord (output/vcf.rs) + write! .var row formatting (output/table.rs). Gate: endpoint-mismatch parity fixtures + pr_check.sh 0 diffs. |
Tier 1 (v1.0.8 Zero-Diff, #90) |
parallel-max-rl-scan |
lib.rs |
LANDED (PR #102): Parallelized multi-tile region scan_multi_tile_max_read_lengths pre-scans across run_parallel_for_bam in run_simple and run_somatic (lib.rs), preserving exact BED-order determinism and CRAM/BAM worker stack floors. |
Tier 1 (v1.0.8 Zero-Diff, #90) |
direct-loaded-region |
reference.rs, realign.rs, stats/fisher.rs, stats/f80.rs, output/vcf.rs |
LANDED (PR #98–#107): Shared Arc<[u8]> Reference spans (RegionSpanSlot), inlined Reference::get_base primary-region fast-path with SEED1_LEN fallthrough, word-packed [u64; 3] SeedKey, and bounded SeedMap table pre-sizing (reference.rs); Cow<[u8]> strip_markers, join_ref_for_5_lgins / join_ref_for_3_lgins zero-intermediate flanking builders, stack ByteSet, and in-place mismatch/consensus reuse in realignment (realign.rs); eliminated FisherExact::support and sum_elements heap allocations via algebraic support_len(), 1-point fast return, f80_sum_iter, 4,096-entry thread_local! LRU cache, StackBuf odds_ratio_buf / write_odds_ratio_into (stats/fisher.rs, stats/f80.rs), and build_single_vcf_event --pass-only Fisher/uniroot skip (output/vcf.rs). |
Tier 1 (v1.0.8 Zero-Diff, #90) |
bgzf-cache-scale |
bam.rs |
LANDED (PR #98, PR #104, PR #105 & PR #107): Expanded BGZF_BLOCK_CACHE (\(8 \to 32\) shards, BGZF_CACHE_SHARDS = 32) to eliminate 32-thread fetch_block Arc eviction churn, LUT/vectorized BAM sequence decode + zero-copy read slices, cached SharedBamMeta contig tables, decoded BamFeed CIGARs in a single pass with checked span-overflow rejection (InvalidData), validated CRAM container spans lock-free via Header::reference_sequences(), constructed build_noodles_region directly, and replaced -t HashSet<String> with typed FxHashSet<DupKey> (MateRefKey). |
Tier 1 (v1.0.8–v1.2.0 CLI & Hardening, palakpsheth/VarDictRust#91, palakpsheth/VarDictRust#93, palakpsheth/VarDictRust#94, palakpsheth/VarDictRust#96) |
cli-bed-cram-hardening |
cli.rs, completions_man.rs, main.rs, regions.rs, runner.rs, lib.rs, UPSTREAM.toml |
LANDED (palakpsheth/VarDictRust#97–palakpsheth/VarDictRust#107 & v1.1.0–v1.2.0): Cross-tile .var dedup via SplitVarDeduper + tiled .var/.vcf/SV/splice conservation tests (palakpsheth/VarDictRust#91, lib.rs); StagedFileTarget atomic .tmp.<pid>.<seq> staging across --output <PATH> (plain + multithreaded BGZF .gz/.bgz with File::sync_all verification and input-collision guards), --tbi / --index Tabix (.vcf.gz.tbi, with actionable --csi hint above 512 Mbp), --csi (.vcf.gz.csi), and --stats-json <PATH>; all 18/18 consolidated var2vcf_*.pl CLI flags including --vcf-all-alleles / --all-alleles, --orientation-bias, --noise-model, --methylation, --amplicon-single-primer / -sp, hidden vardictcpp v2..v4 aliases (--vcfall, --noend, --vcfpass, --vcf), zero-dependency --completions <SHELL> (bash/zsh/fish), --manpage (vardictrust(1) roff), --compat=<vardictjava\|off>, and --preset wgs\|wes\|amplicon\|ctdna\|hifi\|ont completing the 95-flag CLI surface across 7 functional groups (--no-end, --pass-only, --paired-strict, --vcf-all-alleles / --all-alleles, --vcf-pval, --min-splitreads, --no-pstd-filter, --vcf-af, --vcf-min-depth, --vcf-min-vd, --vcf-qmean, --vcf-mapq, --vcf-pmean, --vcf-sn, --vcf-max-nm, --vcf-gt-freq, --vcf-msi, --vcf-cluster-dist with SingleRecordStreamer bounded-memory cluster buffering and GNU defined() zero semantics, --orientation-bias, --noise-model, and --methylation; documented in docs/migration.md), -T/--trim, -n <REGEXP> (corpus), -VS SILENT\|LENIENT, clustered -pz/-uk/-ua, RAYON_NUM_THREADS fallback, GRCh38 HLA-* colon-contig -R/BED support (regions::parse_region_flag + pub(crate) bam::build_noodles_region), --parity / --compat=<vardictjava\|off> CLI pinning (palakpsheth/VarDictRust#94), Commons-CLI single-dash long-flag parity + single-dash GNU typo guards + value-aware UNSUPPORTED_FLAGS, verbose_eprintln! stderr BrokenPipe safety, AGENTS.md §9 checked/saturating arithmetic guards, deterministic sorted -i splice output, automatic 64 MiB CRAM worker stack floor, -c 1 -S 2 -E 3 -z BED column hint (palakpsheth/VarDictRust#54), MSRV 1.91.0 + crates.io metadata sync, cli.rs --version license sync, and UPSTREAM.toml provenance manifest (palakpsheth/VarDictRust#93). |
Tier 2 (v1.1.0 Cleanroom MIT, palakpsheth/VarDictRust#92) |
cleanroom-rmath-mit |
stats/hypergeom.rs, stats/fisher.rs, Cargo.toml:9, deny.toml |
LANDED (v1.1.0): Replaced legacy R hypergeometric files with a cleanroom Catherine Loader (2000) saddlepoint binomial-deviance and Stirling-error implementation in stats/hypergeom.rs (f80_sum extended-precision accumulation), matching 259/259 testdata/fisher/r_fisher_oracle.tsv tables (0 flips) and all certified cohorts within \(\varepsilon \le 10^{-6}\), restoring pure MIT workspace licensing across Cargo.toml, Bioconda, nf-core, and deny.toml. |
Tier 2 (v1.1.0–v1.2.0 --compat, Presets & Orientation Bias, palakpsheth/VarDictRust#94, palakpsheth/VarDictRust#95, palakpsheth/VarDictRust#96, palakpsheth/VarDictRust#158, palakpsheth/VarDictRust#160) |
compat-profile-and-presets |
crates/vardictrust-core/src/config.rs, crates/vardictrust/src/cli.rs, output/vcf.rs |
LANDED (v1.1.0–v1.2.0, closing palakpsheth/VarDictRust#94, palakpsheth/VarDictRust#95 6/6, palakpsheth/VarDictRust#158, palakpsheth/VarDictRust#160, and v1.2.0 scope of palakpsheth/VarDictRust#96): bwa-mem3-style --compat=<vardictjava\|off> (CompatProfile #[non_exhaustive], ##VarDictRustCompat=off VCF header, zero per-bug --fix flags), all 49 COMPAT_OFF switches (sanitize_sample_info, standard_dup_symbolic_alt, shift3_3prime_alleles, strict_region_bounds, suppress_pileup_sentinels, live_duprate, preserve_mixed_sex_contigs, cigar_homopolymer_merge, eqx_cigar_read_length, preserve_discordant_svs, mark_dup_sv_inclusive_end, sv_lazy_mate_pileup, exact_binary_half_even, reconcile_vd_dp, coordinate_sorted_vars, exact_35_overlap, exact_cigar_dlen_match, somatic_continue_after_bad_var, adaptor_all_consensus_dirs, canonical_sv_vcf_anchoring, paired_somatic_amplicon, cigar_strip_outer_hard_clips, nonnegative_subtracted_means, reconcile_strand_and_hq_sums, reconcile_rd_vd_dp, sanitize_iupac_alt_alleles, sv_respect_min_len, pileup_preserve_shifted_ref, recompute_vartype_after_adj_complex, strict_vcf_ad_number_r, omit_nonsv_vcf_end, canonical_vcf_gt, sclip_majority_count_first, mate_overlap_both_strands, canonical_vcf_complex_left_align, somatic_reconcile_split_alleles, adj_snv_full_sclip_match, indel_only_shift3, somatic_loh_homozygous_alt, mnp_exact_right_fold, strict_unspanned_lgins_stitch, consensus_bam_compat, insertion_hicov_and_local_amp_dp, mnp_cis_haplotype_phasing, complex_indel_and_lgins_concordance, spliced_overhang_and_homopolymer_filter, somatic_multiallelic_loh_rescue, continuous_pstd_qstd, sv_downstream_vcf_interop) plus zero-diff contiguous-slice realign::is_match / is_match_ref fast-paths, single-primer amplicon --amplicon-single-primer / -sp (AstraZeneca-NGS/VarDictJava#303), 18/18 var2vcf_*.pl parity via --vcf-all-alleles / --all-alleles (AstraZeneca-NGS/VarDictJava#65), F1R2/F2R1 orientation-bias filtering via --orientation-bias, Beta-Binomial polymer-stutter filtering via --noise-model, cis-CpG 5mC+5hmC annotation via --methylation, and clinical/long-read workflow presets --preset wgs\|wes\|amplicon\|ctdna\|hifi\|ont (##VarDictRustPreset=<PRESET>). |
Tier 3 (v2.0 Next-Gen, #96) |
umi-priors-2bit-v2 |
bam.rs, cigar/parse.rs, realign.rs |
Evaluate promoting --compat=off to default (--compat=vardictjava / --parity preserves v1.8.3 forever); native streaming tile-local UMI collapsing, learned Beta-Binomial orientation priors, 2-bit DNA XOR+popcnt, undecoded noodles::bam::Record coordinate/flag pre-filtering, and rolling ring-buffer pileup (keeping full-read gap-affine alignment and VNTR motif decomposition delegated to minimap2/pbmm2 and TRGT/LongTR/sawfish via Switch 49 VCFv4.2/v4.3 interop). |