Skip to content
DraconiticResearch
Search Sources API
203,948 studies31 sourcesUpdated 31 min ago
PreprintCC BY-NC-NDbioRxiv

spearfish: ultrafast Δ-mapping of long reads to redundant transcriptomes

  1. 1University of Maryland

Abstract

In a transcriptome, isoforms share most of their sequence, and gene families add further near-copies. Yet most long-read mappers treat each isoform as a separate target and repeat seeding, chaining and alignment for each. We introduce spearfish, a long-read mapper built for this redundancy. Its delta mapping ({Delta}-mapping) computes each target's alignment-score difference from the best candidate. It skips sequence that all candidates share, which cannot change the difference, and aligns where they differ once per distinct sequence rather than once per target. Seeds come from locally consistent parsing (LCP), so every isoform that contains an exon receives the same seeds in its interior. Collapsing them gives a core graph, a de Bruijn-like graph whose size is bounded by the distinct exonic sequence plus a small term per splice junction, independent of the number of isoforms. Over this graph, spearfish computes the exact colinear chaining score of every candidate transcript, sharing dynamic-programming state among transcripts via a procedure which we prove is equivalent to chaining on each transcript separately. Across RNA-seq experiments, using 32 threads, spearfish maps reads 26-83x faster than minimap2 in at most a seventh of the memory, and 2.6-11.3x faster than lr-kallisto's pseudoalignment. On simulated reads it ranks the true transcript first more often than minimap2 on HiFi reads and within 0.5 percentage points of it on ONT reads at 95% accuracy. When using spearfish's {Delta}-mapping with oarfish for abundance estimation, the abundance estimates match or improve on those that make use of minimap2's alignments on both simulated reads (especially when they are untrimmed) and on seven SG-NEx runs with spike-ins, and quantification is 3.0-8.8x faster than lr-kallisto in going from reads to abundances.

Related

  1. Multi-scale hybrid correction of noisy long reads
    Wenhai Zhang, Yicai Zhang, Fengxin Li +6
    iSciencePeer-reviewedCC BY-NC-ND 4.0Bioinformatics & computational biologyGenetics & genomicsCrossrefCell Press
  2. Accounting for Variability Across Years, Depths, and Non‐Target Reads Improves Quantification of Root Community Composition in Plant Mixtures
    Emma K. Rice, Jason C. Keagy, Terrence H. Bell +3
    Molecular ecology resources.Peer-reviewedCC BYFull textGenetics & genomicsEurope PMC
  3. Fast Corrective Responses in Redundant Motor Control Are Shaped by Intrinsic Constraints of Movement Patterns
    Toshiki Kobayashi, Daichi Nozaki
    The Journal of NeurosciencePeer-reviewedPublisher termsFull textNeurosciencePMC
  4. Redundant YAP and TAZ functions are essential for skeletal muscle regeneration
    J. S. Silver, A. A. Cutler, T.-L. Chang +2
    bioRxivPreprintAll rights reservedFull textCell biologybioRxiv
  5. Measuring satellite arrays of the human Y chromosome from sequencing reads
    A. Ortigas-Vasquez, A. Guarracino
    bioRxivPreprintCC BY-NC-NDFull textGenetics & genomicsbioRxiv
BibTeX
@misc{abdelgawad2026spearfish,
  title = {{spearfish: ultrafast Δ-mapping of long reads to redundant transcriptomes}},
  author = {H. Abdelgawad and I. Martayan and C. MARCHET and R. Patro},
  howpublished = {bioRxiv},
  year = {2026},
  month = nov,
  doi = {10.64898/2026.11.05.764698},
  url = {https://www.biorxiv.org/content/10.64898/2026.11.05.764698v1},
  note = {CC BY-NC-ND},
}
RIS
TY  - UNPB
TI  - spearfish: ultrafast Δ-mapping of long reads to redundant transcriptomes
AU  - H. Abdelgawad
AU  - I. Martayan
AU  - C. MARCHET
AU  - R. Patro
PY  - 2026
DA  - 2026/11/05
PB  - bioRxiv
DO  - 10.64898/2026.11.05.764698
UR  - https://www.biorxiv.org/content/10.64898/2026.11.05.764698v1
AB  - In a transcriptome, isoforms share most of their sequence, and gene families add further near-copies. Yet most long-read mappers treat each isoform as a separate target and repeat seeding, chaining and alignment for each. We introduce spearfish, a long-read mapper built for this redundancy. Its delta mapping ({Delta}-mapping) computes each target's alignment-score difference from the best candidate. It skips sequence that all candidates share, which cannot change the difference, and aligns where they differ once per distinct sequence rather than once per target. Seeds come from locally consistent parsing (LCP), so every isoform that contains an exon receives the same seeds in its interior. Collapsing them gives a core graph, a de Bruijn-like graph whose size is bounded by the distinct exonic sequence plus a small term per splice junction, independent of the number of isoforms. Over this graph, spearfish computes the exact colinear chaining score of every candidate transcript, sharing dynamic-programming state among transcripts via a procedure which we prove is equivalent to chaining on each transcript separately. Across RNA-seq experiments, using 32 threads, spearfish maps reads 26-83x faster than minimap2 in at most a seventh of the memory, and 2.6-11.3x faster than lr-kallisto's pseudoalignment. On simulated reads it ranks the true transcript first more often than minimap2 on HiFi reads and within 0.5 percentage points of it on ONT reads at 95% accuracy. When using spearfish's {Delta}-mapping with oarfish for abundance estimation, the abundance estimates match or improve on those that make use of minimap2's alignments on both simulated reads (especially when they are untrimmed) and on seven SG-NEx runs with spike-ins, and quantification is 3.0-8.8x faster than lr-kallisto in going from reads to abundances.
ER  -