Repository navigation
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/VarDictRust