Repository navigation
Releases
VarDictRust v1.1.0 — Clinical Workflow Presets, Opt-In Upstream Bugfixes (--compat=off), Multi-Allelic VCF & MIT
VarDictRust v1.1.0 is the first feature release of the v1.x series — delivering pure MIT licensing, clinical short-read workflow presets (--preset wgs|wes|amplicon|ctdna), opt-in --compat=off (32 upstream correctness fixes with zero --fix flag sprawl), multi-allelic VCF emission (--vcf-all-alleles, completing 18/18 var2vcf post-filters), single-primer extension amplicon calling (-sp), and major CRAM/BAM memory reductions, while keeping default invocations 100% byte-for-byte identical to VarDictJava v1.8.3 (0886261) + VarDict (009e017).
Important
Zero Breaking Changes for Existing Pipelines: Running vardictrust with no mode flag (or explicit --compat=vardictjava / --parity) produces 100% byte-identical output to VarDictJava v1.8.3 across all 92 Tier-1 fixtures, 17 Tier-2 WGS/WES/somatic/amplicon/CRAM benchmarks, and 5 NIST GIAB / FDA SEQC2 truth cohorts (FP = b18477ae0a7b07c1). Every output-changing upstream bugfix is strictly opt-in via --compat=off or --preset.
Highlights at a Glance
- Pure
MITLicense Across Both Crates & Packaging (VarDictRust#92,VarDictRust#156): Replaces copyleft R-derived hypergeometric tail routines with a cleanroom Catherine Loader (2000) / NIST DLMF §5.11.1 saddlepoint + extended-precisionf80engine (stats::hypergeom,0diffs across15,747locked Fisher exact oracle rows), licensingvardictrustandvardictrust-corepurely underMIT. - Opt-In
--compat=off(32Upstream Bugfixes, Zero Flag Sprawl;VarDictRust#94,VarDictRust#95,VarDictRust#158,VarDictRust#152–VarDictRust#159): A single flag activates all32verified fixes forVarDictJava,VarDict(var2vcf_*.pl/teststrandbias.R/testsomatic.R),clintval/vartovcf,bcbio-nextgen, andEBIvariation/vcf-validatordefects, stamping##VarDictRustCompat=offin VCF headers for clinical auditability. - Clinical Short-Read Workflow Presets (
--preset <wgs|wes|amplicon|ctdna>,VarDictRust#161): Configures--compat=off, standard0-based BED coordinates (-c 1 -S 2 -E 3 -g 4 -zon non-amplicon BEDs while keeping-R chr:start-end1-based), and modality-calibrated candidate/VCF thresholds in one flag (stamping both##VarDictRustCompat=offand##VarDictRustPreset=<preset>), with full precedence for any explicit CLI flag override. - 18/18
var2vcfPost-Filter Parity + Single-Primer Amplicon (-sp) (VarDictRust#152,VarDictRust#157):--vcf-all-alleles(--all-alleles, hiddenvardictcppalias--vcfall): portsvar2vcf_valid.pl/var2vcf_paired.pl -Amulti-allelic VCF emission across Simple, Amplicon, and Paired Somatic modes with bounded-memory cross-tile deduplication (-A <INT>remainsVarDictJava'ssv_min_af).--amplicon-single-primer(-sp): supports single-primer extension (SPE) panels such as QIAseq V3 and ArcherDX on 8-column amplicon BEDs (AstraZeneca-NGS/VarDictJava#303).- Drop-in hidden
vardictcpp v2..v4double-dash aliases (--vcfall,--noend,--vcfpass,--vcf), completing the92-flag CLI surface across7functional groups.
- WGS/WES Speed & Bounded CRAM/BAM Memory (
VarDictRust#149,VarDictRust#150,VarDictRust#151):5.5×–38.1×faster thanVarDictJava v1.8.3on WGS/WES (68.3×on amplicons) in8.3×–20.5×less RAM, scaling3.24×from 1 to 8 threads across 249 MbpGRCh38 chr1(233.18s→71.97sin1.26 GiBflat bounded RSS, whereVarDictJava v1.8.3OOM-crashes above31 GiB), while cuttingHG008somatic CRAM peak RSS by-471.5 MB, slice heap allocations by-23.4%to-86.2%, and runtime regex allocations by-100%.
Quick Start & Calling Modes
| Mode / Flag | Parity vs Fixes | BED Coordinate Defaults | Candidate Pileup (-f, -r) |
VCF FILTER Defaults (--vcf-*) |
VCF Provenance Headers |
|---|---|---|---|---|---|
(default) / --compat=vardictjava / --parity |
100% VarDictJava v1.8.3 byte-identical |
VarDictJava legacy (add -z when passing -c/-S/-E on 0-based BEDs) |
-f 0.01, -r 2 (-q 22.5) |
Single: d3, v2, Q10, q22.5; Paired: d5, v3, Q0, q22.5 |
##source=VarDict_v1.8.2 |
--compat=off |
All 32 CompatProfile fixes active |
Unchanged unless set | Unchanged unless set | Unchanged unless set | + ##VarDictRustCompat=off |
--preset wgs |
--compat=off (32 fixes) |
0-based BED (-c 1 -S 2 -E 3 -g 4 -z; -R stays 1-based) |
-f 0.05, -r 2 (pass -f 0.01 for <5% subclonal WGS) |
f0.05, d10, v3, Q20, q22.5 |
+ ##VarDictRustCompat=off & ##VarDictRustPreset=wgs |
--preset wes |
--compat=off (32 fixes) |
0-based BED (-c 1 -S 2 -E 3 -g 4 -z) |
-f 0.01, -r 2 |
f0.02, d20, v4, Q20, q22.5 |
+ ##VarDictRustCompat=off & ##VarDictRustPreset=wes |
--preset amplicon |
--compat=off (32 fixes + paired -a) |
0-based 8-col insert/thick BED (-a 10:0.95, dedup=false) |
-f 0.01, -r 2 |
f0.01, d50, v5, Q20, q22.5 |
+ ##VarDictRustCompat=off & ##VarDictRustPreset=amplicon |
--preset ctdna |
--compat=off (32 fixes) |
0-based BED (-c 1 -S 2 -E 3 -g 4 -z) |
-f 0.001, -r 3 |
f0.002, d100, v4, q25, Q20 |
+ ##VarDictRustCompat=off & ##VarDictRustPreset=ctdna |
# 1. Strict drop-in VarDictJava v1.8.3 + R + Perl replacement on 0-based 4-col BED (100% byte-identical default):
vardictrust -G ref.fa -f 0.01 -N SAMPLE -b sample.bam -c 1 -S 2 -E 3 -g 4 -z targets.bed \
-th 8 --output calls.vcf.gz --tbi
# 2. Paired tumor-normal liquid-biopsy ctDNA on CRAM with all 32 fixes, somatic-only filtering, & BGZF+CSI:
vardictrust --preset ctdna --paired-strict -G ref.fa -N "TUMOR|NORMAL" \
-b "tumor.cram|normal.cram" panel.bed -th 16 --output somatic.vcf.gz --csi
# 3. Single-sample (or paired -b "T.bam|N.bam" -N "T|N") 8-col single-primer (-sp) amplicon panel with multi-allelic VCF:
vardictrust --preset amplicon -sp -G ref.fa -N SAMPLE -b panel.bam amplicons.bed8 \
--vcf-all-alleles -th 8 --output amplicon.vcf.gz --tbiAll 32 --compat=off (CompatProfile) Correctness Fixes by Domain
Every switch below is off by default (--compat=vardictjava) and enabled together under --compat=off or --preset <wgs|wes|amplicon|ctdna> (full technical details in DIVERGENCES.md and the Migration Guide):
1. VCFv4.2 / VCFv4.3 Specification & Validator Compliance (8 fixes)
strict_vcf_ad_number_r(clintval/vartovcf#101,AstraZeneca-NGS/VarDict#75,EBIvariation/vcf-validator#99): EnforcesNumber=Rin single-sampleFORMAT/ADatVD == 0sites (emittingRD,0whenALT != "."and scalarRDwhenALT == "."), preventingbcftools norm, GATK, andvcf-validatorarity errors.canonical_vcf_gt(clintval/vartovcf#99,clintval/vartovcf#54,AstraZeneca-NGS/VarDictJava#344): Canonicalizes unphased1/0(0.5 <= AF <= 1 - --vcf-gt-freq) to0/1and promotes rescued subclonal carrier0/0(VD > 0) genotypes to0/1, recovering true positives inrtg vcfevalwithout--squash-ploidy.omit_nonsv_vcf_end(clintval/vartovcf#105): RestrictsINFO/ENDto structural variants (<DEL>,<DUP>,<INV>,<INS>), preventingbcftoolsand Ensembl VEP from treating SNVs/MNVs as spanning intervals.recompute_vartype_after_adj_complex(clintval/vartovcf#109,clintval/vartovcf#147): RecomputesINFO/TYPE(SNV/Insertion/Deletion/Complex) after stripping shared 5' anchor prefixes on complex alleles.sanitize_iupac_alt_alleles(AstraZeneca-NGS/VarDictJava#267,bcbio/bcbio-nextgen#3321): Converts non-ACGTNIUPAC ambiguity codes inALTalleles to valid VCFv4.3 bases outside symbolic<...>tags and suppresses degenerateREF == ALTrecords.sanitize_sample_info(AstraZeneca-NGS/VarDictJava#116): Bijectively percent-encodes reserved VCF delimiter characters (;,=,,,%, whitespace) inINFO/SAMPLE.canonical_sv_vcf_anchoring(AstraZeneca-NGS/VarDictJava#398,clintval/vartovcf#192): Emits VCFv4.2 1-bp upstream reference anchors (POS >= 1),##ALT=<ID=DEL|DUP|INV>, signedSVLEN(<DEL>negative), andEND;SVTYPE;SVLEN.- **`standard_dup_sym...
1.0.10 - 2026-11-18
Release Notes
Added
- Expanded
cargo-fuzzcoverage (SeedMap-populatedfuzz_modify_cigarand newfuzz_parse_and_realigntarget), added37harness diagnostic self-tests (25shell tests +12Python test suites, including single-pass FIFO-safecompare_vcf.pysample-column andFORMATsubfield count parity checks), and expanded the automated Cargo workspace test suite from664to691tests (491vardictrust-corelibrary unit tests +110corpus_parity+29engine_behavior+2amplicon_stream_mem+3cram_stack+29CLI bin +27CLI integration binary tests) (crates/vardictrust-core/fuzz/,harness/compare_vcf.py,harness/tests/) (PR #135, PR #136, PR #137, PR #138, PR #139, PR #140).
Changed
- Landed SemVer-compatible zero-diff CPU, heap-allocation, and code-consolidation optimizations across
vardictrust-corewhile preserving 100%VarDictJava v1.8.3(0886261) byte-for-byte parity (PR #137, PR #138, PR #140):- Clipped CIGAR deletion coverage updates (
parse.rs) to sorted merged±5,000 bploaded reference windows with idempotenti64coordinate-compressedfinish_ref_coveragesweeps for> 64 bpspans; flattened multi-tilemax_read_lengthpre-scanning (lib.rs) into a non-nested250 kbpband pool with disjointalignment_startband ownership,4 MiBper-bandFallbackSequentialcap, and a lazy4 MiB2-bitACGT+'N'side-map 12-mer index on 2nd+ parent-wide misses; and addedEXP_UNDERFLOW_LN_F64 = -746.00-ULPexp()short-circuiting and loop-invariantp3hoisting infisher.rs. - Replaced
swar_mismatch_count_u64softwarecount_ones()with a 3-op branchless multiply-shift horizontal byte sum, tightenedfind_35_match(Iterator::positioncandidate scanning + exact O(1)mm0IEEE-7540.1ratio pre-rejects,2.60×faster), addedfind_conseq_sliceeliminating allSclipdeepBTreeMap/IndexMapclones acrossrealignlgdel/find_del_paths/find_dup_disc_paths, replaced quadratictmp3scans inrealignlgins30with binary-searched window slices, indexedSOFTP2SVupfront viaSclipSlotinfind_sv, and unifiedfind_mm5/find_mm3and.var/genotype/regex formatting over stack-allocated buffers (StackBuf). - Reduced
JavaHashMap<i32, Vars>to96 B(Option<Box<V>>cold fallback,Option<Box<Vec<K>>>NewKeyLog,active_tree_bins: u32, ASCIIjava_string_hash/java_comparefast-paths,into_entries), deleted the privateStrNodeRed-Black tree injava_hashmap_key_orderin favor ofJavaHashMap<&str, usize>, addedbuild_aligned_variants_prunedto skip Phase-2collect_reference_variantson doomed sub-threshold sites, consolidated.varserializers viaTableModeStyleacross Simple36/38, Amplicon38/40, and Somatic55/61, removed duplicate per-tileBTreeMappasses and unused privateSAM_READER_CACHE/ADAPTOR_MAP_CACHE, addedi64$O(1)$ pre-regionMatchskipping / single-baseMatchspecialization / fused paired CIGAR scans />= 10Sand>= 12Smodify_pure_sm_in_placefast-paths, and added 2-slotBAM_META_TLS(BAM_CACHE_EPOCH),<= 4096 BBamFeedInnerstashes,ACGTacgt=fast-skip incompute_cram_nm,SeedKey::pair_17_12, and RAIIWorkerRegionGuard.
- Clipped CIGAR deletion coverage updates (
- Synced in-tree
packaging/bioconda/recipes/vardictrust/meta.yamltov1.0.9verified GitHub release tarball SHA-256c40c3bf6180144d87ae39a52470b07e68b61f2ea41ef8c990deaf24529025284, trimmed unusedregexandnoodlesbed/vcffeatures from binary manifests, and retiredenv RUST_MIN_STACK=67108864and the last# shortcut:comment inharness/cram_twin.sh(PR #134, PR #136, PR #140).
Fixed
- Raised
MAX_CACHED_CRAM_CONTAINER_BYTESincrates/vardictrust-core/src/bam.rsfrom4 MiBto16 MiB(should_cache_cram_container/fetch_cram_container_in), added per-key singleflight CRAM container decode coalescing (InflightCramDecode/InflightCramGuardonCramContainerCacheShard), upgradedCRAM_META_TLSfrom 1 slot to 2 slots (lookup_cram_meta_tls/insert_cram_meta_tls) eliminatingT <-> Npaired somatic TLS thrash, and bufferedprevalidate_cram_container_slicesthrough a64 KiBseek-retaining window (SeekWindowReader) so standard10,000–10,240-read150–250 bpIllumina CRAM containers (~6.3–9.8 MiB) decode once across concurrent workers and hitCRAM_CONTAINER_CACHEwhile keeping8 × 4 = 32decoded-record slots bounded to<= 512 MiBand bypassing oversized long-read containers (PR #136, PR #139). - Hardened hostile-input
.bai/.csiindex loading and text SAM CIGAR decoding uncovered by pre-release libFuzzer sweeps: added zero-allocation structural header and remaining-byte count pre-validation (MAX_BAI_BYTES = 512 MiB,MAX_CSI_BYTES = 256 MiB,MAX_CSI_DECOMPRESSED_BYTES = 256 MiB,n_ref/n_bin/n_chunk/n_intv/l_auxbounds) inread_validated_bai_indexandread_validated_csi_indexbefore delegating tonoodles, and terminated non-advancingcigar.iter()Errloops immediately inSamRecord::fill_from_alignment_recordandintersects_record(crates/vardictrust-core/src/bam.rs). - Hardened CLI
-th/--threadspositional-BED normalization (require_equals = true+ free-positional counting preserving Commons-CLI first-wins duplicate-th), stale.tbi/.csisidecar cleanup and0555read-only preflight validation when overwriting BGZF--outputpaths without--tbi/--csi,--outputparent-directory spill staging inSpillableVcfAccumulatorwithstd::env::temp_dir()fallback, andFileStamp-validated process-wideOnceLock.fai/.gzimetadata sharing across worker threads (crates/vardictrust/src/cli.rs,src/main.rs,crates/vardictrust-core/src/lib.rs,src/bam.rs) (PR #136, PR #138). - Hardened harness BSD/macOS portability, comparator validation, and CI supply-chain pins: added
execvp-safeportable.sh --timeout,resolve_data_root, and 16-pathfind_gitleakswhile removing GNU-isms across 11 scripts; hardened.github/workflows/release.yml(!announcement_is_prerelease, step-scopedCARGO_REGISTRY_TOKEN, idempotentvardictrust-core+vardictrustpublish, removed emptyannounce); bumpedsetup-conda-envtoconda-env-v3-with portable CLI pins and pinnedplaywright==1.62.0indocs.yml; hardenedgcp_paper_runner.sh(--stageallowlist + immutable SHA-256-verified installers); and added SHA-256 verification onconcordance_multimodal.shtruth slices andrun_stage_6.shdownloads (PR #135).
Install vardictrust 1.0.10
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/palakpsheth/VarDictRust/releases/download/v1.0.10/vardictrust-installer.sh | shDownload vardictrust 1.0.10
| File | Platform | Checksum |
|---|---|---|
| vardictrust-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| vardictrust-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| vardictrust-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| vardictrust-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| vardictrust-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo palakpsheth/VarDictRustYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo palakpsheth/VarDictRust1.0.9 - 2026-11-16
Release Notes
Added
- Ported OpenJDK 8
java.util.HashMap.TreeNodeRed-Black treeification (treeify,balanceInsertion,rotateLeft,rotateRight,moveRootToFront,getTreeNode, single-passprobe_tree_slot/putTreeVal), deletion rebalancing (removeTreeNodeentry-topology untreeification,balanceDeletion, and 2-child interior link swapping), andresize()TreeNode.split(UNTREEIFY_THRESHOLD = 6) intoJavaHashMap<K, V>behind a coldOption<Box<Vec<TreeLink>>>sidecar (size_of::<Node<i32, i32>>() == 12,0extra per-node bytes across< 8-collision biological cohorts), sealingJavaHashwith UTF-16Stringordering (encode_utf16().cmp(...)) and signedi32spread-hash comparisons (CWE-4072^16-stride collision DoS closure; expanded the automated Cargo workspace test suite from657to664tests:467vardictrust-corelibrary unit tests +110corpus_parity+29engine_behavior+2amplicon_stream_mem+3cram_stack+28CLI bin +25CLI integration binary tests) (crates/vardictrust-core/src/javamap.rs,src/tovars.rs,benches/engine.rs,ROADMAP.md) (Issue #116SEC-17b, PR #131).
Changed
- Migrated the ReadTheDocs (
vardictrust.readthedocs.io) and strict CI documentation platform frommkdocs-material(mkdocs.yml) to Zensical (zensical.toml,zensical>=0.1.1,<0.2.0), adding MathJax v3 configuration (docs/javascripts/mathjax.js), fence-aware Mermaid and GFM staging normalization inharness/prepare_docs_site.py, space-safe Zensical pre-commit/pre-push strict gates, pure-stdlib TOMLnavvalidation incheck_release_consistency.py, and 4-page Playwright Chromium DOM/MathJax/Mermaid/SVG UI verification (zensical.toml,.readthedocs.yaml,.github/workflows/docs.yml,.githooks/{pre-commit,pre-push},harness/prepare_docs_site.py,harness/tests/test_docs_ui.py) (Issue #123, PR #122, PR #129). - Updated workspace and CI dependencies:
noodles(0.118 -> 0.119, includingnoodles-bam 0.98.0,noodles-cram 0.102.0,noodles-sam 0.93.0, andnoodles-vcf 0.96.0),flate2(1.1.10 -> 1.1.11),lzma-rust2(0.22.0 -> 0.24.0),log(0.4.34 -> 0.4.35),pymdown-extensions(>=13.0), transitive Cargo lockfile dependencies, and pinned GitHub Actions (step-security/harden-runner,taiki-e/install-action,github/codeql-action/upload-sarif) (Cargo.toml,Cargo.lock,crates/vardictrust-core/fuzz/Cargo.toml,.github/workflows/*.yml) (PR #110, PR #111, PR #112, PR #115, PR #117, PR #124).
Fixed
- Hardened release supply-chain bootstrap, dataset SHA-256 verification, tag ruleset governance, and deterministic complexity tests: replaced pipe-to-shell and unverified third-party toolchain installers in
.github/workflows/release.ymlwith cached 4-architecturecargo-dist v0.33.0SHA-256 archive verification,macos-15aarch64-apple-darwinrunner migration, SLSA v1.0resolvedDependencies[0]alignment,workflow_dispatchrecovery, and 6-jobstep-security/harden-runneraudit; upgradedharness/assets.tsvto 6 columns with 40 verified SHA-256 digests, atomicstage_verified_sha256, and unconditional disk rehashing acrossharness/fetch_data.shand slice stagers; enforced lockout-saferefs/tags/v*ruleset24867690inharness/configure_github_repo.py; and replaced sub-second wall-clock test assertions with deterministic step and probe bounds (.github/workflows/release.yml,harness/assets.tsv,harness/fetch_data.sh,harness/lib/portable.sh,harness/configure_github_repo.py,crates/vardictrust-core/src/) (Issue #116SEC-05/SEC-14/SEC-12b, PR #119, PR #120, PR #121, PR #130, PR #131).
Install vardictrust 1.0.9
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/palakpsheth/VarDictRust/releases/download/v1.0.9/vardictrust-installer.sh | shDownload vardictrust 1.0.9
| File | Platform | Checksum |
|---|---|---|
| vardictrust-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| vardictrust-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| vardictrust-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| vardictrust-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| vardictrust-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo palakpsheth/VarDictRustYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo palakpsheth/VarDictRust1.0.8 - 2026-11-14
Release Notes
Added
- Native direct file output, BGZF compression, Tabix/CSI indexing, run telemetry, and explicit parity pinning:
--output <PATH>(streaming.vcf,.var, and-isplice counts directly to plain files or multithreaded BGZF.gz/.bgzvianoodles::bgzf::io::MultithreadedWriterwithFile::sync_allverification),--tbi/--indexpure-Rust Tabix (.vcf.gz.tbi) and--csipure-Rust CSI (.vcf.gz.csi) index generation (noodles::tabixandnoodles::csi, honoringINFO/ENDcoordinate spans for symbolic<DEL>,<DUP>,<INV>, and<INS>records, with an actionable--csihint when--tbiencounters coordinates exceeding Tabix's512 Mbplimit),--no-end(var2vcf_valid.pl -EINFO/ENDsuppression),--stats-json <PATH>pipeline telemetry,--parityand--compat vardictjava-1.8.3CLI forward-compatibility pinning, andUPSTREAM.tomlreference provenance manifest (crates/vardictrust/src/cli.rs,src/main.rs,crates/vardictrust-core/src/lib.rs,src/output/vcf.rs) (Issue #93, Issue #94, PR #100, PR #102, PR #104). - Commons-CLI single-dash long-option compatibility (
-fisher,-adaptor,-chimeric,-deldupvar,-nosv,-splice,-header,-dedup,-debug,-verbose,-amplicon,-DP,-default-printer,-defaultPrinter,-mfreq,-nmfreq,-insert-size,-insert-std,-ref-extension,-crispr,-?/--?),--default-printer/--insert-size/--insert-std/--ref-extension/--crisprlong aliases, and-Cand-Z/-downsample/--downsampleexplicitVardictError::Unsupportedreporting (crates/vardictrust/src/cli.rs) (PR #104). - Additional upstream VarDictJava CLI parity, short-option cluster normalization, thread-pool environment fallback, and workspace package metadata:
-T/--trim(-trim) per-base pileup read trimming (trim_bases_after/is_trim_at_opt_t_bases),-n <REGEXP>sample-name regex extraction,-VS/--VSSILENT/LENIENTvalidation stringency acceptance (-VS STRICTfails fast withVardictError::Unsupported), clustered boolean-prefix short options (-pz,-pz0,-uk,-ua,-pR),RAYON_NUM_THREADSfallback when-th/--threadsis omitted, and MSRVrust-version = "1.91.0"+crates.iometadata inheritance acrossCargo.toml,crates/vardictrust/Cargo.toml, andcrates/vardictrust-core/Cargo.toml(crates/vardictrust/src/cli.rs,crates/vardictrust-core/src/config.rs,src/cigar/parse.rs) (PR #105). - Cross-tile
.varintermediate boundary deduplication viaSplitVarDeduper(SPLIT_VAR_RETENTION_WINDOW_BP = 200_000) across split tiles inSimpleModeandSomaticMode, preserving within-tile multiplicity and-pshifted-singleton position-0 companion triples, verified by multi-tile.var/.vcf/SV/splice conservation suites (crates/vardictrust-core/src/lib.rs,tests/engine_behavior.rs) (Issue #91, PR #99, PR #100, PR #101, PR #104). - Certified 92-chromosome per-contig parity suite (
docs/validation/chr-parity-v107.md,benchmarks/chr-parity-v107.json:92 / 92 MATCH,0diffs across 5 cohorts including full 22-autosomeGIAB HG002WGS8,111,171variants), strict Markdown relative-link and MkDocs build audits, clinical/engineering SWOT ecosystem review (docs/ecosystem-survey.md), Bioconda and Nextflownf-core/modulesv1.0.7packaging sync (withMIT AND GPL-2.0-or-laterblock-sequencemeta.yml), 29 zero-conda / 7 oracle CI self-test wiring, 5-target release performance budget guard, and live--verify-cargo-listrelease-consistency validation (PR #86, PR #87, PR #88, PR #89, PR #97). - Expanded the automated Cargo workspace test suite from
519to657tests (460vardictrust-corelibrary unit tests +110corpus_parity+29engine_behavior+2amplicon_stream_mem+3cram_stack+28CLI bin +25CLI integration binary tests) (PR #104, PR #105, PR #106, PR #107). - Consolidated
var2vcf_valid.pl/var2vcf_paired.plVCF post-filter CLI flags (--pass-only,--paired-strict,--vcf-pval <FLOAT>,--min-splitreads <INT>,--no-pstd-filter; portingvar2vcf_valid.pl-S/-T/-P 0andvar2vcf_paired.pl-S/-M/-Pwith verbatimP$PVALtoken preservation and programmaticresolve_effective_configbounds validation) plus GNU-only single-dash typo guards failing fast with actionable"did you mean '--...'?"errors and tightenedsplit_bool_prefix_clustertail checks (crates/vardictrust-core/src/config.rs,src/lib.rs,src/output/vcf.rs,crates/vardictrust/src/cli.rs) (PR #106). - Promoted
-n <REGEXP>and-T/--trimtocorpusparity status (0unexercisedCLI flags remaining inREADME.md) via zero-subprocess in-processcorpus_paritycoverage alongside--fisherVCF raw-cell formatting assertions, and closed the resolved--fisherVCF raw-cell divergence inDIVERGENCES.md(crates/vardictrust-core/tests/corpus_parity.rs,golden/PROVENANCE,README.md,DIVERGENCES.md) (PR #106). - Completed all 11 remaining live
var2vcf_valid.pl/var2vcf_paired.plVCF threshold, genotype, and cluster-filter CLI flags (89total CLI flags across 7 functional groups together with--completionsand--manpage):--vcf-af <FLOAT>(-f),--vcf-min-depth <INT>(-d),--vcf-min-vd <INT>(-v),--vcf-qmean <FLOAT>(-q),--vcf-mapq <FLOAT>(-Q),--vcf-pmean <FLOAT>(-p),--vcf-sn <FLOAT>(-o),--vcf-max-nm <FLOAT>(-m),--vcf-gt-freq <FLOAT>(-F, validated in[0, 1]),--vcf-msi <FLOAT>(-I), and--vcf-cluster-dist <INT>(-c), modeled viaVcfThreshold<T>with explicit GNU--vcf-*defined()(Option::Some) zero semantics (honoring0on explicit overrides while preserving legacy bare-f 00.02single-sample fallback) andSingleRecordStreamer+ 4-stateSingleVcfEventbounded-memoryCluster<N>bpsliding-window buffering across tiled and disk-spilled single-sample/amplicon streams (crates/vardictrust-core/src/config.rs,src/lib.rs,src/output/vcf.rs,crates/vardictrust/src/cli.rs) (PR #107). - Added zero-dependency
--completions <SHELL>(bash,zsh,fish) and--manpage(vardictrust(1)roff) generators backed byclap::CommandFactoryintrospection, reorganized CLI--help(-H/--help) into 7help_headingsections matchingREADME.md, added cross-compile-safe completion and manpage installation inpackaging/bioconda/recipes/vardictrust/build.sh, authored thedocs/migration.mdRosetta Stone guide fromVarDictJava+ R + Perl (var2vcf_valid.pl/var2vcf_paired.pl) pipelines, recorded[advisory_comparators.vardictcpp](version = "3",bioconda_build = "hc52dbad_0") inUPSTREAM.toml, and expandedcheck_release_consistency.pystructural guards (crates/vardictrust/src/completions_man.rs,src/cli.rs,docs/migration.md,packaging/bioconda/recipes/vardictrust/build.sh,UPSTREAM.toml,.agents/skills/vardictrust-release/scripts/check_release_consistency.py) (PR #108). - Added end-to-end GRCh38 HLA/alt-contig colon-name support (e.g.,
HLA-A*01:01:01:01:100-200[:GENE]) across-R/--regionand BED calling via right-to-left known-contig prefix matching inregions::parse_region_flagand zero-allocationpub(crate) bam::build_noodles_region(replacing string-formatted"{}:{}-{}"region reparsing), alongside MkDocs 1.6 top-levelnot_in_navvalidation, Nextflownf-coreCRAM/CSI/ReadTheDocs packaging metadata, and MSRV1.91.0/DIVERGENCES.mdrelease-consistency guards (crates/vardictrust-core/src/regions.rs,src/bam.rs,src/reference.rs,mkdocs.yml,packaging/,harness/tests/,.agents/skills/vardictrust-release/) (PR #107).
Changed
1.0.7 - 2026-11-01
Release Notes
Added
- Bounded 512 MiB reference sequence cache (
DEFAULT_FASTA_CACHE_BUDGET_BYTES) with active-CramFeedArc<ContigSlot>pinning (Arc::strong_count == 1eviction),RegistryDelegatingAdapterhandle pooling (MAX_POOLED_FASTA_ADAPTERS = 8), andIndexedCraibinary-searched slice seek (crates/vardictrust-core/src/bam.rs) (PR #81). - Multi-threaded amplicon execution across
(chrom, seg_idx)groups viarunner::run_parallelwith deterministic input-order reassembly (crates/vardictrust-core/src/lib.rs) (PR #82). - Production no-panic lint ratchet (
harness/lint_ratchet.sh) wired intoharness/pr_check.shandharness/rgate.sh, plusx86_6480-bitlong doubleoracle platform guard (harness/run_oracle.sh,harness/compare.sh,harness/golden_store.py) and POSIX-portable shell helpers (harness/lib/portable.sh) (PR #71, PR #72, PR #80). - Expanded the automated Cargo workspace test suite from
427to519tests (350vardictrust-corelibrary unit tests +110corpus_parity+26engine_behavior+2amplicon_stream_mem+3cram_stack+19CLI bin +9CLI integration binary tests) and expanded the harness diagnostic self-test suite to 36 scripts (25 shell tests and 11 Python test suites).
Changed
- Replaced hot-path
VariationMap::get_variationstring formatting/cloning withindexmap::map::RawEntryMut, switchedVars::var_desc_to_varianttoFxBuildHasher, boxedVariationMap::sv: Option<Box<Sv>>, added an integeru128fast path intypes::round_half_even, and eliminated redundant per-variant heap allocations acrosstovars.rs,sv.rs,util.rs, andvariations/util.rs(crates/vardictrust-core/src/variations/mod.rs,src/types.rs,src/tovars.rs,src/sv.rs,src/util.rs,src/variations/util.rs) (Issue #63, PR #82). - Enforced
hg008-cram-twin(cram_to_bam_wall_ratio <= 2.50) andcram_parity(cram_to_bam_wall_ratio <= 1.50) inharness/perf_budget.py,harness/pr_check.sh,harness/recertify.sh, andharness/gcp_paper_runner.sh(PR #73, PR #81).
Fixed
- Resolved comprehensive A–N VarDictJava v1.8.3 parity and robustness findings across PR #67–PR #82:
- Split
_rjem_malloc_confby target OS (background_thread:trueon Linux vsbackground_thread:false,dirty_decay_ms:250,muzzy_decay_ms:0,narenas:8on non-Linux viaMALLOC_CONF_LINUX_DEFAULT,MALLOC_CONF_NON_LINUX_DEFAULT,malloc_conf_bytes_for_targetincrates/vardictrust/src/main.rs) (PR #70). - Replicated
HashMap.putVal9-node treeify trigger (bin_len >= TREEIFY_THRESHOLDinJavaHashMap::insert),JavaHashMap::get_or_put_with/variations::get_or_put_vars,ToVarsBuilder::build_aligned_variantsempty-Varsinsertion parity beforecollect_reference_variants, andSTRICT_VAR_ORDER=1unsorted.varrow-order verification (crates/vardictrust-core/src/javamap.rs,src/variations/mod.rs,src/tovars.rs,src/realign.rs) (PR #74). - Replicated
inc_cnt/ insertiontpsignedi32arithmetic andrealignlginssignedmax_read_length - 10bounds, excluded=/Xfromget_soft_clipped_length/get_match_insertion_length/prepare_sv_structures_for_analysis(query_consumed_leninbam.rs), scaledCigarModifier::modify_cigar's iteration bound with CIGAR operator count, and traversedsvffus/svrfusinis_best_sv_usedin OpenJDKHashMap<String, List<Sclip>>bucket order (java_string_hash,java_hashmap_key_orderincrates/vardictrust-core/src/cigar/modify.rs,src/cigar/parse.rs,src/realign.rs,src/javamap.rs,src/sv.rs,src/variations/mod.rs) (PR #75). - Replicated
DUPRATE=0snapshot parity,Utils.getRoundedValueToPrint"N."/"-0."formatting (push_java_rounded),FisherExact::get_odds_ratiojava_double_to_stringscientific notation under--fisher, Apache Commons Math 3SaddlePointExpansion/HypergeometricDistribution(--fisher), and R 4.xfround5-decimal even-mantissa tie-break (round_as_r) (crates/vardictrust-core/src/output/table.rs,src/output/vcf.rs,src/stats/fisher.rs,src/types.rs,src/variations/mod.rs) (PR #76, PR #77). - Replicated whole-stream VCF
$hash{chr}{start}candidate accumulation and 4-decimalround_half_evenAF winner selection across BED regions, Perlsub reorderchromosome ordering (perl_reorder_chromosomes), and> 1 Mbpmulti-tilemax_read_lengthpre-scan (scan_multi_tile_max_read_lengths) plus-t(config.dedup) boundary duplicate continuity (crates/vardictrust-core/src/lib.rs,src/output/vcf.rs,src/cigar/modify.rs) (PR #78). - Replicated Commons-CLI
createNumber(parse_java_number_*) & first-wins scalar options,-FInteger.decode&samfilter_raw != "0", adaptor 6-meri + 6 < sequence.len()&ACGTacgt-only complement (realign::fill_adaptor_maps), BED header/delimiter/4-col auto-detect (java_split,detect_amplicon_bed,parse_amp_bed_from_readerjava_hashmap_key_order),resolve_modeprecedence (#378/--DP ERR), amplicon segmentsplicechaining, and zero-coverage-pamplicon null-row formatting (amplicon_38_into/amplicon_40_into) (crates/vardictrust/src/cli.rs,crates/vardictrust-core/src/realign.rs,src/regions.rs,src/postprocess/amplicon.rs,src/output/table.rs) (PR #69, PR #79). - Added truncated BGZF EOF (
UnexpectedEof) detection, CRAM/FASTA contig span validation (validate_cram_span,fetch_subsequencepast-end error) and 3' chromosome-end overhang padding (CRAM_REF_OVERHANG_PAD = 65_536), rawVec<u8>quality byte preservation forPhred >= 95(normalize_cram_base),i32region coordinate bounds (parse_int_with_commas<= i32::MAX), checked integer conversions acrosscrates/vardictrust-core, and the 16 MiB worker stack floor (WORKER_THREAD_STACK_FLOOR_BYTES/run_with_worker_stackincrates/vardictrust-core/src/runner.rs) (PR #80).
- Split
Install vardictrust 1.0.7
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/palakpsheth/VarDictRust/releases/download/v1.0.7/vardictrust-installer.sh | shDownload vardictrust 1.0.7
| File | Platform | Checksum |
|---|---|---|
| vardictrust-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| vardictrust-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| vardictrust-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| vardictrust-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| vardictrust-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo palakpsheth/VarDictRustYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo palakpsheth/VarDictRust1.0.6 - 2026-10-29
Release Notes
Changed
- Increased Rayon worker thread pool stack size to
16 MiB(WORKER_THREAD_STACK_BYTES = 16 * 1024 * 1024incrates/vardictrust-core/src/runner.rs) to prevent stack exhaustion on deep CRAM rANS/LZMA container decoding and recursive structural variant realignment paths, and eliminated per-regionHashMapallocation inreference::get_reference_with_chr_len(crates/vardictrust-core/src/reference.rs,src/realign.rs) (Issue #60, PR #61, PR #62). - Expanded the in-process workspace test suite from
416to427tests (263vardictrust-corelibrary unit tests +110corpus_parity+25engine_behavior+2amplicon_stream_mem+2cram_stack+17CLI bin +8CLI integration binary tests) and codified the mandatory multi-skill PR review and inline review thread resolution gate (AGENTS.md §15.8,CONTRIBUTING.md §6.1,.github/pull_request_template.md,.agents/skills/vardictrust-pr/SKILL.md,harness/tests/test_bioconda_recipe.py) (PR #61, PR #62). - Synchronized in-tree Bioconda recipe metadata (
packaging/bioconda/recipes/vardictrust/meta.yaml) with thev1.0.5source tarball digest (PR #59). - Simplified
harness/engine_fingerprint.shby removing the legacynormalize_gate_blob()/blob_oid()SemVer normalization workaround soFPandPERF_FPhash rawHEAD:<path>git blob OIDs directly under the Two-Tier Release Recertification Policy (AGENTS.md §15.4). - Recertified all 16 release evidence artifacts in
benchmarks/evidence/*.jsonunder engine fingerprint5865a2a0b24a8c17(perf_fingerprintc490c36317b8f25b;harness/acceptance.sh8/8 PASS) against live pinnedVarDictJava v1.8.3andvardictcpporacle executions on an isolated 32-vCPU GCPn2-standard-32host (2 hit / 90 livegolden-store executions).
Fixed
- Resolved 14 deep-coverage VarDictJava v1.8.3 parity edge cases across
Simple,Somatic,Amplicon, andSplicingmodes and 7 sequencing chemistries (Illumina,PacBio HiFi,ONT,Element,Ultima,MGI,Roche SBX) at both-f 0.01and-f 0(-r 2and-r 1noise floor) (Issue #60, PR #61, PR #62):- Cleared per-BAM duplicate tracking while preserving cumulative
total_reads/duplicate_reads(RecordPreprocessor::reset_for_next_bam,Scope.resetDuplicates), replicatedBAMReader.hasMoreBams(if idx > 0 && !any_passed { break; }) across colon-delimited multi-BAM inputs (bam1:bam2), and validated both tumor and normal BAM specifications upfront (parse_colon_bamsincrates/vardictrust-core/src/lib.rs,src/bam.rs,src/realign.rs,src/sv.rs). - Seeded BAM2's
CigarParserandsv::find_all_sv(find_del_disc) with BAM1's discoveredspliceset and propagated updatedmax_read_lengthandsplicestate across subsequentcombine_analysiswindows in somatic mode (crates/vardictrust-core/src/lib.rs,src/postprocess/somatic.rs, matchingSomaticMode.java:104-122andSomaticPostProcessModule.java:198-200, 303-311, 398-406). - Updated
max_read_lengthprior to the0x800supplementary-read early return (CigarParser.java:181-190), counted referenceNbases as mismatches (nmm++,m++) with unconditionaloffsetincrement inM-after-Ilookahead (CigarParser.java:460-476), and used signedi32loop bounds (for k in 0..element_len) when rescuing trailing mismatches into a$3'$ soft-clip (CigarParser.java:1322-1457) (crates/vardictrust-core/src/cigar/parse.rs). - Unconditionally cached adaptor-cleared empty consensus sequences (
soft_clip.sequence = Some(final_seq.clone())) infind_conseq(VariationUtils.java:136-148,crates/vardictrust-core/src/variations/util.rs), delegatedensure_reference_loadedtoreference::get_reference_with_chr_len(VariationRealigner.java:149, 250, 916, 1020,crates/vardictrust-core/src/realign.rs), preservedvref.cntin$5'$ /$3'$ SV inversion branches (StructuralVariantsProcessor.java:781-795, 922-936,crates/vardictrust-core/src/sv.rs), and allowed signednext_var.fwd/revdecrements during DUP/INV reference adjustment (ToVarsBuilder.java:337-340,crates/vardictrust-core/src/tovars.rs). - Selected somatic
max_af_varianton 4-decimal banker-roundedfreq(SomaticPostProcessModule.java:118-127, 219-227), emittedtlamp = 0, ncamp = 0on amplicon null pileup rows while persistinggood_variantsacross amplicons (AmpliconPostProcessModule.java:152-246), canonicalized negative-zeroround_half_evenformatting (-0$ o$"0"), applied two-stage1dp -> 0dpHALF_EVENrounding to pairedMQ(var2vcf_paired.pl), evaluated VCF filter thresholds on roundedHIAF/SN/MSI/SBF, and emitted;CRISPR=in single-sample VCF INFO when-Jis enabled (crates/vardictrust-core/src/lib.rs,src/postprocess/amplicon.rs,src/output/table.rs,src/output/vcf.rs).
- Cleared per-BAM duplicate tracking while preserving cumulative
Install vardictrust 1.0.6
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/palakpsheth/VarDictRust/releases/download/v1.0.6/vardictrust-installer.sh | shDownload vardictrust 1.0.6
| File | Platform | Checksum |
|---|---|---|
| vardictrust-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| vardictrust-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| vardictrust-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| vardictrust-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| vardictrust-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo palakpsheth/VarDictRustYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo palakpsheth/VarDictRust1.0.5 - 2026-10-27
Release Notes
Added
- First-class in-process
vardictrust-coretest suites (crates/vardictrust-core/tests/corpus_parity.rs[110 tests] andcrates/vardictrust-core/tests/engine_behavior.rs[25 tests],416total workspace tests:252core lib +110corpus_parity+25engine_behavior+2amplicon_stream_mem+2cram_stack+17CLI bin +8CLI integration binary tests) enforced with a>= 90%cargo-llvm-covline coverage gate in CI (PR #49). - Public
vardictrust_core::run_with_writerAPI for direct in-process streaming and testing without subprocess spawn overhead (PR #49). - Supply-chain, CI workflow, and git hook hardening:
.cargo/audit.toml(cargo-audit0.22+ schema withdeny = ["warnings"]),deny.toml([graph] all-features = trueand[sources]registry lockdowns), reusable.github/actions/setup-conda-envcomposite action, expanded.github/dependabot.ymlacross all 19 direct crate dependencies plus/docspip dependencies, and offline-safecargo deny/cargo auditchecks in.githooks/pre-commit,harness/pr_check.sh, andharness/acceptance.sh(PR #49, PR #51). - Automated documentation fingerprint and 16-file SHA-256 manifest synchronizer (
harness/sync_evidence_docs.py) integrated intoharness/recertify.sh(PR #49).
Changed
- Accelerated
VariationRealigner::find_35_matchvia SWARu648-byte word comparisons (crates/vardictrust-core/src/realign.rs), replaced eager CRAM slice vector buffering with streaming cached CRAM container decoding incrates/vardictrust-core/src/bam.rs, and borrowed single-allele somaticVarsincrates/vardictrust-core/src/postprocess/somatic.rs(Issue #45, PR #46). - Added a synchronous single-thread runner fast-path (
num_threads == 1) incrates/vardictrust-core/src/runner.rsand eliminated ~582,600 redundant per-regionstat()syscalls on BAM metadata cache hits incrates/vardictrust-core/src/bam.rs(PR #49). - Consolidated October 2026 dependency and GitHub Actions updates: bumped
noodles(0.117$\to$ 0.118),noodles-bam(0.96$\to$ 0.97),noodles-cram(0.100$\to$ 0.101),noodles-fasta(0.67$\to$ 0.68),noodles-sam(0.91$\to$ 0.92),noodles-vcf(0.94$\to$ 0.95),rustc-hash(1.1.0$\to$ 2.1.3),lzma-rust2(0.21.0$\to$ 0.22.0),clap_lex(1.1.0$\to$ 1.1.1),libc(0.2.186$\to$ 0.2.191),mkdocs(1.6.1),mkdocs-material(9.8.0),pymdown-extensions(12.3), and SHA-pinned GitHub Actions (step-security/harden-runnerv2.22.2,taiki-e/install-actionv2.87.31,actions/cachev6.1.0,actions/setup-pythonv7.1.0,github/codeql-actionv4.39.1) (PR #52, PR #57). - Audited and compressed
README.mdwith Progressive-JPEG layout, 5-channel installation instructions (including Seqera Wave container digests and Nextflownf-core/modules), and verified CLI flag documentation (PR #50). - Recertified all 16 release evidence artifacts in
benchmarks/evidence/*.jsonunder engine fingerprintd925892846918c2a(perf_fingerprintb7decb95be6077f1;harness/acceptance.sh8/8 PASS) with 100% pinnedVarDictJava/vardictcppgolden-store baseline reuse.
Fixed
- Achieved 100% full-genome parity (
56,642 / 56,642intervals,8,111,171variants, 0 diffs) against VarDictJava v1.8.3 across GIAB HG002chr1..chr22(Issue #47, PR #48):- Preserved soft-clip
unusedstate acrossfind_sv(<DEL>,<DUP>,<INV>) and synchronizedfind_conseqsoft-clip mutations back to the liveSclipentry viasync_sclip_after_conseqincrates/vardictrust-core/src/sv.rs, matchingStructuralVariantsProcessor.java:687-965. - Used
config.extension(-x, default0) instead ofconfig.extension_nuc(-X, default3) when computing reference seed fetch bounds incrates/vardictrust-core/src/reference.rs(get_reference), matchingReferenceResource.java:85-89.
- Preserved soft-clip
- Removed the
paths:filter from.github/workflows/differential.ymlso the requiredDual-Engine Differential Parity (Tier-2)status check executes on every pull request (PR #50). - Replaced hardcoded
noodlesversion string matching inharness/tests/test_evidence.shwith a version-agnosticsed -Esubstitution (PR #57).
Install vardictrust 1.0.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/palakpsheth/VarDictRust/releases/download/v1.0.5/vardictrust-installer.sh | shDownload vardictrust 1.0.5
| File | Platform | Checksum |
|---|---|---|
| vardictrust-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| vardictrust-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| vardictrust-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| vardictrust-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| vardictrust-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo palakpsheth/VarDictRustYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo palakpsheth/VarDictRust1.0.4 - 2026-10-25
Release Notes
Fixed
- Achieved 89 / 89 MATCH (
fp=0, fn=0across1,202,444compared oracle
.var/.vcf/splice records and36multi-slice/mode suites) against
VarDictJava v1.8.3 across the 12-cell full-corpus validation sweep (Tier-P
30,267x–45,707xAML panelsSRR15006540/SRR8657348/SRR15006375/
SRR15006376/SRR15006386,51.8 GiBHG002 STAR RNA-seq-isplice &
cDNA, direct whole-chromosome-R chr1:1-249250621, full-cohort Amplicon /
HG002 Deep WGS / HG008 Somatic WGS / SEQC2 WES690,800variants,24-arm
WGS/WES MRD-f 0.001/-f 0/--fishermatrix,30-arm ultra-deep
7,361x–173,132xMRD stress matrix, andG4/E2CRAM 3.0 twins;
Issue #42,
PR #43):-
Bug A (
crates/vardictrust-core/src/cigar/parse.rs,src/reference.rs):
Select the covering secondaryLoadedRegion(region_slice_for_span) on
self.region.chrduring structural-variantpartial_pipelinere-parsing and
spliced alignments (CigarParser.java:181–193,257). -
Bug B (
crates/vardictrust-core/src/reference.rs): Truncate loaded
reference sequences tosite_end = bases.len() - 17after seeding
PendingSeedChunk(ReferenceResource.java:106–112) so the trailing
SEED_1(17 bp) lookahead is excluded fromregion_sequencesand
reference_sequenceswhile remaining indexable by overlapping subsequent
regions. -
Bug C (
crates/vardictrust-core/src/bam.rs): Normalize CRAM
reference-matching bases decoded against soft-masked lowercase FASTA contigs
(a/c/g/t/n) to uppercase (A/C/G/T/N) inSamRecord::fill_from_alignment_record,
and reconstruct omitted CRAM 3.0 (store_nm=0)NMedit distance tags via
compute_cram_nmper SAMtags §1.5. -
Bug D (
crates/vardictrust/src/cli.rs,crates/vardictrust-core/src/config.rs,
src/output/vcf.rs): Replicate Perl falsy$opt_f ? $opt_f : 0.02fallback
(var2vcf_valid.pl:21) viavalid_freq_threshold(config)when-f 0is
passed in single-sample mode, while preserving0.0for truthy decimal/scientific
zero strings (-f 0.0,-f 0e0). -
Bug E (
crates/vardictrust-core/src/postprocess/somatic.rs): Propagate
in-placev2nt.is_noise()coverage decrements (total_pos_cov -= pos_coverage)
back intov2.var_desc_to_variantandv2.variantsso subsequent tumor
alleles at multi-allelic somatic loci observe the mutatedv2.variants[0]
(SomaticPostProcessModule.java:172–186). -
Bug F (
crates/vardictrust-core/src/realign.rs): Fix<dupN>$3'$ flank
substring offset inrealignins(start_idx = sv_flanking, matching
VariationRealigner.java:744–746substr(ins3, SVFLANK - ins3.length())). -
Bug G (
crates/vardictrust-core/src/sv.rs): Query
var_data.ref_coverage.get(&(p5_adj + 1))afterp5--infind_sv$5'$
candidate deletion scan (StructuralVariantsProcessor.java:732, 748). -
Bug H (
crates/vardictrust-core/src/stats/fisher.rs,src/output/table.rs,
src/output/vcf.rs,src/lib.rs): AddFisherExact::new_java/
new_with_mode(..., config.fisher)emulatingFisherExact.java:72, 112, 129
with 7-decimallogdcbanker's rounding (round_half_even(value, 7)) and
OpenJDKDoubleStream.sum()Kahan-Babuška compensated summation
(java_stream_sum) for ultra-deep--fisherparity. -
Adaptive Region Tiling (
crates/vardictrust-core/src/lib.rs,
crates/vardictrust/src/cli.rs): Execute BED intervals<= 1 Mbp
(DEFAULT_UNTILED_SPAN_MAX) as single untiled intervals matching
VarDictJava while tiling multi-megabase intervals> 1 Mbpinto100 kbp
(DEFAULT_TILE_SIZE) windows to preserve< 1.5 GiBbounded WGS memory;
raiseMAX_TILE_SIZEto500 Mbp.
-
Bug A (
- Wired
harness/scale_bench.shandharness/run_integration.shto cache and
replayvardictcppinvocations viaharness/golden_store.sh, eliminating
redundant multi-minutevardictcppre-executions across test and scale loops. - Added unit and real-data end-to-end regression tests across
crates/vardictrust-core
andcrates/vardictrust/tests/flags.rs(293total workspace tests:241core
lib +4core integration +15CLI unit +33CLI integration tests). - Recertified all 16 release evidence artifacts in
benchmarks/evidence/*.json
under engine fingerprint552856835a1eec01(perf_fingerprint
9346a6e5419cc5e2;harness/acceptance.sh8/8 PASS).
Install vardictrust 1.0.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/palakpsheth/VarDictRust/releases/download/v1.0.4/vardictrust-installer.sh | shDownload vardictrust 1.0.4
| File | Platform | Checksum |
|---|---|---|
| vardictrust-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| vardictrust-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| vardictrust-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| vardictrust-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| vardictrust-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo palakpsheth/VarDictRustYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo palakpsheth/VarDictRust1.0.3 - 2026-10-24
Release Notes
Added
- Opt-in zero-default-overhead profiling subsystem (
crates/vardictrust/src/profile.rs,
crates/vardictrust/tests/profile_smoke.rs) with Cargo featuresprofile-cpu
(pprof+infernoSVG flamegraphs),profile-heap(tikv-jemallocator+
jemalloc_pprof), andprofile-dhat(dhat::Allocallocation-site churn),
driven byharness/profile.shand stdlib-onlyharness/profile_catalog.py
(PR #35). - Golden Baseline Store (
harness/golden_store.sh,harness/golden_store.py,
harness/tests/test_golden_store.py) and turnkey G4 cohort stager
(harness/stage_g4.sh) for hash-verified, host-scoped caching of pinned
VarDictJava v1.8.3andvardictcpp 3oracle outputs (PR #32,PR #33). - Complete 10-class
vardictcppdivergence forensic catalog (CPP-1through
CPP-10) indocs/upstream-bugs.md, cross-linked acrossREADME.md,
benchmarks/README.md, anddocs/validation/omnibus-empirical-validation.md
(PR #37). - In-tree Nextflow
nf-core/modulespackaging (packaging/nf-core/modules/vardictrust/,
packaging/nf-core/prepare_nfcore_pr.sh) with multi-arch Seqera Wave
containers (linux/amd64,linux/arm64) andnf-testsnapshots. - Four repository-specific Agent Skills under
.agents/skills/
(vardictrust-issue,vardictrust-pr,vardictrust-profiling, and
vardictrust-releasewith stdlib-onlycheck_release_consistency.py),
validated inharness/tests/test_bioconda_recipe.py.
Changed
- Zero-allocation
get_variation/get_variation_maybe(IndexMap
raw_entry_mut_v1withFxBuildHasher, stack UTF-8 key buffer) and
FxHashMapref_coverage+ borrowed-keyincrementinCigarParser
(PR #35). - Replaced per-bucket
Vecallocations inJavaHashMapwith an OpenJDK-isomorphic flat intrusive node arena (buckets: Vec<u32>,nodes: Vec<Node<K, V>>, free-list reuse), preserving exact bucket/chain iteration andtreeify_binsemantics while eliminating inner-bucket heap allocations and bare slice indexing (PR #35). - BAM I/O and record decoding optimization (O-1 + O-3): share parsed
.bai/.csi
index and SAM header metadata across worker threads viaMETA_CACHE, pool up
to 4 BGZF readers per thread/path viaBAM_READER_POOL(cleared via RAII
guard aroundrun()), and decode concretenoodles::bam::Recordfields and
auxiliary tags (nM/NM/SA/MC/MQ) in a single pass without per-read
trait-object allocations (PR #35). -
CigarModifier::modify_cigar: added dynamic(has_d, has_i, has_s)byte
pre-filters across pre-loop and fixpoint-loop regexes (recomputed on every
cigar_strmutation) and replaced the 5 unconditional post-loop regexes with
bounds-checked, allocation-free byte-slice matchers (PR #35). -
VariationRealigner::realignlgins30/find_conseq/find_35_match(NEW-1):
hoistedsc5_usedand integer distance bounds ahead ofBTreeMaplookups in
realignlgins30, cached empty consensusSome(Vec::new())infind_conseq,
and pre-reversedseq3once for forward slice comparison infind_35_match
(PR #35). -
ToVarsBuilderandrealignlgdeloptimization (O-9): replaced upfront
non_insertion_variants.clone()and per-positionVariationMap::clone()with
a sparse copy-on-writeFxHashMapoverlay, eliminated per-positionVecand
Variantclones andHashSet<String>allocations in
is_the_same_variation_on_ref, and guardedrealignlgdelsoft-clip loops on
livecnt/used/consensus length before cloningSclip(PR #35). - Reference k-mer seed indexing (
O-4 + O-5): replacedHashMap<Vec<u8>, Vec<u32>>
withSeedMap(SeedKey17-byte inline key +SeedPositions::One/Many+
FxBuildHasher) and eliminated redundantbases.clone()andLoadedRegion
Stringclones inget_reference(PR #35). - Stack-buffered
round_half_even(StackBuf<64>intypes::round_half_even
with heap fallback for oversized values, O-12a) and allocation-free integer
CIGAR deletion suffix checkcigar_contains_dlen_din
VariationRealigner::no_passing_reads(O-7,PR #35). - Enabled
noodles-bgzf/libdeflatefor whole-block BGZF deflate decompression
in BAM/BAI/CSI/VCF.gz readers (O-2, +3.74% median wall-time improvement on
hg002chr20,PR #35). - Configured
tikv-jemallocatoras the default Linux global allocator with
static_rjem_malloc_conf(background_thread:true,dirty_decay_ms:250,muzzy_decay_ms:0,narenas:8)
and guardedStructuralVariantsProcessor::find_svto filter out sub-minr
soft-clip clusters before cloningSclip, cutting peak RSS by 1.7×–4.2×
(hg002497.1 MiB,seqc2467.9 MiB,hg008313.1 MiB,chr1
249 Mbp1.42 GiBwith1.22×flat RSS scaling,PR #35,PR #37). - High-region-count Exome BED optimization (
EBO-1..EBO-3, Issue #36,PR #37):
addedCachedBgzfReaderwith a 1-block thread-local cursor and 8-shard × 16-slot
LRU process-wideBGZF_BLOCK_CACHEinbam.rs(EBO-1), deferred
Reference::seed12-mer/17-mer hashing until the first soft-clip realignment
query viaOnceCell<RawSeedMap>inreference.rs(EBO-2), and batched up
to 16 consecutive small same-chromosome tiles inregions::batch_tilesand
runner::run_parallel_batched(EBO-3), cuttingseqc2-exome-tier2wall
time by 2.51× (19m 28.78s$\to$ 7m 46.34s,6.9×faster than
VarDictJava) andscale.jsonexome BED wall time across 1–8 threads by
1.38×–2.38× (3m 06.43sat-th 8). - Recertified all 16 release evidence artifacts in
benchmarks/evidence/*.json
under engine fingerprint27f3667b32ac14f5(perf_fingerprint
9f75643cf12aa988;harness/acceptance.sh8/8 PASS,PR #37).
Fixed
- Per-tile BAM streaming for
chrMRNA splicing (-i), ungated parity-restoring
splice-tile-ownershipandmate-window-ownershiptile ownership rules, and
lowercase-nallele_keypassthrough (PR #29).
Install vardictrust 1.0.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/palakpsheth/VarDictRust/releases/download/v1.0.3/vardictrust-installer.sh | shDownload vardictrust 1.0.3
| File | Platform | Checksum |
|---|---|---|
| vardictrust-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| vardictrust-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| vardictrust-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| vardictrust-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| vardictrust-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo palakpsheth/VarDictRustYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo palakpsheth/VarDictRust1.0.2 - 2026-10-17
Release Notes
Fixed
- Bounded-memory amplicon calling: per-base insert expansion replaced with an
interval-overlap test plus a streaming-ppath (active-interval sweep),
eliminating OOMs on huge BED intervals with byte-identical output.
Added
- Harness gates: pinned cpp
--chunk(default 50000) recorded to evidence,
ORACLE_XMX_GBheap sizing for the Java oracle, and a gated truvari SV
wrapper with loud SKIP when truvari is absent. - All 16 evidence artifacts recertified under the new engine fingerprint
(acceptance 8/8 PASS).
Install vardictrust 1.0.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/palakpsheth/VarDictRust/releases/download/v1.0.2/vardictrust-installer.sh | shDownload vardictrust 1.0.2
| File | Platform | Checksum |
|---|---|---|
| vardictrust-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| vardictrust-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| vardictrust-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| vardictrust-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| vardictrust-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo palakpsheth/VarDictRustYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo palakpsheth/VarDictRust