Skip to content

bonefish v0.3.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 23:44
· 44 commits to main since this release
751aef6

New: transcriptome quantification (-x tx)

-x tx maps direct RNA or cDNA reads to a transcriptome for quantifiers such as oarfish and
NanoCount. It is the bonefish equivalent of minimap2 -ax map-ont -N 100:

  • minimap2's map-ont seeding (k=15, w=10);
  • up to 100 secondary alignments per read;
  • the dna preset's faster chaining and DP otherwise.
bonefish -x tx -d tx.raw --idx-raw transcripts.fa       # optional index
bonefish -t 16 -x tx -a --eqx tx.raw reads.fq | samtools view -b -o tx.bam -

HG002 reads on the GENCODE v49 transcripts, 16 threads, against minimap2 2.31:

200k reads minimap2 map-ont -N 100 bonefish -x tx
cDNA (PCS114), wall 185 s 81 s
direct RNA (RNA004), wall 106 s 37 s
reads left unmapped 1,987 / 37,838 the same
oarfish gene counts vs minimap2 (cDNA / direct RNA) r = 0.9995 / 0.99997
simulated reads: primary on true transcript (cDNA-like / direct-RNA-like) 93.73% / 91.98% 93.88% / 92.17%

Note: oarfish currently accepts only BAMs whose @PG names an aligner on its list. A request
to add bonefish is planned; until then, see docs/pipelines.md. Details:
docs/validation/2026-10-21-transcriptome/.

Faster everywhere, output unchanged

  • ALT-contig count: it was recomputed for every read by scanning every reference sequence.
    It is now counted once per index. With hundreds of thousands of sequences, as in a
    transcriptome or metagenome assembly, this was most of the post-chain time.
  • Isolated anchors: dropped before chaining (they can only form one-anchor chains, which are
    always discarded). DNA uses about 1.2% less CPU.

DNA output is unchanged: genome-wide HG001 sample MD5 9bc7ff3e9f498cc1530b2b1d78c47e10. So are
all golden-output tests (DNA, direct RNA, cDNA) on x86 and ARM.

Also in this release

  • Golden-output tests for the RNA presets.
  • docs/pipelines.md: drop-in use in pipelines, including ONT's wf-human-variation.
  • CHANGELOG.md, CONTRIBUTING.md and issue templates.
  • The unused GPU experiment and the browser demo are removed.

Downloads

Linux x86_64 and arm64 (glibc 2.28+) and macOS on Apple silicon.

Full Changelog: v0.2.0...v0.3.0