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