auto-optimize tool speeds up bowtie2 3x with byte-identical output
jmschreiber91 · x · 2026-12-01
Developer jmschrei shares results from auto-optimize, a tool from UMass Chan's Programmable Genomics Laboratory that finds real optimizations automatically:
- bowtie2: an open PR makes bowtie2-align 1.7x–4.3x faster on nearly every timed input, with byte-identical output to master. Across four main -p 4 workflows (ATAC-seq, ChIP-seq, CUT&RUN, DNase-seq vs hg38), mean wall time drops from 19.70s to 6.49s (3.04x).
- Gains come from rewriting the 8-bit dynamic-programming fills, batching/overlapping FM-index walks across reads, and parallel index loading; peak memory is essentially unchanged.
- TF-MoDISco: a slow but core genomics-ML step, its 50k-seqlet benchmark went from 1745s to 119s (14.7x), with larger gains on harder tasks.
The author notes bowtie2 maintainer Ben Langmead helped work through the early PR and merged several worthwhile chunks.
More from coding & agent
- Alike raises $5.5M to coordinate AI agents and stop them duplicating tasks — emax · 2026-12-01
- Auto-optimize: an open-source Claude Code skill that searches for faster, leaner code implementations — jmschreiber91 · 2026-12-01
- 30,000+ agents coordinate via stigmergy: Alike brings ant-style indirect collaboration to AI — emax · 2026-12-01
- Flavio Copes publishes the complete guide to Google Antigravity 2.0 — rseroter · 2026-12-01
- When a Denied Agent Message Comes Back Reworded, What Should Approvers See? — GROUND_ink · 2026-12-01
- Developer's Agent Framework: If Users Don't Set the Rules, Keep Them Out of the Prompt — Jordan-CT · 2026-12-01