Related Experiment Video
Updated: Aug 11, 2025

Detection of Architectural Distortion in Prior Mammograms via Analysis of Oriented Patterns
Published on: August 30, 2013
Optimal gap-affine alignment in O(s) space
Santiago Marco-Sola1,2, Jordan M Eizenga3, Andrea Guarracino4,5
1Computer Sciences Department, Barcelona Supercomputing Center, Barcelona 08034, Spain.
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.
More Related Videos
07:59Author Spotlight: Alignment of Synchronized Time-Series Data Using the Characterizing Loss of Cell Cycle Synchrony Model for Cross-Experiment Comparisons
Published on: June 9, 2023
07:02Author Spotlight: Advancements in In Vivo and Ex Vivo Retinal Imaging for Improved Glaucoma Diagnosis and Treatment
Published on: June 30, 2023
Related Concept Videos
Transformation of Plane Strain
Under plane strain conditions, typical for members where one dimension significantly exceeds the others, deformations and resultant strains are...
Routh-Hurwitz Criterion II
The first scenario occurs when a singular zero appears in the first column of the Routh table. This situation creates a division by zero issues. To resolve this, a small positive or negative number, denoted as epsilon (∈), is substituted for the zero. The stability analysis proceeds by assuming a sign for ∈. If ∈ is positive, any sign change in the first...
Routh-Hurwitz Criterion I
To apply the Routh-Hurwitz criterion, a Routh table is constructed. The table's rows are labeled with powers of the complex frequency variable s, starting from the...
Unsymmetric Bending - Angle of Neutral Axis
When a bending moment is applied at an angle θ concerning the vertical axis of a symmetrical member, it can be resolved into components along the member's principal...
Mohr's Circle for Plane Strain
Mohr's circle visually represents the strain states under various conditions, which is essential for...
Parallel-axis Theorem