Repository navigation
1.0.10 - 2026-11-18
Release Notes
Added
- Expanded
cargo-fuzzcoverage (SeedMap-populatedfuzz_modify_cigarand newfuzz_parse_and_realigntarget), added37harness diagnostic self-tests (25shell tests +12Python test suites, including single-pass FIFO-safecompare_vcf.pysample-column andFORMATsubfield count parity checks), and expanded the automated Cargo workspace test suite from664to691tests (491vardictrust-corelibrary unit tests +110corpus_parity+29engine_behavior+2amplicon_stream_mem+3cram_stack+29CLI bin +27CLI 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-corewhile 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 bploaded reference windows with idempotenti64coordinate-compressedfinish_ref_coveragesweeps for> 64 bpspans; flattened multi-tilemax_read_lengthpre-scanning (lib.rs) into a non-nested250 kbpband pool with disjointalignment_startband ownership,4 MiBper-bandFallbackSequentialcap, and a lazy4 MiB2-bitACGT+'N'side-map 12-mer index on 2nd+ parent-wide misses; and addedEXP_UNDERFLOW_LN_F64 = -746.00-ULPexp()short-circuiting and loop-invariantp3hoisting infisher.rs. - Replaced
swar_mismatch_count_u64softwarecount_ones()with a 3-op branchless multiply-shift horizontal byte sum, tightenedfind_35_match(Iterator::positioncandidate scanning + exact O(1)mm0IEEE-7540.1ratio pre-rejects,2.60×faster), addedfind_conseq_sliceeliminating allSclipdeepBTreeMap/IndexMapclones acrossrealignlgdel/find_del_paths/find_dup_disc_paths, replaced quadratictmp3scans inrealignlgins30with binary-searched window slices, indexedSOFTP2SVupfront viaSclipSlotinfind_sv, and unifiedfind_mm5/find_mm3and.var/genotype/regex formatting over stack-allocated buffers (StackBuf). - Reduced
JavaHashMap<i32, Vars>to96 B(Option<Box<V>>cold fallback,Option<Box<Vec<K>>>NewKeyLog,active_tree_bins: u32, ASCIIjava_string_hash/java_comparefast-paths,into_entries), deleted the privateStrNodeRed-Black tree injava_hashmap_key_orderin favor ofJavaHashMap<&str, usize>, addedbuild_aligned_variants_prunedto skip Phase-2collect_reference_variantson doomed sub-threshold sites, consolidated.varserializers viaTableModeStyleacross Simple36/38, Amplicon38/40, and Somatic55/61, removed duplicate per-tileBTreeMappasses and unused privateSAM_READER_CACHE/ADAPTOR_MAP_CACHE, addedi64$O(1)$ pre-regionMatchskipping / single-baseMatchspecialization / fused paired CIGAR scans />= 10Sand>= 12Smodify_pure_sm_in_placefast-paths, and added 2-slotBAM_META_TLS(BAM_CACHE_EPOCH),<= 4096 BBamFeedInnerstashes,ACGTacgt=fast-skip incompute_cram_nm,SeedKey::pair_17_12, and RAIIWorkerRegionGuard.
- Clipped CIGAR deletion coverage updates (
- Synced in-tree
packaging/bioconda/recipes/vardictrust/meta.yamltov1.0.9verified GitHub release tarball SHA-256c40c3bf6180144d87ae39a52470b07e68b61f2ea41ef8c990deaf24529025284, trimmed unusedregexandnoodlesbed/vcffeatures from binary manifests, and retiredenv RUST_MIN_STACK=67108864and the last# shortcut:comment inharness/cram_twin.sh(PR #134, PR #136, PR #140).
Fixed
- Raised
MAX_CACHED_CRAM_CONTAINER_BYTESincrates/vardictrust-core/src/bam.rsfrom4 MiBto16 MiB(should_cache_cram_container/fetch_cram_container_in), added per-key singleflight CRAM container decode coalescing (InflightCramDecode/InflightCramGuardonCramContainerCacheShard), upgradedCRAM_META_TLSfrom 1 slot to 2 slots (lookup_cram_meta_tls/insert_cram_meta_tls) eliminatingT <-> Npaired somatic TLS thrash, and bufferedprevalidate_cram_container_slicesthrough a64 KiBseek-retaining window (SeekWindowReader) so standard10,000–10,240-read150–250 bpIllumina CRAM containers (~6.3–9.8 MiB) decode once across concurrent workers and hitCRAM_CONTAINER_CACHEwhile keeping8 × 4 = 32decoded-record slots bounded to<= 512 MiBand bypassing oversized long-read containers (PR #136, PR #139). - Hardened hostile-input
.bai/.csiindex 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_auxbounds) inread_validated_bai_indexandread_validated_csi_indexbefore delegating tonoodles, and terminated non-advancingcigar.iter()Errloops immediately inSamRecord::fill_from_alignment_recordandintersects_record(crates/vardictrust-core/src/bam.rs). - Hardened CLI
-th/--threadspositional-BED normalization (require_equals = true+ free-positional counting preserving Commons-CLI first-wins duplicate-th), stale.tbi/.csisidecar cleanup and0555read-only preflight validation when overwriting BGZF--outputpaths without--tbi/--csi,--outputparent-directory spill staging inSpillableVcfAccumulatorwithstd::env::temp_dir()fallback, andFileStamp-validated process-wideOnceLock.fai/.gzimetadata 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-safeportable.sh --timeout,resolve_data_root, and 16-pathfind_gitleakswhile removing GNU-isms across 11 scripts; hardened.github/workflows/release.yml(!announcement_is_prerelease, step-scopedCARGO_REGISTRY_TOKEN, idempotentvardictrust-core+vardictrustpublish, removed emptyannounce); bumpedsetup-conda-envtoconda-env-v3-with portable CLI pins and pinnedplaywright==1.62.0indocs.yml; hardenedgcp_paper_runner.sh(--stageallowlist + immutable SHA-256-verified installers); and added SHA-256 verification onconcordance_multimodal.shtruth slices andrun_stage_6.shdownloads (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 | shDownload 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/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