whittle: annotation-preserving trimming and filtering of long reads

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.

Authors

Institutions

Publication Details

Journal
bioRxiv (Cold Spring Harbor Laboratory)
Published
2026-11-28
DOI
https://doi.org/10.64898/2026.11.27.769621
Primary Topic
Genomics and Phylogenetic Studies
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

whittle: annotation-preserving trimming and filtering of long reads

Burçak Otlu, Erdi Kılıç
bioRxiv (Cold Spring Harbor Laboratory)
Genomics and Phylogenetic Studies
preprint

whittle: annotation-preserving trimming and filtering of long reads

Burçak Otlu, Erdi Kılıç
preprint en

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.

bioRxiv (Cold Spring Harbor Laboratory)
Middle East Technical University (TR)
Genomics and Phylogenetic Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
whittle: annotation-preserving trimming and filtering of long reads — Burçak Otlu, Erdi Kılıç · bioRxiv (Cold Spring Harbor Laboratory) (2026) | TGRS Research Map | TGRS