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-citationA fast bit-vector algorithm for approximate string matching based on dynamic programming
Myers, G. (1999) · Journal of the ACM · doi:10.1145/316542.316550 · Cited by 445 · cited 4×
“This is the case of other KSW2 algorithms (like the approximate versions), other edit distance methods [e.g. BPM (Myers, 1999) or DAligner (Myers, 2014)] or custom implementations for hardware accelerators (which fall beyond the scope of this article).”
BackgroundMethodInfluentialStriped Smith–Waterman speeds database searches six times over other SIMD implementations
Farrar, M. (2007) · Bioinformatics · doi:10.1093/bioinformatics/btl582 · Cited by 415 · cited 7×
“Later on, Farrar (Farrar, 2007) proposed to reorganize computations in a striped fashion.”
BackgroundMethodInfluentialFast parallel and serial approximate string matching
Landau, G. M., & Vishkin, U. (1989) · Journal of Algorithms · doi:10.1016/0196-6774(89)90010-2 · Cited by 328 · cited 2×
“Restricted to the edit distance, the so-called diagonal-transition algorithms (Landau and Vishkin, 1989; Ukkonen, 1985) exploited the fact that DP diagonals have monotonically increasing scores.”
MethodEdlib: a C/C ++ library for fast, exact sequence alignment using edit distance
Šošić, M., & Šikić, M. (2017) · Bioinformatics · doi:10.1093/bioinformatics/btw753 · Cited by 245
Rognes, T., & Seeberg, E. (2000) · Bioinformatics · doi:10.1093/bioinformatics/16.8.699 · Cited by 240 · cited 1×
“Then, Rognes (Rognes and Seeberg, 2000) proposed to vectorize along the query sequence, introducing the query profile technique.”
MethodSSW Library: An SIMD Smith-Waterman C/C++ Library for Use in Genomic Applications
Zhao, M., Lee, W.-P., Garrison, E. P., & Marth, G. T. (2013) · PLoS ONE · doi:10.1371/journal.pone.0082138 · Cited by 237 · cited 2×
“The SSW library (Zhao et al. , 2013) was one of the first libraries to offer an efficient implementation of the SWG using Farrar’s striped algorithm.”
MethodParasail: SIMD C library for global, semi-global, and local pairwise sequence alignments
Daily, J. (2016) · BMC Bioinformatics · doi:10.1186/s12859-016-0930-z · Cited by 235 · cited 6×
“Later on, the Parasail library (Daily, 2016), that implements several intra-sequence vectorization strategies, was published.”
BackgroundMethodInfluentialLiu, Y., Wirawan, A., & Schmidt, B. (2013) · BMC Bioinformatics · doi:10.1186/1471-2105-14-117 · Cited by 225 · cited 1×
“…many other lines of research for accelerating the SWG involving hardware accelerators; including Graphics Processing Units (Chaco´n et al. , 2014; Liu et al. , 2013), Field-Programmable Gate Arrays (Li et al. , 2007), Cell Broadband Engine (Szalkowski et al. , 2008), Xeon Phi processor (Liu et…”
BackgroundSequencing of human genomes with nanopore technology
Bowden, R., Davies, R. W., Heger, A., Pagnamenta, A. T., de Cesare, M., Oikkonen, L. E., Parkes, D., Freeman, C., Dhalla, F., Patel, S. Y., et al. (2019) · Nature Communications · doi:10.1038/s41467-019-09637-5 · Cited by 192
Efficient Local Alignment Discovery amongst Noisy Long Reads
Myers, G. (2014) · Lecture Notes in Computer Science · doi:10.1007/978-3-662-44753-6_5 · Cited by 164 · 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.”
BackgroundMethodInfluentialSequence comparison with concave weighting functions
Miller, W., & Myers, E. W. (1988) · Bulletin of Mathematical Biology · doi:10.1007/bf02459948 · Cited by 152
160-fold acceleration of the Smith-Waterman algorithm using a field programmable gate array (FPGA)
Li, I. T. S., Shum, W., & Truong, K. (2007) · BMC Bioinformatics · doi:10.1186/1471-2105-8-185 · Cited by 150 · cited 2×
“Last, it should be noted that there are many other lines of research for accelerating the SWG involving hardware accelerators; including Graphics Processing Units (Chaco´n et al. , 2014; Liu et al. , 2013), Field-Programmable Gate Arrays (Li et al. , 2007), Cell Broadband Engine (Szalkowski et al. , 2008), Xeon Phi pr…”
Using video-oriented instructions to speed up sequence comparison
Wozniak, A. (1997) · Bioinformatics · doi:10.1093/bioinformatics/13.2.145 · Cited by 141 · cited 5×
“In this way, Wozniak (Wozniak, 1997) first proposed to compute DP cells along the minor diagonal in parallel.”
MethodInfluentialJacobs, N. T., Onuoha, N. O., Antia, A., Steel, J., Antia, R., & Lowen, A. C. (2019) · Nature Communications · doi:10.1038/s41467-019-11428-x · Cited by 139
SWPS3 – fast multi-threaded vectorized Smith-Waterman for IBM Cell/B.E. and ×86/SSE2
Szalkowski, A. M., Ledergerber, C., Krähenbühl, P., & Dessimoz, C. (2008) · BMC Research Notes · doi:10.1186/1756-0500-1-107 · Cited by 134 · cited 3×
“Last, it should be noted that there are many other lines of research for accelerating the SWG involving hardware accelerators; including Graphics Processing Units (Chaco´n et al. , 2014; Liu et al. , 2013), Field-Programmable Gate Arrays (Li et al. , 2007), Cell Broadband Engine (Szalkowski et al. , 2008), Xeon Phi pr…”
BackgroundIntroducing difference recurrence relations for faster semi-global alignment of long sequences
Suzuki, H., & Kasahara, M. (2018) · BMC Bioinformatics · doi:10.1186/s12859-018-2014-8 · Cited by 121 · cited 5×
“, 2014) (BitPAl), and the adaptive band algorithm from Suzuki (Suzuki and Kasahara, 2018) (Gaba).”
BackgroundMethodInfluentialOptimal sequence alignment allowing for long gaps
Gotoh, O. (1990) · Bulletin of Mathematical Biology · doi:10.1016/s0092-8240(05)80216-2 · Cited by 110
Algorithms on Stings, Trees, and Sequences: Computer Science and Computational Biology
Gusfield, D. (1997) · ACM SIGACT News · doi:10.1145/270563.571472 · Cited by 108 · cited 2×
“, 2014), banded computations (Suzuki and Kasahara, 2017), and cut-off techniques (Gusfield, 1997).”
BackgroundThread-cooperative, bit-parallel computation of levenshtein distance on GPU
Chacón, A., Marco‐Sola, S., Espinosa, A., Ribeca, P., & Moure, J. C. (2014) · International Conference on Supercomputing · doi:10.1145/2597652.2597677 · Cited by 50 · cited 3×
“Last, it should be noted that there are many other lines of research for accelerating the SWG involving hardware accelerators; including Graphics Processing Units (Chaco´n et al. , 2014; Liu et al. , 2013), Field-Programmable Gate Arrays (Li et al. , 2007), Cell Broadband Engine (Szalkowski et al. , 2008), Xeon Phi pr…”
BackgroundSelf-citationGeneric accelerated sequence alignment in SeqAn using vectorization and multi-threading
Rahn, R., Budach, S., Costanza, P., Ehrhardt, M., Hancox, J., & Reinert, K. (2018) · Bioinformatics · doi:10.1093/bioinformatics/bty380 · Cited by 43 · cited 1×
“Then, Rognes (Rognes and Seeberg, 2000) proposed to vectorize along the query sequence, introducing the query profile technique.”
MethodBitPAl: a bit-parallel, general integer-scoring sequence alignment algorithm
Loving, J., Hernandez, Y. A., & Benson, G. (2014) · Bioinformatics · doi:10.1093/bioinformatics/btu507 · Cited by 35
A work stealing based approach for enabling scalable optimal sequence homology detection
Daily, J. A., Kalyanaraman, A., Krishnamoorthy, S., & Vishnu, A. (2014) · Journal of Parallel and Distributed Computing · doi:10.1016/j.jpdc.2014.08.009 · Cited by 16 · cited 2×
“Farrar’s method dominated over all other approaches until Daily presented the prefix-scan method (Daily et al., 2015), which in practice outperforms all previous methods.”
Method(1997)
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
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.