Skip to content

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