Skip to content

Releases

VarDictRust v1.1.0 — Clinical Workflow Presets, Opt-In Upstream Bugfixes (--compat=off), Multi-Allelic VCF & MIT

Choose a tag to compare

@github-actions github-actions released this 26 Nov 04:21
dcddd73

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 MIT License 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-precision f80 engine (stats::hypergeom, 0 diffs across 15,747 locked Fisher exact oracle rows), licensing vardictrust and vardictrust-core purely under MIT.
  • Opt-In --compat=off (32 Upstream Bugfixes, Zero Flag Sprawl; VarDictRust#94, VarDictRust#95, VarDictRust#158, VarDictRust#152–VarDictRust#159): A single flag activates all 32 verified fixes for VarDictJava, VarDict (var2vcf_*.pl / teststrandbias.R / testsomatic.R), clintval/vartovcf, bcbio-nextgen, and EBIvariation/vcf-validator defects, stamping ##VarDictRustCompat=off in VCF headers for clinical auditability.
  • Clinical Short-Read Workflow Presets (--preset <wgs|wes|amplicon|ctdna>, VarDictRust#161): Configures --compat=off, standard 0-based BED coordinates (-c 1 -S 2 -E 3 -g 4 -z on non-amplicon BEDs while keeping -R chr:start-end 1-based), and modality-calibrated candidate/VCF thresholds in one flag (stamping both ##VarDictRustCompat=off and ##VarDictRustPreset=<preset>), with full precedence for any explicit CLI flag override.
  • 18/18 var2vcf Post-Filter Parity + Single-Primer Amplicon (-sp) (VarDictRust#152, VarDictRust#157):
    • --vcf-all-alleles (--all-alleles, hidden vardictcpp alias --vcfall): ports var2vcf_valid.pl / var2vcf_paired.pl -A multi-allelic VCF emission across Simple, Amplicon, and Paired Somatic modes with bounded-memory cross-tile deduplication (-A <INT> remains VarDictJava's sv_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..v4 double-dash aliases (--vcfall, --noend, --vcfpass, --vcf), completing the 92-flag CLI surface across 7 functional groups.
  • WGS/WES Speed & Bounded CRAM/BAM Memory (VarDictRust#149, VarDictRust#150, VarDictRust#151): 5.5×–38.1× faster than VarDictJava v1.8.3 on WGS/WES (68.3× on amplicons) in 8.3×–20.5× less RAM, scaling 3.24× from 1 to 8 threads across 249 Mbp GRCh38 chr1 (233.18s → 71.97s in 1.26 GiB flat bounded RSS, where VarDictJava v1.8.3 OOM-crashes above 31 GiB), while cutting HG008 somatic 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 --tbi

All 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)

Read more

1.0.10 - 2026-11-18

Choose a tag to compare

@github-actions github-actions released this 18 Nov 21:16
4d47bc9

Release Notes

Added

  • Expanded cargo-fuzz coverage (SeedMap-populated fuzz_modify_cigar and new fuzz_parse_and_realign target), added 37 harness diagnostic self-tests (25 shell tests + 12 Python test suites, including single-pass FIFO-safe compare_vcf.py sample-column and FORMAT subfield count parity checks), and expanded the automated Cargo workspace test suite from 664 to 691 tests (491 vardictrust-core library unit tests + 110 corpus_parity + 29 engine_behavior + 2 amplicon_stream_mem + 3 cram_stack + 29 CLI bin + 27 CLI 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-core while 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 bp loaded reference windows with idempotent i64 coordinate-compressed finish_ref_coverage sweeps for > 64 bp spans; flattened multi-tile max_read_length pre-scanning (lib.rs) into a non-nested 250 kbp band pool with disjoint alignment_start band ownership, 4 MiB per-band FallbackSequential cap, and a lazy 4 MiB 2-bit ACGT + 'N' side-map 12-mer index on 2nd+ parent-wide misses; and added EXP_UNDERFLOW_LN_F64 = -746.0 0-ULP exp() short-circuiting and loop-invariant p3 hoisting in fisher.rs.
    • Replaced swar_mismatch_count_u64 software count_ones() with a 3-op branchless multiply-shift horizontal byte sum, tightened find_35_match (Iterator::position candidate scanning + exact O(1) mm0 IEEE-754 0.1 ratio pre-rejects, 2.60× faster), added find_conseq_slice eliminating all Sclip deep BTreeMap/IndexMap clones across realignlgdel/find_del_paths/find_dup_disc_paths, replaced quadratic tmp3 scans in realignlgins30 with binary-searched window slices, indexed SOFTP2SV upfront via SclipSlot in find_sv, and unified find_mm5/find_mm3 and .var/genotype/regex formatting over stack-allocated buffers (StackBuf).
    • Reduced JavaHashMap<i32, Vars> to 96 B (Option<Box<V>> cold fallback, Option<Box<Vec<K>>> NewKeyLog, active_tree_bins: u32, ASCII java_string_hash/java_compare fast-paths, into_entries), deleted the private StrNode Red-Black tree in java_hashmap_key_order in favor of JavaHashMap<&str, usize>, added build_aligned_variants_pruned to skip Phase-2 collect_reference_variants on doomed sub-threshold sites, consolidated .var serializers via TableModeStyle across Simple 36/38, Amplicon 38/40, and Somatic 55/61, removed duplicate per-tile BTreeMap passes and unused private SAM_READER_CACHE/ADAPTOR_MAP_CACHE, added i64 $O(1)$ pre-region Match skipping / single-base Match specialization / fused paired CIGAR scans / >= 10S and >= 12S modify_pure_sm_in_place fast-paths, and added 2-slot BAM_META_TLS (BAM_CACHE_EPOCH), <= 4096 B BamFeedInner stashes, ACGTacgt= fast-skip in compute_cram_nm, SeedKey::pair_17_12, and RAII WorkerRegionGuard.
  • Synced in-tree packaging/bioconda/recipes/vardictrust/meta.yaml to v1.0.9 verified GitHub release tarball SHA-256 c40c3bf6180144d87ae39a52470b07e68b61f2ea41ef8c990deaf24529025284, trimmed unused regex and noodles bed/vcf features from binary manifests, and retired env RUST_MIN_STACK=67108864 and the last # shortcut: comment in harness/cram_twin.sh (PR #134, PR #136, PR #140).

Fixed

  • Raised MAX_CACHED_CRAM_CONTAINER_BYTES in crates/vardictrust-core/src/bam.rs from 4 MiB to 16 MiB (should_cache_cram_container / fetch_cram_container_in), added per-key singleflight CRAM container decode coalescing (InflightCramDecode / InflightCramGuard on CramContainerCacheShard), upgraded CRAM_META_TLS from 1 slot to 2 slots (lookup_cram_meta_tls / insert_cram_meta_tls) eliminating T <-> N paired somatic TLS thrash, and buffered prevalidate_cram_container_slices through a 64 KiB seek-retaining window (SeekWindowReader) so standard 10,000–10,240-read 150–250 bp Illumina CRAM containers (~6.3–9.8 MiB) decode once across concurrent workers and hit CRAM_CONTAINER_CACHE while keeping 8 × 4 = 32 decoded-record slots bounded to <= 512 MiB and bypassing oversized long-read containers (PR #136, PR #139).
  • Hardened hostile-input .bai/.csi index 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_aux bounds) in read_validated_bai_index and read_validated_csi_index before delegating to noodles, and terminated non-advancing cigar.iter() Err loops immediately in SamRecord::fill_from_alignment_record and intersects_record (crates/vardictrust-core/src/bam.rs).
  • Hardened CLI -th/--threads positional-BED normalization (require_equals = true + free-positional counting preserving Commons-CLI first-wins duplicate -th), stale .tbi/.csi sidecar cleanup and 0555 read-only preflight validation when overwriting BGZF --output paths without --tbi/--csi, --output parent-directory spill staging in SpillableVcfAccumulator with std::env::temp_dir() fallback, and FileStamp-validated process-wide OnceLock .fai/.gzi metadata 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-safe portable.sh --timeout, resolve_data_root, and 16-path find_gitleaks while removing GNU-isms across 11 scripts; hardened .github/workflows/release.yml (!announcement_is_prerelease, step-scoped CARGO_REGISTRY_TOKEN, idempotent vardictrust-core + vardictrust publish, removed empty announce); bumped setup-conda-env to conda-env-v3- with portable CLI pins and pinned playwright==1.62.0 in docs.yml; hardened gcp_paper_runner.sh (--stage allowlist + immutable SHA-256-verified installers); and added SHA-256 verification on concordance_multimodal.sh truth slices and run_stage_6.sh downloads (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 | sh

Download 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/VarDictRust

You 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

1.0.9 - 2026-11-16

Choose a tag to compare

@github-actions github-actions released this 16 Nov 11:50
bdfbd91

Release Notes

Added

  • Ported OpenJDK 8 java.util.HashMap.TreeNode Red-Black treeification (treeify, balanceInsertion, rotateLeft, rotateRight, moveRootToFront, getTreeNode, single-pass probe_tree_slot / putTreeVal), deletion rebalancing (removeTreeNode entry-topology untreeification, balanceDeletion, and 2-child interior link swapping), and resize() TreeNode.split (UNTREEIFY_THRESHOLD = 6) into JavaHashMap<K, V> behind a cold Option<Box<Vec<TreeLink>>> sidecar (size_of::<Node<i32, i32>>() == 12, 0 extra per-node bytes across < 8-collision biological cohorts), sealing JavaHash with UTF-16 String ordering (encode_utf16().cmp(...)) and signed i32 spread-hash comparisons (CWE-407 2^16-stride collision DoS closure; expanded the automated Cargo workspace test suite from 657 to 664 tests: 467 vardictrust-core library unit tests + 110 corpus_parity + 29 engine_behavior + 2 amplicon_stream_mem + 3 cram_stack + 28 CLI bin + 25 CLI integration binary tests) (crates/vardictrust-core/src/javamap.rs, src/tovars.rs, benches/engine.rs, ROADMAP.md) (Issue #116 SEC-17b, PR #131).

Changed

  • Migrated the ReadTheDocs (vardictrust.readthedocs.io) and strict CI documentation platform from mkdocs-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 in harness/prepare_docs_site.py, space-safe Zensical pre-commit/pre-push strict gates, pure-stdlib TOML nav validation in check_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, including noodles-bam 0.98.0, noodles-cram 0.102.0, noodles-sam 0.93.0, and noodles-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.yml with cached 4-architecture cargo-dist v0.33.0 SHA-256 archive verification, macos-15 aarch64-apple-darwin runner migration, SLSA v1.0 resolvedDependencies[0] alignment, workflow_dispatch recovery, and 6-job step-security/harden-runner audit; upgraded harness/assets.tsv to 6 columns with 40 verified SHA-256 digests, atomic stage_verified_sha256, and unconditional disk rehashing across harness/fetch_data.sh and slice stagers; enforced lockout-safe refs/tags/v* ruleset 24867690 in harness/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 #116 SEC-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 | sh

Download 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/VarDictRust

You 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

1.0.8 - 2026-11-14

Choose a tag to compare

@github-actions github-actions released this 15 Nov 14:22
3637d50

Release Notes

Added

  • Native direct file output, BGZF compression, Tabix/CSI indexing, run telemetry, and explicit parity pinning: --output <PATH> (streaming .vcf, .var, and -i splice counts directly to plain files or multithreaded BGZF .gz/.bgz via noodles::bgzf::io::MultithreadedWriter with File::sync_all verification), --tbi / --index pure-Rust Tabix (.vcf.gz.tbi) and --csi pure-Rust CSI (.vcf.gz.csi) index generation (noodles::tabix and noodles::csi, honoring INFO/END coordinate spans for symbolic <DEL>, <DUP>, <INV>, and <INS> records, with an actionable --csi hint when --tbi encounters coordinates exceeding Tabix's 512 Mbp limit), --no-end (var2vcf_valid.pl -E INFO/END suppression), --stats-json <PATH> pipeline telemetry, --parity and --compat vardictjava-1.8.3 CLI forward-compatibility pinning, and UPSTREAM.toml reference 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/--crispr long aliases, and -C and -Z / -downsample / --downsample explicit VardictError::Unsupported reporting (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 / --VS SILENT/LENIENT validation stringency acceptance (-VS STRICT fails fast with VardictError::Unsupported), clustered boolean-prefix short options (-pz, -pz0, -uk, -ua, -pR), RAYON_NUM_THREADS fallback when -th / --threads is omitted, and MSRV rust-version = "1.91.0" + crates.io metadata inheritance across Cargo.toml, crates/vardictrust/Cargo.toml, and crates/vardictrust-core/Cargo.toml (crates/vardictrust/src/cli.rs, crates/vardictrust-core/src/config.rs, src/cigar/parse.rs) (PR #105).
  • Cross-tile .var intermediate boundary deduplication via SplitVarDeduper (SPLIT_VAR_RETENTION_WINDOW_BP = 200_000) across split tiles in SimpleMode and SomaticMode, preserving within-tile multiplicity and -p shifted-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, 0 diffs across 5 cohorts including full 22-autosome GIAB HG002 WGS 8,111,171 variants), strict Markdown relative-link and MkDocs build audits, clinical/engineering SWOT ecosystem review (docs/ecosystem-survey.md), Bioconda and Nextflow nf-core/modules v1.0.7 packaging sync (with MIT AND GPL-2.0-or-later block-sequence meta.yml), 29 zero-conda / 7 oracle CI self-test wiring, 5-target release performance budget guard, and live --verify-cargo-list release-consistency validation (PR #86, PR #87, PR #88, PR #89, PR #97).
  • Expanded the automated Cargo workspace test suite from 519 to 657 tests (460 vardictrust-core library unit tests + 110 corpus_parity + 29 engine_behavior + 2 amplicon_stream_mem + 3 cram_stack + 28 CLI bin + 25 CLI integration binary tests) (PR #104, PR #105, PR #106, PR #107).
  • Consolidated var2vcf_valid.pl / var2vcf_paired.pl VCF post-filter CLI flags (--pass-only, --paired-strict, --vcf-pval <FLOAT>, --min-splitreads <INT>, --no-pstd-filter; porting var2vcf_valid.pl -S/-T/-P 0 and var2vcf_paired.pl -S/-M/-P with verbatim P$PVAL token preservation and programmatic resolve_effective_config bounds validation) plus GNU-only single-dash typo guards failing fast with actionable "did you mean '--...'?" errors and tightened split_bool_prefix_cluster tail 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 / --trim to corpus parity status (0 unexercised CLI flags remaining in README.md) via zero-subprocess in-process corpus_parity coverage alongside --fisher VCF raw-cell formatting assertions, and closed the resolved --fisher VCF raw-cell divergence in DIVERGENCES.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.pl VCF threshold, genotype, and cluster-filter CLI flags (89 total CLI flags across 7 functional groups together with --completions and --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 via VcfThreshold<T> with explicit GNU --vcf-* defined() (Option::Some) zero semantics (honoring 0 on explicit overrides while preserving legacy bare -f 0 0.02 single-sample fallback) and SingleRecordStreamer + 4-state SingleVcfEvent bounded-memory Cluster<N>bp sliding-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 by clap::CommandFactory introspection, reorganized CLI --help (-H / --help) into 7 help_heading sections matching README.md, added cross-compile-safe completion and manpage installation in packaging/bioconda/recipes/vardictrust/build.sh, authored the docs/migration.md Rosetta Stone guide from VarDictJava + R + Perl (var2vcf_valid.pl / var2vcf_paired.pl) pipelines, recorded [advisory_comparators.vardictcpp] (version = "3", bioconda_build = "hc52dbad_0") in UPSTREAM.toml, and expanded check_release_consistency.py structural 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 / --region and BED calling via right-to-left known-contig prefix matching in regions::parse_region_flag and zero-allocation pub(crate) bam::build_noodles_region (replacing string-formatted "{}:{}-{}" region reparsing), alongside MkDocs 1.6 top-level not_in_nav validation, Nextflow nf-core CRAM/CSI/ReadTheDocs packaging metadata, and MSRV 1.91.0 / DIVERGENCES.md release-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

Read more

1.0.7 - 2026-11-01

Choose a tag to compare

@github-actions github-actions released this 02 Nov 22:06
797a62a

Release Notes

Added

  • Bounded 512 MiB reference sequence cache (DEFAULT_FASTA_CACHE_BUDGET_BYTES) with active-CramFeed Arc<ContigSlot> pinning (Arc::strong_count == 1 eviction), RegistryDelegatingAdapter handle pooling (MAX_POOLED_FASTA_ADAPTERS = 8), and IndexedCrai binary-searched slice seek (crates/vardictrust-core/src/bam.rs) (PR #81).
  • Multi-threaded amplicon execution across (chrom, seg_idx) groups via runner::run_parallel with deterministic input-order reassembly (crates/vardictrust-core/src/lib.rs) (PR #82).
  • Production no-panic lint ratchet (harness/lint_ratchet.sh) wired into harness/pr_check.sh and harness/rgate.sh, plus x86_64 80-bit long double oracle 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 427 to 519 tests (350 vardictrust-core library unit tests + 110 corpus_parity + 26 engine_behavior + 2 amplicon_stream_mem + 3 cram_stack + 19 CLI bin + 9 CLI 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_variation string formatting/cloning with indexmap::map::RawEntryMut, switched Vars::var_desc_to_variant to FxBuildHasher, boxed VariationMap::sv: Option<Box<Sv>>, added an integer u128 fast path in types::round_half_even, and eliminated redundant per-variant heap allocations across tovars.rs, sv.rs, util.rs, and variations/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) and cram_parity (cram_to_bam_wall_ratio <= 1.50) in harness/perf_budget.py, harness/pr_check.sh, harness/recertify.sh, and harness/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_conf by target OS (background_thread:true on Linux vs background_thread:false,dirty_decay_ms:250,muzzy_decay_ms:0,narenas:8 on non-Linux via MALLOC_CONF_LINUX_DEFAULT, MALLOC_CONF_NON_LINUX_DEFAULT, malloc_conf_bytes_for_target in crates/vardictrust/src/main.rs) (PR #70).
    • Replicated HashMap.putVal 9-node treeify trigger (bin_len >= TREEIFY_THRESHOLD in JavaHashMap::insert), JavaHashMap::get_or_put_with / variations::get_or_put_vars, ToVarsBuilder::build_aligned_variants empty-Vars insertion parity before collect_reference_variants, and STRICT_VAR_ORDER=1 unsorted .var row-order verification (crates/vardictrust-core/src/javamap.rs, src/variations/mod.rs, src/tovars.rs, src/realign.rs) (PR #74).
    • Replicated inc_cnt / insertion tp signed i32 arithmetic and realignlgins signed max_read_length - 10 bounds, excluded =/X from get_soft_clipped_length/get_match_insertion_length/prepare_sv_structures_for_analysis (query_consumed_len in bam.rs), scaled CigarModifier::modify_cigar's iteration bound with CIGAR operator count, and traversed svffus/svrfus in is_best_sv_used in OpenJDK HashMap<String, List<Sclip>> bucket order (java_string_hash, java_hashmap_key_order in crates/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=0 snapshot parity, Utils.getRoundedValueToPrint "N."/"-0." formatting (push_java_rounded), FisherExact::get_odds_ratio java_double_to_string scientific notation under --fisher, Apache Commons Math 3 SaddlePointExpansion / HypergeometricDistribution (--fisher), and R 4.x fround 5-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-decimal round_half_even AF winner selection across BED regions, Perl sub reorder chromosome ordering (perl_reorder_chromosomes), and > 1 Mbp multi-tile max_read_length pre-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, -F Integer.decode & samfilter_raw != "0", adaptor 6-mer i + 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_reader java_hashmap_key_order), resolve_mode precedence (#378 / --DP ERR), amplicon segment splice chaining, and zero-coverage -p amplicon 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_subsequence past-end error) and 3' chromosome-end overhang padding (CRAM_REF_OVERHANG_PAD = 65_536), raw Vec<u8> quality byte preservation for Phred >= 95 (normalize_cram_base), i32 region coordinate bounds (parse_int_with_commas <= i32::MAX), checked integer conversions across crates/vardictrust-core, and the 16 MiB worker stack floor (WORKER_THREAD_STACK_FLOOR_BYTES / run_with_worker_stack in crates/vardictrust-core/src/runner.rs) (PR #80).

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 | sh

Download 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/VarDictRust

You 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

1.0.6 - 2026-10-29

Choose a tag to compare

@github-actions github-actions released this 29 Oct 20:16
6c39980

Release Notes

Changed

  • Increased Rayon worker thread pool stack size to 16 MiB (WORKER_THREAD_STACK_BYTES = 16 * 1024 * 1024 in crates/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-region HashMap allocation in reference::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 416 to 427 tests (263 vardictrust-core library unit tests + 110 corpus_parity + 25 engine_behavior + 2 amplicon_stream_mem + 2 cram_stack + 17 CLI bin + 8 CLI 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 the v1.0.5 source tarball digest (PR #59).
  • Simplified harness/engine_fingerprint.sh by removing the legacy normalize_gate_blob() / blob_oid() SemVer normalization workaround so FP and PERF_FP hash raw HEAD:<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/*.json under engine fingerprint 5865a2a0b24a8c17 (perf_fingerprint c490c36317b8f25b; harness/acceptance.sh 8/8 PASS) against live pinned VarDictJava v1.8.3 and vardictcpp oracle executions on an isolated 32-vCPU GCP n2-standard-32 host (2 hit / 90 live golden-store executions).

Fixed

  • Resolved 14 deep-coverage VarDictJava v1.8.3 parity edge cases across Simple, Somatic, Amplicon, and Splicing modes and 7 sequencing chemistries (Illumina, PacBio HiFi, ONT, Element, Ultima, MGI, Roche SBX) at both -f 0.01 and -f 0 (-r 2 and -r 1 noise 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), replicated BAMReader.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_bams in crates/vardictrust-core/src/lib.rs, src/bam.rs, src/realign.rs, src/sv.rs).
    • Seeded BAM2's CigarParser and sv::find_all_sv (find_del_disc) with BAM1's discovered splice set and propagated updated max_read_length and splice state across subsequent combine_analysis windows in somatic mode (crates/vardictrust-core/src/lib.rs, src/postprocess/somatic.rs, matching SomaticMode.java:104-122 and SomaticPostProcessModule.java:198-200, 303-311, 398-406).
    • Updated max_read_length prior to the 0x800 supplementary-read early return (CigarParser.java:181-190), counted reference N bases as mismatches (nmm++, m++) with unconditional offset increment in M-after-I lookahead (CigarParser.java:460-476), and used signed i32 loop 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())) in find_conseq (VariationUtils.java:136-148, crates/vardictrust-core/src/variations/util.rs), delegated ensure_reference_loaded to reference::get_reference_with_chr_len (VariationRealigner.java:149, 250, 916, 1020, crates/vardictrust-core/src/realign.rs), preserved vref.cnt in $5'$/$3'$ SV inversion branches (StructuralVariantsProcessor.java:781-795, 922-936, crates/vardictrust-core/src/sv.rs), and allowed signed next_var.fwd/rev decrements during DUP/INV reference adjustment (ToVarsBuilder.java:337-340, crates/vardictrust-core/src/tovars.rs).
    • Selected somatic max_af_variant on 4-decimal banker-rounded freq (SomaticPostProcessModule.java:118-127, 219-227), emitted tlamp = 0, ncamp = 0 on amplicon null pileup rows while persisting good_variants across amplicons (AmpliconPostProcessModule.java:152-246), canonicalized negative-zero round_half_even formatting (-0 $ o$ "0"), applied two-stage 1dp -> 0dp HALF_EVEN rounding to paired MQ (var2vcf_paired.pl), evaluated VCF filter thresholds on rounded HIAF/SN/MSI/SBF, and emitted ;CRISPR= in single-sample VCF INFO when -J is enabled (crates/vardictrust-core/src/lib.rs, src/postprocess/amplicon.rs, src/output/table.rs, src/output/vcf.rs).

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 | sh

Download 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/VarDictRust

You 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

1.0.5 - 2026-10-27

Choose a tag to compare

@github-actions github-actions released this 27 Oct 19:51
c30c3e0

Release Notes

Added

  • First-class in-process vardictrust-core test suites (crates/vardictrust-core/tests/corpus_parity.rs [110 tests] and crates/vardictrust-core/tests/engine_behavior.rs [25 tests], 416 total workspace tests: 252 core lib + 110 corpus_parity + 25 engine_behavior + 2 amplicon_stream_mem + 2 cram_stack + 17 CLI bin + 8 CLI integration binary tests) enforced with a >= 90% cargo-llvm-cov line coverage gate in CI (PR #49).
  • Public vardictrust_core::run_with_writer API 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-audit 0.22+ schema with deny = ["warnings"]), deny.toml ([graph] all-features = true and [sources] registry lockdowns), reusable .github/actions/setup-conda-env composite action, expanded .github/dependabot.yml across all 19 direct crate dependencies plus /docs pip dependencies, and offline-safe cargo deny / cargo audit checks in .githooks/pre-commit, harness/pr_check.sh, and harness/acceptance.sh (PR #49, PR #51).
  • Automated documentation fingerprint and 16-file SHA-256 manifest synchronizer (harness/sync_evidence_docs.py) integrated into harness/recertify.sh (PR #49).

Changed

  • Accelerated VariationRealigner::find_35_match via SWAR u64 8-byte word comparisons (crates/vardictrust-core/src/realign.rs), replaced eager CRAM slice vector buffering with streaming cached CRAM container decoding in crates/vardictrust-core/src/bam.rs, and borrowed single-allele somatic Vars in crates/vardictrust-core/src/postprocess/somatic.rs (Issue #45, PR #46).
  • Added a synchronous single-thread runner fast-path (num_threads == 1) in crates/vardictrust-core/src/runner.rs and eliminated ~582,600 redundant per-region stat() syscalls on BAM metadata cache hits in crates/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-runner v2.22.2, taiki-e/install-action v2.87.31, actions/cache v6.1.0, actions/setup-python v7.1.0, github/codeql-action v4.39.1) (PR #52, PR #57).
  • Audited and compressed README.md with Progressive-JPEG layout, 5-channel installation instructions (including Seqera Wave container digests and Nextflow nf-core/modules), and verified CLI flag documentation (PR #50).
  • Recertified all 16 release evidence artifacts in benchmarks/evidence/*.json under engine fingerprint d925892846918c2a (perf_fingerprint b7decb95be6077f1; harness/acceptance.sh 8/8 PASS) with 100% pinned VarDictJava/vardictcpp golden-store baseline reuse.

Fixed

  • Achieved 100% full-genome parity (56,642 / 56,642 intervals, 8,111,171 variants, 0 diffs) against VarDictJava v1.8.3 across GIAB HG002 chr1..chr22 (Issue #47, PR #48):
    • Preserved soft-clip unused state across find_sv (<DEL>, <DUP>, <INV>) and synchronized find_conseq soft-clip mutations back to the live Sclip entry via sync_sclip_after_conseq in crates/vardictrust-core/src/sv.rs, matching StructuralVariantsProcessor.java:687-965.
    • Used config.extension (-x, default 0) instead of config.extension_nuc (-X, default 3) when computing reference seed fetch bounds in crates/vardictrust-core/src/reference.rs (get_reference), matching ReferenceResource.java:85-89.
  • Removed the paths: filter from .github/workflows/differential.yml so the required Dual-Engine Differential Parity (Tier-2) status check executes on every pull request (PR #50).
  • Replaced hardcoded noodles version string matching in harness/tests/test_evidence.sh with a version-agnostic sed -E substitution (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 | sh

Download 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/VarDictRust

You 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

1.0.4 - 2026-10-25

Choose a tag to compare

@github-actions github-actions released this 25 Oct 17:43
2503907

Release Notes

Fixed

  • Achieved 89 / 89 MATCH (fp=0, fn=0 across 1,202,444 compared oracle
    .var/.vcf/splice records and 36 multi-slice/mode suites) against
    VarDictJava v1.8.3 across the 12-cell full-corpus validation sweep (Tier-P
    30,267x–45,707x AML panels SRR15006540 / SRR8657348 / SRR15006375 /
    SRR15006376 / SRR15006386, 51.8 GiB HG002 STAR RNA-seq -i splice &
    cDNA, direct whole-chromosome -R chr1:1-249250621, full-cohort Amplicon /
    HG002 Deep WGS / HG008 Somatic WGS / SEQC2 WES 690,800 variants, 24-arm
    WGS/WES MRD -f 0.001 / -f 0 / --fisher matrix, 30-arm ultra-deep
    7,361x–173,132x MRD stress matrix, and G4/E2 CRAM 3.0 twins;
    Issue #42,
    PR #43):
    • Bug A (crates/vardictrust-core/src/cigar/parse.rs, src/reference.rs):
      Select the covering secondary LoadedRegion (region_slice_for_span) on
      self.region.chr during structural-variant partial_pipeline re-parsing and
      spliced alignments (CigarParser.java:181–193, 257).
    • Bug B (crates/vardictrust-core/src/reference.rs): Truncate loaded
      reference sequences to site_end = bases.len() - 17 after seeding
      PendingSeedChunk (ReferenceResource.java:106–112) so the trailing
      SEED_1 (17 bp) lookahead is excluded from region_sequences and
      reference_sequences while 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) in SamRecord::fill_from_alignment_record,
      and reconstruct omitted CRAM 3.0 (store_nm=0) NM edit distance tags via
      compute_cram_nm per 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.02 fallback
      (var2vcf_valid.pl:21) via valid_freq_threshold(config) when -f 0 is
      passed in single-sample mode, while preserving 0.0 for truthy decimal/scientific
      zero strings (-f 0.0, -f 0e0).
    • Bug E (crates/vardictrust-core/src/postprocess/somatic.rs): Propagate
      in-place v2nt.is_noise() coverage decrements (total_pos_cov -= pos_coverage)
      back into v2.var_desc_to_variant and v2.variants so subsequent tumor
      alleles at multi-allelic somatic loci observe the mutated v2.variants[0]
      (SomaticPostProcessModule.java:172–186).
    • Bug F (crates/vardictrust-core/src/realign.rs): Fix <dupN> $3'$ flank
      substring offset in realignins (start_idx = sv_flanking, matching
      VariationRealigner.java:744–746 substr(ins3, SVFLANK - ins3.length())).
    • Bug G (crates/vardictrust-core/src/sv.rs): Query
      var_data.ref_coverage.get(&(p5_adj + 1)) after p5-- in find_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): Add FisherExact::new_java /
      new_with_mode(..., config.fisher) emulating FisherExact.java:72, 112, 129
      with 7-decimal logdc banker's rounding (round_half_even(value, 7)) and
      OpenJDK DoubleStream.sum() Kahan-Babuška compensated summation
      (java_stream_sum) for ultra-deep --fisher parity.
    • 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 Mbp into 100 kbp
      (DEFAULT_TILE_SIZE) windows to preserve < 1.5 GiB bounded WGS memory;
      raise MAX_TILE_SIZE to 500 Mbp.
  • Wired harness/scale_bench.sh and harness/run_integration.sh to cache and
    replay vardictcpp invocations via harness/golden_store.sh, eliminating
    redundant multi-minute vardictcpp re-executions across test and scale loops.
  • Added unit and real-data end-to-end regression tests across crates/vardictrust-core
    and crates/vardictrust/tests/flags.rs (293 total workspace tests: 241 core
    lib + 4 core integration + 15 CLI unit + 33 CLI integration tests).
  • Recertified all 16 release evidence artifacts in benchmarks/evidence/*.json
    under engine fingerprint 552856835a1eec01 (perf_fingerprint
    9346a6e5419cc5e2; harness/acceptance.sh 8/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 | sh

Download 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/VarDictRust

You 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

1.0.3 - 2026-10-24

Choose a tag to compare

@github-actions github-actions released this 24 Oct 13:32
d88395a

Release Notes

Added

  • Opt-in zero-default-overhead profiling subsystem (crates/vardictrust/src/profile.rs,
    crates/vardictrust/tests/profile_smoke.rs) with Cargo features profile-cpu
    (pprof + inferno SVG flamegraphs), profile-heap (tikv-jemallocator +
    jemalloc_pprof), and profile-dhat (dhat::Alloc allocation-site churn),
    driven by harness/profile.sh and stdlib-only harness/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.3 and vardictcpp 3 oracle outputs (PR #32, PR #33).
  • Complete 10-class vardictcpp divergence forensic catalog (CPP-1 through
    CPP-10) in docs/upstream-bugs.md, cross-linked across README.md,
    benchmarks/README.md, and docs/validation/omnibus-empirical-validation.md
    (PR #37).
  • In-tree Nextflow nf-core/modules packaging (packaging/nf-core/modules/vardictrust/,
    packaging/nf-core/prepare_nfcore_pr.sh) with multi-arch Seqera Wave
    containers (linux/amd64, linux/arm64) and nf-test snapshots.
  • Four repository-specific Agent Skills under .agents/skills/
    (vardictrust-issue, vardictrust-pr, vardictrust-profiling, and
    vardictrust-release with stdlib-only check_release_consistency.py),
    validated in harness/tests/test_bioconda_recipe.py.

Changed

  • Zero-allocation get_variation / get_variation_maybe (IndexMap
    raw_entry_mut_v1 with FxBuildHasher, stack UTF-8 key buffer) and
    FxHashMap ref_coverage + borrowed-key increment in CigarParser
    (PR #35).
  • Replaced per-bucket Vec allocations in JavaHashMap with an OpenJDK-isomorphic flat intrusive node arena (buckets: Vec<u32>, nodes: Vec<Node<K, V>>, free-list reuse), preserving exact bucket/chain iteration and treeify_bin semantics 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 via META_CACHE, pool up
    to 4 BGZF readers per thread/path via BAM_READER_POOL (cleared via RAII
    guard around run()), and decode concrete noodles::bam::Record fields 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_str mutation) 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):
    hoisted sc5_used and integer distance bounds ahead of BTreeMap lookups in
    realignlgins30, cached empty consensus Some(Vec::new()) in find_conseq,
    and pre-reversed seq3 once for forward slice comparison in find_35_match
    (PR #35).
  • ToVarsBuilder and realignlgdel optimization (O-9): replaced upfront
    non_insertion_variants.clone() and per-position VariationMap::clone() with
    a sparse copy-on-write FxHashMap overlay, eliminated per-position Vec and
    Variant clones and HashSet<String> allocations in
    is_the_same_variation_on_ref, and guarded realignlgdel soft-clip loops on
    live cnt/used/consensus length before cloning Sclip (PR #35).
  • Reference k-mer seed indexing (O-4 + O-5): replaced HashMap<Vec<u8>, Vec<u32>>
    with SeedMap (SeedKey 17-byte inline key + SeedPositions::One/Many +
    FxBuildHasher) and eliminated redundant bases.clone() and LoadedRegion
    String clones in get_reference (PR #35).
  • Stack-buffered round_half_even (StackBuf<64> in types::round_half_even
    with heap fallback for oversized values, O-12a) and allocation-free integer
    CIGAR deletion suffix check cigar_contains_dlen_d in
    VariationRealigner::no_passing_reads (O-7, PR #35).
  • Enabled noodles-bgzf/libdeflate for whole-block BGZF deflate decompression
    in BAM/BAI/CSI/VCF.gz readers (O-2, +3.74% median wall-time improvement on
    hg002 chr20, PR #35).
  • Configured tikv-jemallocator as the default Linux global allocator with
    static _rjem_malloc_conf (background_thread:true,dirty_decay_ms:250,muzzy_decay_ms:0,narenas:8)
    and guarded StructuralVariantsProcessor::find_sv to filter out sub-minr
    soft-clip clusters before cloning Sclip, cutting peak RSS by 1.7×–4.2×
    (hg002 497.1 MiB, seqc2 467.9 MiB, hg008 313.1 MiB, chr1
    249 Mbp 1.42 GiB with 1.22× flat RSS scaling, PR #35, PR #37).
  • High-region-count Exome BED optimization (EBO-1..EBO-3, Issue #36, PR #37):
    added CachedBgzfReader with a 1-block thread-local cursor and 8-shard × 16-slot
    LRU process-wide BGZF_BLOCK_CACHE in bam.rs (EBO-1), deferred
    Reference::seed 12-mer/17-mer hashing until the first soft-clip realignment
    query via OnceCell<RawSeedMap> in reference.rs (EBO-2), and batched up
    to 16 consecutive small same-chromosome tiles in regions::batch_tiles and
    runner::run_parallel_batched (EBO-3), cutting seqc2-exome-tier2 wall
    time by 2.51× (19m 28.78s $\to$ 7m 46.34s, 6.9× faster than
    VarDictJava) and scale.json exome BED wall time across 1–8 threads by
    1.38×–2.38× (3m 06.43s at -th 8).
  • Recertified all 16 release evidence artifacts in benchmarks/evidence/*.json
    under engine fingerprint 27f3667b32ac14f5 (perf_fingerprint
    9f75643cf12aa988; harness/acceptance.sh 8/8 PASS, PR #37).

Fixed

  • Per-tile BAM streaming for chrM RNA splicing (-i), ungated parity-restoring
    splice-tile-ownership and mate-window-ownership tile ownership rules, and
    lowercase-n allele_key passthrough (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 | sh

Download 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/VarDictRust

You 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

1.0.2 - 2026-10-17

Choose a tag to compare

@github-actions github-actions released this 17 Oct 20:54
cc29270

Release Notes

Fixed

  • Bounded-memory amplicon calling: per-base insert expansion replaced with an
    interval-overlap test plus a streaming -p path (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_GB heap 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 | sh

Download 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/VarDictRust

You 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