Optimizing Runtime Memory Size of Smith-Waterman Algorithm for Long Sequences Alignment

Sequence alignment is used to help researchers see areas of similarity between two sequences. Hence, it is a key component of many applications, such as DNA matching, plagiarism detection, and spelling correction. The Smith-Waterman algorithm (SWA) is widely used to calculate the sequence alignment because it is guaranteed to find an optimal solution. This algorithm creates a matrix of the size n * m where the symbols n, m refers to the lengths of two sequences needed to be aligned. Therefore, it requires impersonal hardware with a large amount of main memory at runtime to align long sequences. Furthermore, it may be impractical if the length of some sequences exceeds the memory requirements for low-resource devices. This research redesigned the Smith-Waterman algorithm to be implemented without creating the matrix of the size n * m. Experimental results show that the proposed algorithm outperformed the SWA algorithm in terms of memory size and processing time while maintaining accuracy. The percentage decreases in terms of memory size and processing time were up to 88.28% and up to 66% respectively. The proposed algorithm is hoped to contribute to various applications that initially require low memory consumption, such as applications of personal laptops, smartphones, and tablets.

Authors

Publication Details

Journal
Baghdad Science Journal
Published
2025-12-27
DOI
https://doi.org/10.21123/2411-7986.5178
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

Optimizing Runtime Memory Size of Smith-Waterman Algorithm for Long Sequences Alignment

Zeyad Qasim Habeeb, Imad Qasim Habeeb, Hanan Najm Abdulkhudhur
Baghdad Science Journal
Genomics and Phylogenetic Studies
article

Optimizing Runtime Memory Size of Smith-Waterman Algorithm for Long Sequences Alignment

Zeyad Qasim Habeeb, Imad Qasim Habeeb, Hanan Najm Abdulkhudhur
article en

Abstract

Sequence alignment is used to help researchers see areas of similarity between two sequences. Hence, it is a key component of many applications, such as DNA matching, plagiarism detection, and spelling correction. The Smith-Waterman algorithm (SWA) is widely used to calculate the sequence alignment because it is guaranteed to find an optimal solution. This algorithm creates a matrix of the size n * m where the symbols n, m refers to the lengths of two sequences needed to be aligned. Therefore, it requires impersonal hardware with a large amount of main memory at runtime to align long sequences. Furthermore, it may be impractical if the length of some sequences exceeds the memory requirements for low-resource devices. This research redesigned the Smith-Waterman algorithm to be implemented without creating the matrix of the size n * m. Experimental results show that the proposed algorithm outperformed the SWA algorithm in terms of memory size and processing time while maintaining accuracy. The percentage decreases in terms of memory size and processing time were up to 88.28% and up to 66% respectively. The proposed algorithm is hoped to contribute to various applications that initially require low memory consumption, such as applications of personal laptops, smartphones, and tablets.

Baghdad Science JournalVol. 22(12)
Openalex Percentile: Top 36%
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.

Optimizing Runtime Memory Size of Smith-Waterman Algorithm for Long Sequences Alignment — Zeyad Qasim Habeeb, Imad Qasim Habeeb, et al. · Baghdad Science Journal (2025) | TGRS Research Map | TGRS