Cited by 66Algorithms and Data CompressionGenomics and Phylogenetic StudiesFractal and DNA sequence analysis

Optimal gap-affine alignment in O ( s ) space

Open access
Marco-Sola, Santiago, Eizenga, Jordan M, Guarracino, Andrea, Paten, Benedict, Garrison, Erik, Moreto, Miquel·2023·Bioinformatics

Published version of a preprint

Abstract

Motivation: Pairwise sequence alignment remains a fundamental problem in computational biology and bioinformatics. Recent advances in genomics and sequencing technologies demand faster and scalable algorithms that can cope with the ever-increasing sequence lengths. Classical pairwise alignment algorithms based on dynamic programming are strongly limited by quadratic requirements in time and memory. The recently proposed wavefront alignment algorithm (WFA) introduced an efficient algorithm to perform exact gap-affine alignment in O(ns) time, where s is the optimal score and n is the sequence length. Notwithstanding these bounds, WFA’s O(s2) memory requirements become computationally impractical for genome-scale alignments, leading to a need for further improvement. Results: In this article, we present the bidirectional WFA algorithm, the first gap-affine algorithm capable of computing optimal alignments in O(s) memory while retaining WFA’s time complexity of O(ns). As a result, this work improves the lowest known memory bound O(n) to compute gap-affine alignments. In practice, our implementation never requires more than a few hundred MBs aligning noisy Oxford Nanopore Technologies reads up to 1 Mbp long while maintaining competitive execution times. Availability and implementation: All code is publicly available at https://github.com/smarco/BiWFA-paper. Supplementary information: Supplementary data are available at Bioinformatics online.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1093/bioinformatics/btad074

Cites

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Exact methods, including those based on dynamic programming, are often used for refining alignments or for aligning smaller regions of the genome.

    “Such methods, including those based on dynamic programming, are often used for refining alignments or for aligning smaller regions of the genome [60,61].”

    From Whole-Genome Alignment: Methods, Challenges, and Future Directions (2024) · cites this paper as [60]

    The Introduction (page unavailable) describes dynamic programming as a classical way to obtain optimal alignments and says exact methods struggle to scale to long sequences, which supports their suitability for smaller regions. It does not say that exact methods are often used to refine alignments, or establish how often they are used for smaller genomic regions. (LLM, conf=0.78)

    Experimental — accuracy not yet measured

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

No references could be resolved yet.

Research works printed but not linked: 31

  1. Altschul S. et al (1990) Basic local alignment search tool. J. Mol. Biol., 215, 403– 410. 2231712
  2. Bowden R. et al (2019) Sequencing of human genomes with nanopore technology. Nat. Commun., 10, 1869. 31015479 PMC6478738
  3. Daily J. (2016) Parasail: SIMD C library for global, semi-global, and local pairwise sequence alignments. BMC Bioinf., 17, 1– 11. PMC4748600 26864881
  4. Durbin R. et al (1998) Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids. Cambridge University Press, Cambridge.
  5. Eizenga J.M., Paten B. (2022) Improving the time and space complexity of the WFA algorithm and generalizing its scoring. bioRxiv.
  6. Farrar M. (2007) Striped Smith–Waterman speeds database searches six times over other SIMD implementations. Bioinformatics, 23, 156– 161. 17110365
  7. Garrison E., Marth G. (2012) Haplotype-based variant detection from short-read sequencing. arXiv preprint arXiv:1207.3907. · arXiv
  8. Gotoh O. (1982) An improved algorithm for matching biological sequences. J. Mol. Biol., 162, 705– 708. 7166760
  9. Jones N. et al (2004) An Introduction to Bioinformatics Algorithms. MIT Press, Cambridge.
  10. Kiełbasa S. et al (2011) Adaptive seeds tame genomic sequence comparison. Genome Res., 21, 487– 493. 21209072 PMC3044862
  11. Koren S. et al (2017) CANU: scalable and accurate long-read assembly via adaptive k-mer weighting and repeat separation. Genome Res., 27, 722– 736. 28298431 PMC5411767
  12. Li H. (2013) Aligning sequence reads, clone sequences and assembly contigs with bwa-mem. arXiv preprint arXiv:1303.3997. · arXiv
  13. Li H. (2018) Minimap2: pairwise alignment for nucleotide sequences. Bioinformatics, 34, 3094– 3100. 29750242 PMC6137996
  14. Loving J. et al (2014) BitPAl: a bit-parallel, general integer-scoring sequence alignment algorithm. Bioinformatics, 30, 3166– 3173. 25075119 PMC4221118
  15. Marco-Sola S. et al (2012) The gem mapper: fast, accurate and versatile alignment by filtration. Nat. Methods, 9, 1185– 1188. 23103880
  16. Marco-Sola S. et al (2021) Fast gap-affine pairwise alignment using the wavefront algorithm. Bioinformatics, 37, 456– 463. 32915952 PMC8355039
  17. McKenna A. et al (2010) The genome analysis toolkit: a mapreduce framework for analyzing next-generation DNA sequencing data. Genome Res., 20, 1297– 1303. 20644199 PMC2928508
  18. Miga K. H., Wang T. (2021) The need for a human pangenome reference sequence. Annu. Rev. Genomics Hum. Genet., 22, 81– 102. 33929893 PMC8410644
  19. Myers E. W., Miller W. (1988) Optimal alignments in linear space. Bioinformatics, 4, 11– 17. 3382986
  20. Needleman S. B., Wunsch C. D. (1970) A general method applicable to the search for similarities in the amino acid sequence of two proteins. J. Mol. Biol., 48, 443– 453. 5420325
  21. Rahn R. et al (2018) Generic accelerated sequence alignment in seqan using vectorization and multi-threading. Bioinformatics, 34, 3437– 3445. 29726911
  22. Rodríguez-Martín B. et al (2017) Chimpipe: accurate detection of fusion genes and transcription-induced chimeras from RNA-seq data. BMC Genomics, 18, 7– 17. 28049418 PMC5209911
  23. Rognes T., Seeberg E. (2000) Six-fold speed-up of Smith–Waterman sequence database searches using parallel processing on common microprocessors. Bioinformatics, 16, 699– 706. 11099256
  24. Simpson J. et al (2009) ABYSS: a parallel assembler for short read sequence data. Genome Res., 19, 1117– 1123. 19251739 PMC2694472
  25. Šošić M., Šikić M. (2017) EDLIB: a C/C++ library for fast, exact sequence alignment using edit distance. Bioinformatics, 33, 1394– 1395. 28453688 PMC5408825
  26. Suzuki H., Kasahara M. (2017) Acceleration of nucleotide semi-global alignment with adaptive banded dynamic programming. bioRxiv.
  27. Suzuki H., Kasahara M. (2018) Introducing difference recurrence relations for faster semi-global alignment of long sequences. BMC Bioinformatics, 19, 33– 47. 29504909 PMC5836832
  28. Wozniak A. (1997) Using video-oriented instructions to speed up sequence comparison. Bioinformatics, 13, 145– 150. 9146961
  29. Xia Z. et al (2021) A review of parallel implementations for the Smith–Waterman algorithm. In: Interdisciplinary Sciences: Computational Life Sciences, pp. 1– 14. PMC8419822 34487327
  30. Zhang Z. et al (2000) A greedy algorithm for aligning DNA sequences. J. Comput. Biol., 7, 203– 214. 10890397
  31. Zhao M. et al (2013) SSW library: an SIMD Smith–Waterman C/C++ library for use in genomic applications. PLoS ONE, 8, e82138. 24324759 PMC3852983

Cited by

Sorted by citations

Authors
Marco-Sola, S., Eizenga, J. M., Guarracino, A., Paten, B., Garrison, E., & Moreto, M.
Affiliations
  • Computer Sciences Department, Barcelona Supercomputing Center , Barcelona 08034, Spain
  • University of California, Santa Cruz (US)
  • University of Tennessee Health Science Center (US)
Venue
Bioinformatics
Published
2023-02-01
Volume
39
Issue
2
ISSN
  • 1367-4803 (ISSN-L)
  • 1367-4811
OpenAlex
W4319334382
Cited by
66
References
0
Citations by year
2026: 15 · 2025: 24 · 2024: 16 · 2023: 10 · 2022: 1
FWCI
5.60
Type
journal article
Language
en
Open access
Locations
  • Bioinformatics (publishedVersion, cc-by)
  • bioRxiv (Cold Spring Harbor Laboratory) (acceptedVersion, cc-by)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • Dipòsit Digital de Documents de la UAB (Universitat Autònoma de Barcelona) (submittedVersion, cc-by)
  • eScholarship (California Digital Library) (submittedVersion, cc-by)
Funders
  • European Union
  • Ministerio de Ciencia e Innovacion
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Algorithms and Data Compression
  • Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Genomics and Phylogenetic Studies
  • Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Fractal and DNA sequence analysis
Keywords
pairwise sequence alignment, space complexity, linear memory, long-read alignment
MeSH terms
Algorithms, Software, Genome, Sequence Analysis, DNA, Computational Biology, Genomics

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