Skip to content

bonefish v0.1.6

Choose a tag to compare

@DylanCosto DylanCosto released this 16 Oct 04:39
· 89 commits to main since this release
6e39b58

Fix: Clair3 and other region readers were slower on bonefish BAMs

The BAI/CSI index written with -o x.bam split each bin into about 2.5x as many chunks as samtools index does, so tools that read the BAM by region (Clair3, longphase, IGV, samtools view chr:a-b) decompressed the same blocks over and over. Clair3 took 9–15% longer on bonefish BAMs than on minimap2's; longphase phasing took 4.4x longer.

The index is now built as htslib builds it (block-boundary chunk ends, small-bin and chunk merging, linear-index fill) and is identical in content to samtools index of the same BAM (and to samtools index -c for CSI). On HG002 chr20, Clair3: 216 s → 181 s (minimap2's BAM: 174–179 s), with identical calls. Details: docs/validation/2026-10-16-bam-index-chunks/.

Alignment output is unchanged from v0.1.5 (genome-wide HG001 sample MD5 9bc7ff3e9f498cc1530b2b1d78c47e10). BAMs written by earlier versions are valid; run samtools index on them to get the faster index.

Downloads

Linux x86_64 and arm64 (glibc 2.28+) and macOS on Apple silicon. Built and tested by the release workflow (the x86_64 package was built locally in the same manylinux_2_28 image when CI was unavailable).

Full Changelog: v0.1.5...v0.1.6