Fast gap-affine pairwise alignment using the wavefront algorithm
Open accessThe DOI matches its Crossref record; 33 of the 33 references it cites were found in a registry or an index.
Abstract
Motivation: Pairwise alignment of sequences is a fundamental method in modern molecular biology, implemented within multiple bioinformatics tools and libraries. Current advances in sequencing technologies press for the development of faster pairwise alignment algorithms that can scale with increasing read lengths and production yields. Results: In this article, we present the wavefront alignment algorithm (WFA), an exact gap-affine algorithm that takes advantage of homologous regions between the sequences to accelerate the alignment process. As opposed to traditional dynamic programming algorithms that run in quadratic time, the WFA runs in time O(ns), proportional to the read length n and the alignment score s, using O(s2) memory. Furthermore, our algorithm exhibits simple data dependencies that can be easily vectorized, even by the automatic features of modern compilers, for different architectures, without the need to adapt the code. We evaluate the performance of our algorithm, together with other state-of-the-art implementations. As a result, we demonstrate that the WFA runs 20–300× faster than other methods aligning short Illumina-like sequences, and 10–100× faster using long noisy reads like those produced by Oxford Nanopore Technologies. Availability and implementation: The WFA algorithm is implemented within the wavefront-aligner library, and it is publicly available at https://github.com/smarco/WFA.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Fast gapped-read alignment with Bowtie 2
Langmead, B., & Salzberg, S. L. (2012) · Nature Methods · doi:10.1038/nmeth.1923 · Cited by 56,400 · cited 3×
“In genomics, it is an essential building block for read mapping (Langmead and Salzberg, 2012; Li, 2013; Marco-Sola et al., 2012), variant detection (DePristo et al.”
BackgroundMethodMinimap2: Pairwise alignment for nucleotide sequences
Li, H. (2018) · Bioinformatics · doi:10.1093/bioinformatics/bty191 · Cited by 14,807 · cited 2×
“Because of its good performance, this algorithm was re-implemented in the KSW2 library, which is currently used within the core of the Minimap2 mapper (Li, 2018).”
MethodA framework for variation discovery and genotyping using next-generation DNA sequencing data
DePristo, M. A., Banks, E., Poplin, R., Garimella, K. V., Maguire, J. R., Hartl, C., Philippakis, A. A., del Angel, G., Rivas, M. A., Hanna, M., et al. (2011) · Nature Genetics · doi:10.1038/ng.806 · Cited by 11,456 · cited 1×
“, 2012; Li, 2013; Langmead and Salzberg, 2012), variant detection (DePristo et al., 2011), de-novo genome assembly (Simpson et al.”
BackgroundNeedleman, S. B., & Wunsch, C. D. (1970) · Journal of Molecular Biology · doi:10.1016/0022-2836(70)90057-4 · Cited by 11,288 · cited 1×
“In its most common formulation, the pairwise alignment problem is solved using some variation of the Needleman–Wunsch (NW) algorithm (Needleman and Wunsch, 1970) for gap-linear penalties or the Smith–Waterman–Gotoh (SWG) algorithm (Gotoh, 1982) for gap-affine penalties.”
T-coffee: a novel method for fast and accurate multiple sequence alignment 1 1Edited by J. Thornton
Notredame, C., Higgins, D. G., & Heringa, J. (2000) · Journal of Molecular Biology · doi:10.1006/jmbi.2000.4042 · Cited by 6,852 · cited 1×
“, 2009), multiple sequence alignment (Notredame et al., 2000), and many other methods.”
BackgroundABySS: A parallel assembler for short read sequence data
Simpson, J. T., Wong, K., Jackman, S. D., Schein, J. E., Jones, S. J. M., & Birol, İ. (2009) · Genome Research · doi:10.1101/gr.089532.108 · Cited by 3,608 · cited 1×
“, 2011), de-novo genome assembly (Simpson et al., 2009), multiple sequence alignment (Notredame et al.”
BackgroundAn improved algorithm for matching biological sequences
Gotoh, O. (1982) · Journal of Molecular Biology · doi:10.1016/0022-2836(82)90398-9 · Cited by 1,724 · cited 3×
“In its most common formulation, the pairwise alignment problem is solved using some variation of the Needleman–Wunsch (NW) algorithm (Needleman and Wunsch, 1970) for gap-linear penalties or the Smith–Waterman–Gotoh (SWG) algorithm (Gotoh, 1982) for gap-affine penalties.”
MethodAnO(ND) difference algorithm and its variations
Myers, E. W. (1986) · Algorithmica · doi:10.1007/bf01840446 · Cited by 893 · cited 5×
“:3) c, 2017) [implementing Myers’s bit-vector algorithm (Myers, 1999)], or DAligner (Myers, 2014) [implementing Myers’s O(ND) difference algorithm (Myers, 1986)] are now available.”
MethodInfluentialAlgorithms for approximate string matching
Ukkonen, E. (1985) · Information and Control · doi:10.1016/s0019-9958(85)80046-2 · Cited by 610 · cited 3×
“We select the widely used Parasail library (Daily, 2016) that implements the diagonal method by Wozniak (Wozniak, 1997) (ParaDiag), the striped approach proposed by Farrar (Farrar, 2007) (ParaStrip), the prefix-scan algorithm (Daily et al. , 2015) (ParaScan) and the classical banded heuristic method (ParaBand).”
MethodThe GEM mapper: fast, accurate and versatile alignment by filtration
Marco-Sola, S., Sammeth, M., Guigó, R., & Ribeca, P. (2012) · Nature Methods · doi:10.1038/nmeth.2221 · Cited by 544 · cited 2×
“In genomics, it is an essential building block for read mapping (Marco-Sola et al., 2012; Li, 2013; Langmead and Salzberg, 2012), variant detection (DePristo et al.”
BackgroundSelf-citation
Cited by
The complete sequence of a human Y chromosome
Rhie, A., Nurk, S., Cechova, M., Hoyt, S. J., Taylor, D. J., Altemose, N., Hook, P. W., Koren, S., Rautiainen, M., Alexandrov, I. A., et al. (2023) · Nature · doi:10.1038/s41586-023-06457-y · Cited by 471
Garrison, E., Guarracino, A., Heumos, S., Villani, F., Bao, Z., Tattini, L., Hagmann, J., Vorbrugg, S., Marco-Sola, S., Kubica, C., et al. (2024) · Nature Methods · doi:10.1038/s41592-024-02430-3 · Cited by 277
“To obtain alignments, PGGB applies WFMASH [21], which applies a generalization of the bidirectional Wavefront Algorithm (BiWFA) [22, 23] to generate base-level alignments for homology mappings obtained with an extension of MASHMAP [24].”
Self-citationLong-read mapping to repetitive reference sequences using Winnowmap2
Jain, C., Rhie, A., Hansen, N. F., Koren, S., & Phillippy, A. M. (2022) · Nature Methods · doi:10.1038/s41592-022-01457-8 · Cited by 267
High-quality metagenome assembly from long accurate reads with metaMDBG
Benoit, G., Raguideau, S., James, R., Phillippy, A. M., Chikhi, R., & Quince, C. (2024) · Nature Biotechnology · doi:10.1038/s41587-023-01983-6 · Cited by 195
“Sequence duplications in contigs caused by strain variability are detected by all-versus-all contig mapping using wfmash 30 .”
Garrison, E., & Guarracino, A. (2023) · Bioinformatics · doi:10.1093/bioinformatics/btac743 · Cited by 95
Analysis and benchmarking of small and large genomic variants across tandem repeats
English, A. C., Dolzhenko, E., Ziaei Jam, H., McKenzie, S. K., Olson, N. D., De Coster, W., Park, J., Gu, B., Wagner, J., Eberle, M. A., et al. (2025) · Nature Biotechnology · doi:10.1038/s41587-024-02225-z · Cited by 68
“Because performing an MSA is computationally burdensome, we also implemented an option to perform variant harmonization with the faster wavefront alignment (WFA) 64 .”
InfluentialOptimal gap-affine alignment in O ( s ) space
Marco-Sola, S., Eizenga, J. M., Guarracino, A., Paten, B., Garrison, E., & Moreto, M. (2023) · Bioinformatics · doi:10.1093/bioinformatics/btad074 · Cited by 66
“Recently, we proposed the wavefront alignment algorithm (WFA) (Marco-Sola et al. , 2021) to compute the exact alignment be-tween two sequences using gap-affine penalties.”
InfluentialSelf-citationMilia, S., Leonard, A. S., Mapel, X. M., Bernal Ulloa, S. M., Drögemüller, C., & Pausch, H. (2025) · Genome Research · doi:10.1101/gr.279064.124 · Cited by 22
“The pangenome graph was built with pggb (736c50d) (Garrison et al. 2023), using wfmash (67ab187) (Marco-Sola et al. 2021), seqwish (f44b402) (Garrison and Guarracino 2023), smoothxg (31d99f2) (https://github.com/pangenome/smoothxg), gfaffix (0.1.5) (https://github.com/marschall-lab/GFAffix), and…”
Influential
Metadata
- Authors
- Marco-Sola, S., Moure, J. C., Moreto, M., & Espinosa, A.
- Venue
- Bioinformatics
- Publisher
- Oxford University Press (OUP)
- Published
- 2020-09-11
- Volume
- 37
- Issue
- 4
- Pages
- 456-463
- ISSN
- 1367-4803 (ISSN-L)
- 1367-4811
- OpenAlex
- W3086678357
- Cited by
- 163
- References
- 33
- FWCI
- 4.49
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.