Introducing difference recurrence relations for faster semi-global alignment of long sequences
Related Experiment Video
Updated: Feb 13, 2026

Using Cholesky Decomposition to Explore Individual Differences in Longitudinal Relations between Reading Skills
Published on: September 17, 2019
Hajime Suzuki1, Masahiro Kasahara2
1Department of Computational Biology and Medical Sciences, Graduate School of Frontier Sciences, the University of Tokyo, Kashiwa City, Chiba, Japan.
Background:
The read length of single-molecule DNA sequencers is reaching 1 Mb. Popular alignment software tools widely used for analyzing such long reads often take advantage of single-instruction multiple-data (SIMD) operations to accelerate calculation of dynamic programming (DP) matrices in the Smith-Waterman-Gotoh (SWG) algorithm with a fixed alignment start position at the origin. Nonetheless, 16-bit or 32-bit integers are necessary for storing the values in a DP matrix when sequences to be aligned are long; this situation hampers the use of the full SIMD width of modern processors.
Results:
We proposed a faster semi-global alignment algorithm, "difference recurrence relations," that runs more rapidly than the state-of-the-art algorithm by a factor of 2.1. Instead of calculating and storing all the values in a DP matrix directly, our algorithm computes and stores mainly the differences between the values of adjacent cells in the matrix. Although the SWG algorithm and our algorithm can output exactly the same result, our algorithm mainly involves 8-bit integer operations, enabling us to exploit the full width of SIMD operations (e.g., 32) on modern processors. We also developed a library, libgaba, so that developers can easily integrate our algorithm into alignment programs.
Conclusions:
Our novel algorithm and optimized library implementation will facilitate accelerating nucleotide long-read analysis algorithms that use pairwise alignment stages. The library is implemented in the C programming language and available at https://github.com/ocxtal/libgaba .
More Related Videos
16:02Demonstration of the Sequence Alignment to Predict Across Species Susceptibility Tool for Rapid Assessment of Protein Conservation
Published on: February 10, 2023
05:25Identification and Protection of the Recurrent Laryngeal Nerve during Transoral Robotic Thyroidectomy
Published on: October 24, 2025
Related Concept Videos
Global Climate Change
Introducing Social Perception
Electric Potential and Potential Difference
When a test charge moves from the initial to the final position, the electric potential difference between those positions is defined as the ratio of the change in the potential energy to the charge on the...
Difference from Background: Limit of Detection
The LOD indicates the presence or absence...
Identifying Statistically Significant Differences: The F-Test
Sum and Difference OpAmps
A summing amplifier, or an adder, utilizes an op-amp to merge multiple input signals into a single output signal. When audio signals are introduced into its input channels, the input resistors initiate currents that traverse feedback resistors, resulting in an output voltage. Applying Kirchhoff's current...