bioRxiv · 10.64898/2026.11.27.769621
whittle: annotation-preserving trimming and filtering of long reads
Abstract
Long reads from Oxford Nanopore and PacBio instruments can carry per-base annotations in unaligned BAM or FASTQ headers. These include base-modification calls, PacBio polymerase kinetics and Nanopore move tables that link bases to raw signal. Trimming and splitting remove bases or change their positions, so annotations that are not updated can refer to removed bases or the wrong positions. We present whittle, which removes adapters, barcodes and primers, splits chimeric reads, filters reads by quality and length, and rewrites the supported annotations of each retained segment. With supplied sequences, its mean base-level trimming F1 on simulated reads was 95.6% (ONT) and 95.9% (PacBio). In the tested reads, its move tables, retained modification calls and PacBio kinetic arrays matched values calculated independently from the untrimmed input. At eight threads, whittle cropped and filtered untagged gzip FASTQ 1.2 to 1.4 times as fast as chopper and 5.1 to 5.8 times as fast as fastplong.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Otlu, B., Kilic, E.. 2026-11-28. whittle: annotation-preserving trimming and filtering of long reads. https://doi.org/10.64898/2026.11.27.769621. https://searchbiorxiv.org/record/biorxiv%3A10.64898%2F2026.11.27.769621/whittle-annotation-preserving-trimming-and-filtering-of-long-reads
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search bioRxiv by Indiciae: BibTeX · RIS.