Skip to content

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