Sign in
BioinformaticsBioinformatics
Peer-reviewed journal article

Optimal gap-affine alignment in O(s) space

Santiago Marco‐SolaiD, Jordan M. EizengaiD, Andrea GuarracinoiD, Benedict PateniD, Erik P. GarrisoniD, Miquel MoretóiD

Abstract

MotivationPairwise 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, WFAs O(s2) memory requirements become computationally impractical for genome-scale alignments, leading to a need for further improvement. ResultsIn this paper, we present the bidirectional WFA algorithm (BiWFA), the first gap-affine algorithm capable of computing optimal alignments in O(s) memory while retaining WFAs 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. AvailabilityAll code is publicly available at https://github.com/smarco/BiWFA-paper Contactsantiagomsola@gmail.com

PDFDOICode

02 /Specification & Classification

Click any tag to browse matching papers
Citations
67
FWCI
5.84
Field percentile
top 3%

Reproducibility 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.

Similarity Map
SelectedSame fieldCross-field
THISEizenga '22Aguado-Puig '22López‐Ville '26Dijk '24Jiménez-Bla '26Liu '21
78% semantic matchBioinformatics
Jordan M. Eizenga, Benedict Paten·bioRxiv·Jan 12, 2022· 18 citations