Skip to content

Supp table7

Supplementary Table S7. Complete 35-Entry VarDictRust v1.1.0 CompatProfile (32 Switches) and Opt-In CLI Capability Catalog

Index Switch / CLI Capabilitya,b Functional Domain Upstream Lineage & Source Citations [1] Default --compat=vardictjava [1] Behavior Opt-In --compat=off / CLI (v1.1.0) Behavior Associated Study Domain & Test Coverage [10, 12, 26, 27]c
1 sanitize_sample_info (CompatProfile Switch)a VCF Schema & Genotypes AstraZeneca-NGS/VarDictJava#116, AstraZeneca-NGS/VarDict#197 Interpolates raw ;, =, ,, %, -, ., and whitespace into INFO/SAMPLE, splitting VCFv4.2 fields Applies bijective VCFv4.2 percent-encoding on INFO/SAMPLE (%2D, %2E, %XX) Domain 1 (VCF Schema)
2 standard_dup_symbolic_alt (CompatProfile Switch)a Structural Variants & Indexing AstraZeneca-NGS/VarDictJava#342, ToVarsBuilder.java:619,700 Emits non-standard <dup-N> symbolic ALT when mlen < 100 and mismatches homozygous <DUP> span Emits standard <DUP> symbolic ALT with non-negative span and unified 2 * SVFLANK + dup_val genotype Domain 1 (VCF Schema)
3 shift3_3prime_alleles (CompatProfile Switch)a VCF Schema & Genotypes AstraZeneca-NGS/VarDictJava#292, AstraZeneca-NGS/VarDictJava#395, AstraZeneca-NGS/VarDict#25 Shifts -3 indel coordinates 3-prime without updating REF and ALT sequences to match the reference FASTA Re-extracts FASTA-concordant 3-prime-shifted deletion and insertion REF/ALT alleles with CRISPR double-shift guard Domain 1 (VCF Schema)
4 strict_region_bounds (CompatProfile Switch)a Depth, Rounding & Determinism AstraZeneca-NGS/VarDictJava#369, AstraZeneca-NGS/VarDictJava#137 Allows realigned indel and SV anchors to spill outside requested -R or BED target intervals Enforces merged requested interval bounds (start_pos >= 1 within target intervals) Domain 1 (VCF Schema)
5 suppress_pileup_sentinels (CompatProfile Switch)a CIGAR, Pileup & Aligner UB-1, UB-2, SimplePostProcessModule.java Emits spurious position-0 <R,R> and N/N zero-depth sentinel records in -p pileup mode Suppresses -p <R,R> and N/N zero-depth sentinel rows in Simple and Amplicon modes Domain 6 (CSI & Pileup)
6 live_duprate (CompatProfile Switch)a Depth, Rounding & Determinism AstraZeneca-NGS/VarDictJava#387, CigarParser.java:78,162 Copies zeroed read counters before pileup iteration, leaving INFO/DUPRATE permanently 0 Computes INFO/DUPRATE from live u64 duplicate and total read counters across untiled and tiled runs Domain 1 (VCF Schema)
7 preserve_mixed_sex_contigs (CompatProfile Switch)a VCF Schema & Genotypes AstraZeneca-NGS/VarDict#185, AstraZeneca-NGS/VarDict#191 Drops chrX, chrY, or chrM in var2vcf reorder when unprefixed X, Y, or MT co-occur Preserves both unprefixed and chr-prefixed sex and mitochondrial contigs under total contig order Domain 1 (VCF Schema)
8 cigar_homopolymer_merge (CompatProfile Switch)a CIGAR, Pileup & Aligner AstraZeneca-NGS/VarDictJava#402, hedera-dx/VarDictJava@17d1cb51 Produces negative trailing M (rm < 0) during homopolymer multi-indel merges in modifyCigar, skipping the read Absorbs negative trailing M into rdoff_corr during homopolymer multi-indel CIGAR coalescing Domain 6 (CSI & Pileup)
9 eqx_cigar_read_length (CompatProfile Switch)a CIGAR, Pileup & Aligner CigarParser.java:1605-1629,1990-1991 Excludes = and X CIGAR operators from aligned read length, yielding rlen1 = 0 and negative PMEAN Treats = (SequenceMatch) and X (SequenceMismatch) equivalently to M across pileup, realignment, and dedup Domain 1 (VCF Schema)
10 preserve_discordant_svs (CompatProfile Switch)a Structural Variants & Indexing UB-5, var2vcf_valid.pl:197-205 Drops single-sample symbolic <DEL>, <DUP>, and <INV> calls whenever SPLITREAD < 1 despite SPANPAIR > 0 Retains single-sample symbolic SVs supported by discordant mate pairs (SPANPAIR > 0) unless --min-splitreads is set Domain 1 (VCF Schema)
11 mark_dup_sv_inclusive_end (CompatProfile Switch)a Structural Variants & Indexing UB-6, StructuralVariantsProcessor.java:1413-1468 Passes post-decrement pe to markDUPSV, truncating the svfdup mate-cluster right boundary by 1 bp Passes pre-decrement inclusive cluster end mark_pe when tbp != 0 and tbp < pe Domain 1 (VCF Schema)
12 sv_lazy_mate_pileup (CompatProfile Switch)a Structural Variants & Indexing AstraZeneca-NGS/VarDictJava#370, StructuralVariantsProcessor.java:519-675 Scans mate windows eagerly in findINVsub before checking local >= 12 bp soft-clip presence or reverse-complement match Gates find_inv_sub_paths mate-window loads on local >= 12 bp soft-clip presence and validated find_match_rev Domain 6 (CSI & Pileup)
13 exact_binary_half_even (CompatProfile Switch)a Depth, Rounding & Determinism Utils.java:101-103 Truncates 5e-(d+1) underflow ties to 0.0 in OpenJDK DecimalFormat DigitList despite binary f64 exceeding midpoint Rounds exact IEEE-754 binary f64 values via round_half_even_compat without DigitList underflow truncation Domain 1 (VCF Schema)
14 reconcile_vd_dp (CompatProfile Switch)a Depth, Rounding & Determinism AstraZeneca-NGS/VarDictJava#92, AstraZeneca-NGS/VarDictJava#386, AstraZeneca-NGS/VarDictJava#400, AstraZeneca-NGS/VarDict#113 Increments realigned VD and HICNT without updating locus DP and HICOV, permitting VD > DP and AF > 1.0 Enforces VD <= DP, AF <= 1.0, ADJAF <= 1.0, and HICNT <= HICOV (HIAF <= 1.0) across all variant types Domain 3 (Multi-Allelic & Paralog)
15 coordinate_sorted_vars (CompatProfile Switch)a Depth, Rounding & Determinism UB-3, AstraZeneca-NGS/VarDictJava#282, AstraZeneca-NGS/VarDictJava#390, palakpsheth/VarDictRust#34 Iterates variant and post-processing position maps in JavaHashMap bucket order rather than coordinate order Iterates variant and post-processing position maps in strictly ascending genomic coordinate order Domain 6 (CSI & Pileup)
16 exact_35_overlap (CompatProfile Switch)a CIGAR, Pileup & Aligner palakpsheth/VarDictRust#34, VariationRealigner.java:2006-2042 Adds +1 spurious out-of-bounds loop sentinel mismatch and +1 overlap length when rem5 < rem3 in find35match Omits out-of-bounds sentinel mismatch and length increment when rem5 < rem3 in find_35_match Domain 1 (VCF Schema)
17 exact_cigar_dlen_match (CompatProfile Switch)a CIGAR, Pileup & Aligner palakpsheth/VarDictRust#34, VariationRealigner.java:2056-2065 Uses substring contains(dlen + "D") in noPassingReads, falsely matching decimal suffixes such as 12D for 2D Matches exact deletion CIGAR operator length (len == dlen) in no_passing_reads Domain 1 (VCF Schema)
18 somatic_continue_after_bad_var (CompatProfile Switch)a Somatic & Amplicon Calling joachimwolff/VarDictJava#4, clintval/vartovcf#139, clintval/vartovcf#149, AstraZeneca-NGS/VarDictJava#376 Executes break in printVariationsFromFirstSample when the top-AF candidate fails isGoodVar, dropping passing secondary alleles Continues (continue) evaluating remaining tumor candidate alleles at multi-allelic somatic loci Domain 3 (Multi-Allelic & Paralog)
19 adaptor_all_consensus_dirs (CompatProfile Switch)a CIGAR, Pileup & Aligner AstraZeneca-NGS/VarDictJava#240, AstraZeneca-NGS/VarDictJava#241, AstraZeneca-NGS/VarDict#119, PolinaBevad/VarDictJava@92c62cf6 Calls findConseq(sc, 0) without --adaptor sets in adjustMNP, realignIndels, sv, and adjSNV, assembling adapter chimeras Threads directional 5/3 soft-clip orientation and --adaptor screening across all 20 consensus call sites Domain 4 (Adapter Chimera)
20 canonical_sv_vcf_anchoring (CompatProfile Switch)a Structural Variants & Indexing AstraZeneca-NGS/VarDictJava#398, AstraZeneca-NGS/VarDictJava#225, AstraZeneca-NGS/VarDictJava#229, clintval/vartovcf#192 Emits multi-kb REF spans on symbolic SVs, positive SVLEN on <DEL>, missing ##ALT headers, and missing paired SV INFO tags Emits canonical 1-bp upstream VCFv4.2 anchor, ##ALT headers, negative <DEL> SVLEN (END - POS == abs(SVLEN)), and paired END;SVTYPE;SVLEN Domain 1 (VCF Schema)
21 paired_somatic_amplicon (CompatProfile Switch)a Somatic & Amplicon Calling AstraZeneca-NGS/VarDictJava#378, AstraZeneca-NGS/VarDictJava#155, AstraZeneca-NGS/VarDict#109, MHH-Bioinformatics-Hematology/vardictcpp#1 Runs single-sample AmpliconMode on bam1 only in .var mode and rejects paired -b plus -a in VCF mode Runs per-amplicon tumor-normal pileup, primer masking, and GDAMP;TLAMP;NCAMP;AMPFLAG AMPBIAS concordance across .var and VCF Domain 5 (Clinical Presets & Amplicon)
22 cigar_strip_outer_hard_clips (CompatProfile Switch)a CIGAR, Pileup & Aligner AstraZeneca-NGS/VarDictJava#341, AstraZeneca-NGS/VarDictJava#103, Kennedy-Lab-UW/VarDictJava@9a0beb0d Leaves outer H/P operators blocking terminal I -> S and D stripping in CigarModifier and distorting PMEAN Strips outer positive-length H/P operators without advancing alignment_start and treats interior P as non-consuming Domain 1 (VCF Schema)
23 nonnegative_subtracted_means (CompatProfile Switch)a Depth, Rounding & Determinism bcbio/bcbio-nextgen#1704, Variation.java Subtracts qmean and pmean in Variation.subCnt without flooring at zero, allowing negative PMEAN, QMEAN, and VCF QUAL Floors subtracted PMEAN, QMEAN, MQ, NM, and VCF QUAL at 0.0 (>= 0.0) Domain 1 (VCF Schema)
24 reconcile_strand_and_hq_sums (CompatProfile Switch)a Depth, Rounding & Determinism AstraZeneca-NGS/VarDictJava#316, clintval/vartovcf#120, clintval/vartovcf#142 Zeros cnt = 0 without clearing fwd, rev, or hicnt, leaving ALD[0] + ALD[1] != VD and HICNT > VD Resets all auxiliary Variation accumulators on cnt = 0 and reconciles fwd + rev == VD and 0 <= HICNT <= VD Domain 1 (VCF Schema)
25 reconcile_rd_vd_dp (CompatProfile Switch)a Depth, Rounding & Determinism AstraZeneca-NGS/VarDict#168, AstraZeneca-NGS/VarDictJava#323, clintval/vartovcf#102 Adjusts ref_coverage independently of ref_fwd + ref_rev, allowing RD + VD > DP (AD[0] + AD[1] > DP) Enforces DP >= RD + VD (total_pos_cov >= ref_fwd + ref_rev + pos_coverage) across variant and somatic builders Domain 1 (VCF Schema)
26 sanitize_iupac_alt_alleles (CompatProfile Switch)a VCF Schema & Genotypes AstraZeneca-NGS/VarDictJava#267, AstraZeneca-NGS/VarDictJava#287, AstraZeneca-NGS/VarDict#137, bcbio/bcbio-nextgen#3321 Reduces IUPAC ambiguity codes only on REF, leaking IUPAC codes into ALT and emitting non-pileup REF == ALT records Reduces IUPAC ambiguity codes in ALT outside symbolic <...> brackets and suppresses non-pileup REF == ALT records Domain 1 (VCF Schema)
27 sv_respect_min_len (CompatProfile Switch)a Structural Variants & Indexing AstraZeneca-NGS/VarDictJava#328, AstraZeneca-NGS/VarDict#157 Ignores -L (--min-sv-len) in find_del, find_dup, and find_inv, emitting sub-1000 bp SVs as symbolic <DUP>/<INV> Materializes explicit sequence alleles (<= 32,768 bp) for split-refined SVs shorter than -L and suppresses short discordant-only SVs Domain 6 (CSI & Pileup)
28 pileup_preserve_shifted_ref (CompatProfile Switch)a CIGAR, Pileup & Aligner AstraZeneca-NGS/VarDictJava#330, SimplePostProcessModule.java:73 Checks vvar.size() == 1 during -p hydration, silently dropping covered coordinates when >= 2 indels shift away Hydrates and emits the ALT="." reference pileup row whenever all candidate variants shift away from a -p locus Domain 6 (CSI & Pileup)
29 recompute_vartype_after_adj_complex (CompatProfile Switch)a VCF Schema & Genotypes clintval/vartovcf#109, clintval/vartovcf#147, SimplePostProcessModule.java:83,93 Computes INFO/TYPE before adjComplex trims shared bases, leaving trimmed SNVs and indels mislabeled TYPE=Complex Recomputes Variant::var_type after adj_complex across Simple, Amplicon, and Somatic post-processing Domain 1 (VCF Schema)
30 strict_vcf_ad_number_r (CompatProfile Switch)a VCF Schema & Genotypes clintval/vartovcf#101, AstraZeneca-NGS/VarDict#75, AstraZeneca-NGS/VarDict#76, EBIvariation/vcf-validator#99, sigven/pcgr#12 Keys single-sample FORMAT/AD on VD != 0, emitting 2-element AD=rd,0 on ALT="." rows and 1-element AD=rd on VD=0 variants Emits strict Number=R FORMAT/AD cardinality (1 + n_alt: AD=rd when ALT="." and AD=rd,vd when ALT != ".") Domain 1 (VCF Schema)
31 omit_nonsv_vcf_end (CompatProfile Switch)a VCF Schema & Genotypes clintval/vartovcf#105, bcbio/bcbio-nextgen#1704 Emits INFO/END on every SNV and short indel under -R when --no-end is omitted, failing GATK ValidateVariants and bcftools norm Omits INFO/END on non-symbolic VCF records by default while retaining INFO/END on symbolic <...> SVs unless --no-end is set Domain 1 (VCF Schema)
32 canonical_vcf_gt (CompatProfile Switch)a VCF Schema & Genotypes clintval/vartovcf#99, clintval/vartovcf#54, AstraZeneca-NGS/VarDictJava#344, AstraZeneca-NGS/VarDict#186 Emits unphased 1/0 (0.5 <= AF < 1 - GTFREQ) and 0/0 on sub-threshold VD > 0 carriers (ignored as CALL=IGN in diploid rtg vcfeval) Canonicalizes unphased 1/0 to 0/1 and promotes concrete non-dot 0/0 ALT carriers (VD > 0) to 0/1 Domain 2 (Diploid Somatic)
33 --vcf-all-alleles (Opt-In CLI Capability)b VCF Schema & Genotypes UB-7, AstraZeneca-NGS/VarDictJava#65, AstraZeneca-NGS/VarDictJava#383, AstraZeneca-NGS/VarDict#155 Collapses multi-allelic loci to a single highest-AF winner per position unless Perl var2vcf_*.pl -A is piped externally Emits all passing (CHROM, POS, END, REF, ALT) alleles per locus sorted by 4-decimal AF descending (--all-alleles, --vcfall) Domain 3 (Multi-Allelic & Paralog)
34 --amplicon-single-primer (Opt-In CLI Capability)b Somatic & Amplicon Calling AstraZeneca-NGS/VarDictJava#303, AstraZeneca-NGS/VarDictJava#301, AstraZeneca-NGS/VarDictJava#326, AstraZeneca-NGS/VarDict#191 Enforces two-primer 5-prime and 3-prime edge distance plus 0.95 overlap filters on sheared R2 ends, discarding QIAseq/Archer SPE reads Enforces -a primer-edge distance strictly on primed amplicon edge(s) (-sp) and bypasses sheared-end overlap filtering Domain 5 (Clinical Presets & Amplicon)
35 --preset (Opt-In CLI Capability)b Somatic & Amplicon Calling palakpsheth/VarDictRust#94, palakpsheth/VarDictRust#158 Requires manual 1-based vs 0-based BED -c/-S/-E/-z flags and separate Perl var2vcf filter pipes across sequencing modalities Configures --compat=off, standard 0-based BED indexing, and modality-calibrated filters for wgs, wes, amplicon, and ctdna Domain 5 (Clinical Presets & Amplicon)

aEntries 1–32 correspond in exact declaration order to the 32 boolean fields of CompatProfile in crates/vardictrust-core/src/config.rs, activated together by --compat=off (stamping ##VarDictRustCompat=off in VCF headers) while remaining disabled under default --compat=vardictjava (--parity) to preserve 100% valid-input parity with VarDictJava v1.8.3 [1]; UB-1..UB-7 denote cataloged upstream VarDictJava v1.8.3 parity behaviors (docs/upstream-bugs.md). bEntries 33–35 document explicit opt-in v1.1.0 CLI capabilities (--vcf-all-alleles, --amplicon-single-primer / -sp [27], and --preset across wgs, wes, amplicon, and ctdna alongside 18 consolidated native var2vcf flags). cMaps each entry to its associated Table 9 evaluation domain (Domains 1–6, benchmarks/v110-compat-study/v110_compat_metrics.json, source fingerprint b18477ae0a7b07c1; executed end-to-end under --compat=off across targeted VCF schema/canonicalization/accounting checks, bcftools norm --check-ref e [26], tabix --csi [26], SEQC2 [10] and QIAseq V3 [27] truth cohorts, and diploid rtg vcfeval [12]); switch-isolated behavioral assertions for all 32 switches (including INFO/SAMPLE escaping, INFO/DUPRATE, mixed sex contigs, =/X CIGAR length, and IEEE-754 tie rounding) are enforced by dedicated diff-confinement tests in the Cargo workspace test suite.