Local wavefront alignment with corrected free-end penalty
J. Li, H. Zhu, L. Jia, Q. Wu
Key points
From the paper's conclusion- We also propose the bidirectional lWFA (lBiWFA), which reduces the space complexity of lWFA from O(s2) to O(s) while maintaining the time complexity as O(sN).
Abstract
Background: Pairwise alignment of nucleotide and protein sequences is a fundamental problem in bioinformatics. Wavefront alignment (WFA) is a groundbreaking algorithmic advance that reduces the time complexity of exact (semi-)global pairwise alignment with affine gap penalties from O(N2) to O(sN). Despite its success, WFA has yet to be extended to the local sequence alignment scope. Results: In this work, we propose a local wavefront alignment (lWFA) which generalizes WFA to the local alignment scope and preserves both the O(sN) time and the O(sN) to O(s2) space complexity. We also propose the bidirectional lWFA (lBiWFA), which reduces the space complexity of lWFA from O(s2) to O(s) while maintaining the time complexity as O(sN). Benchmarks show that lWFA and lBiWFA outperform current exact local alignment libraries like SeqAn and Parasail in aligning long sequences with error rate less than 5%. Conclusions: We suggest to use lBiWFA over lWFA because it has negligible memory footprint for aligning reads up to 20kbp, and is faster than lWFA except for short reads with very low error rates. According to the real-data benchmarks, lBiWFA are faster than SeqAn and Parasail for aligning NGS short reads with 0.1%[~]1% error rate and ONT long reads with 3%[~]5% error rate. However, for reads sequenced by legacy long-read platforms with 10%[~]15% error rate, SeqAn and Parasail are faster. Nevertheless, lBiWFA has a competitive speed for reads with error rate up to 10%. One may choose lBiWFA over SeqAn and Parasail if the memory usage is the major concern.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Singletrack: an algorithm for improving memory consumption and performance of gap-affine sequence alignmentBioinformatics · 2026
- Fast genomic read alignment with minibwa.Bioinformatics (Oxford, England) · 2026
- Pruning the Search, Not the Signal: Adaptive-Banding Needleman-Wunsch Sequence Alignment via Protein Language Model ConfidencebioRxiv · 2026
- MoleMap: fast alignment-free molecule mapping for long-read and linked-read sequencing dataBMC Bioinformatics · 2026
- DCSMAP: A Hybrid Linear-Pangenome Framework for Accurate and Efficient Read AlignmentbioRxiv · 2026
- Move-rb: Faster Bi-Directional r-indexes and Approximate Pattern MatchingarXiv · 2026