Serial and parallel implementation of Needleman-Wunsch algorithm
College of Computer Studies
International Journal of Advances in Intelligent Informatics
Needleman-Wunsch dynamic programming algorithm measures the similarity of the pairwise sequence and finds the optimal pair given the number of sequences. The task becomes nontrivial as the number of sequences to compare or the length of sequences increases. This research aims to parallelize the computation involved in the algorithm to speed up the performance using CUDA. However, there is a data dependency issue due to the property of a dynamic programming algorithm. As a solution, this research introduces the heterogeneous anti-diagonal approach, which benefits from the interaction between the serial implementation on CPU and the parallel implementation on GPU. We then measure and compare the computation time between the proposed approach and a straightforward serial approach that uses CPU only. Measurements of computation times are performed under the same experimental setup and using various pairwise sequences at different lengths. The experiment showed that the proposed approach outperforms the serial method in terms of computation time by approximately three times. Moreover, the computation time of the proposed heterogeneous anti-diagonal approach increases gradually despite the big increments in sequence length, whereas the computation time of the serial approach grows rapidly. © 2020, Universitas Ahmad Dahlan. All rights reserved.
Digitial Object Identifier (DOI)
Lee, Y., Kim, Y., & Uy, R. (2020). Serial and parallel implementation of Needleman-Wunsch algorithm. International Journal of Advances in Intelligent Informatics, 6 (1), 97-108. https://doi.org/10.26555/ijain.v6i1.361
Bioinformatics; CUDA (Computer architecture)