RAM-MSA: An anytime memory-bounded method for exact multiple sequence alignment using path finding

Abstract Motivation Multiple sequence alignment (MSA) is a crucial process in bioinformatics, essential for understanding functional or structural relationships among DNA or protein sequences. As the number of sequences increases, existing exact MSA methods, which produce algorithmically optimal alignments, suffer from exponentially increasing memory consumption. Existing heuristic MSA methods, on the other hand, rapidly compute alignments on large sequence sets by sacrificing their accuracy. Current approaches remain insufficient, underscoring the necessity of a novel approach that bridges the gap between heuristic and exact MSA methods. Specifically, there is an urgent need for an exact MSA approach that enables users to obtain the best possible alignment within their available computation time. Results We propose Recursive Anytime Memory-bounded MSA (RAM-MSA), a novel exact MSA method that manages exponential memory demands within a limited memory space. The proposed method promptly generates an initial MSA result and continuously outputs alignments with higher accuracy, ultimately providing an exact alignment. Experimental evaluations demonstrate that RAM-MSA reduced memory usage to 62.51% compared to a state-of-the-art exact MSA method. In terms of anytime performance, the proposed method generates an initial alignment with an objective score of 0.96 in a comparable time to the heuristic methods, and continues to improve the alignment until the exact result is obtained. Unlike existing path-finding-based methods, which support only linear gap penalties, RAM-MSA also handles affine gap penalties. This study provides a systematic quantification of the discrepancy between algorithmically optimal alignments and structurally-derived reference alignments. Availability and implementation Source code is available at https://github.com/luxwj/RAM-MSA.

Authors

Institutions

Publication Details

Journal
Bioinformatics Advances
Published
2026-06-16
DOI
https://doi.org/10.1093/bioadv/vbag170
Primary Topic
Genomics and Phylogenetic Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

RAM-MSA: An anytime memory-bounded method for exact multiple sequence alignment using path finding

Fumihiko Ino, Jue Wang
Bioinformatics Advances
Genomics and Phylogenetic Studies
article

RAM-MSA: An anytime memory-bounded method for exact multiple sequence alignment using path finding

Fumihiko Ino, Jue Wang
article en

Abstract

Abstract Motivation Multiple sequence alignment (MSA) is a crucial process in bioinformatics, essential for understanding functional or structural relationships among DNA or protein sequences. As the number of sequences increases, existing exact MSA methods, which produce algorithmically optimal alignments, suffer from exponentially increasing memory consumption. Existing heuristic MSA methods, on the other hand, rapidly compute alignments on large sequence sets by sacrificing their accuracy. Current approaches remain insufficient, underscoring the necessity of a novel approach that bridges the gap between heuristic and exact MSA methods. Specifically, there is an urgent need for an exact MSA approach that enables users to obtain the best possible alignment within their available computation time. Results We propose Recursive Anytime Memory-bounded MSA (RAM-MSA), a novel exact MSA method that manages exponential memory demands within a limited memory space. The proposed method promptly generates an initial MSA result and continuously outputs alignments with higher accuracy, ultimately providing an exact alignment. Experimental evaluations demonstrate that RAM-MSA reduced memory usage to 62.51% compared to a state-of-the-art exact MSA method. In terms of anytime performance, the proposed method generates an initial alignment with an objective score of 0.96 in a comparable time to the heuristic methods, and continues to improve the alignment until the exact result is obtained. Unlike existing path-finding-based methods, which support only linear gap penalties, RAM-MSA also handles affine gap penalties. This study provides a systematic quantification of the discrepancy between algorithmically optimal alignments and structurally-derived reference alignments. Availability and implementation Source code is available at https://github.com/luxwj/RAM-MSA.

Bioinformatics Advances
The University of Osaka (JP)
Peace, Justice and strong institutions
Openalex Percentile: Top 12%
Genomics and Phylogenetic Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.