RecNW: A fast pairwise aligner for targeted sequencing
Alexandre Yahi, Tuuli LappalaineniD, Pejman MohammadiiD, Nicholas P. TatonettiiD
Abstract
MotivationTargeted sequencing aims at in-depth analysis of specific genomic loci through high-throughput sequencing for applications such as resequencing or CRISPR gene editing. These applications require exact pairwise alignment algorithms to fully characterize large amounts of reads by comparison to the targeted locus, or reference. Optimal solutions to this alignment problem are provided by classic implementations of the global and semi-global versions of Needleman-Wunsch algorithms, but they remain computationally expensive due to their quadratic complexity in time and space.\n\nImplementationIn this paper we present RecNW, an open source C++ exact aligner packaged for Python that implements the semi-global version of the Needleman-Wunsch algorithm with affine gap penalty. RecNW utilizes low complexity of targeted sequencing libraries by aligning only unique reads, and recurrently using blocs of the alignment matrix between reads based on their similarities. Through this, RecNW performs exact alignment on average more than four times faster than gold standard comparable software.\n\nSoftwarehttps://github.com/AYahi/recNW
02 /Specification & Classification
Click any tag to browse matching papersReproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- NW-flex: flexible-block sequence alignment for short tandem repeats
Zhezhen Yu, Dan Levy·bioRxiv·Dec 24, 2025
- BSAlign: a library for nucleotide sequence alignment
Haojing Shao, Jue Ruan·Genomics Proteomics & BioinformaticsPeer-reviewed·Mar 14, 2024
- Faster sequence alignment through GPU-accelerated restriction of the seed-and-extend search space
Richard Wilton, Tamas Budavari, … Alex Szalay·bioRxiv·Aug 1, 2014
- Medlib: A Feature-Rich C/C++ Library for Exact Alignment of Nanopore Sequences Using Multiple Edit Distance
Mehdi Rafeie, Fatemeh Vafaee, Omid R. Faridani·bioRxiv·May 1, 2025
- Block aligner: fast and flexible pairwise sequence alignment with SIMD-accelerated adaptive blocks
Daniel Liu, Martin Steinegger·bioRxiv·Nov 8, 2021
- RNAmountAlign: efficient software for local, global, semiglobal pairwise and multiple RNA sequence/structure alignment
Amir H. Bayegan, Peter Clote·PLoS ONEPeer-reviewed·Jan 24, 2020