University of Saskatchewan
Accelerating the Smith–Waterman Algorithm with the Actor Model
Abstract
dc:description.abstractThe Smith--Waterman algorithm is a fundamental tool for local sequence alignment in computational biology, but its high computational complexity poses significant challenges for large-scale datasets. This thesis investigates the parallelization of the Smith--Waterman algorithm. It introduces inter- and intra-alignment parallelization along with a bi-level parallelization strategy combining inter- and intra-alignment tasks is introduced, leveraging the actor model, OpenMP, and MPI frameworks. The actor model demonstrated superior performance for inter-alignment tasks, achieving near-linear scalability, with speedups of up to 28× on 40 cores for the BRCA1 dataset, outperforming OpenMP (15.14×) and MPI (14×). OpenMP proved most efficient for intra-alignment tasks, completing sequence alignment in 4.91 seconds for sequences of 51,000 and 53,000 nucleotides, while the actor model followed closely at 6.42 seconds. The bi-level parallelization approach, particularly the Actor-Serial configuration, consistently outperformed state-of-the-art tools, including SeqAN, Parasail, and SWIPE, in terms of wall-clock time and scalability. For instance, Actor-Serial completed the BRCA1 task 1.83× faster than Parasail, 3.42× faster than SeqAN, and 4.32× faster than SWIPE. In distributed environments, Actor-Serial demonstrated exceptional scalability, achieving speedups of 77.56× and 78.05× for the BRCA1 and BRCA2 datasets at 160 CPUs, respectively, far exceeding SWIPE's 16.80× and 17.49× speedups under the same conditions. This research also highlights trade-offs between computational speed and resource usage, with the actor model requiring additional memory despite its minimal overhead in task management. The main contribution of this work is the demonstration of the Actor-Serial model as a scalable and efficient solution for parallelizing the Smith--Waterman algorithm, particularly for large datasets and distributed computing environments. Overall, the thesis underscores the effectiveness of the actor model for managing computational tasks due to its minimal overhead, the exceptional performance of OpenMP for intra-alignment parallelization, and the Optimal performance of the Actor-Serial configuration for bi-level parallelization in both single and distributed nodes.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (M.Sc.)
- Level thesis:degree_level
- Masters
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor
- University of Saskatchewan
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Rafati Bonab, Reza
- Advisor dc:contributor.advisor
-
- Raymond J
- Committee members dc:contributor.committeemember
-
- McQuillan, Ian
- Wu, Fang X
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10388/16979