An OpenMP-based tool for finding longest common subsequence in bioinformatics
Open Access
- 11 April 2019
- journal article
- research article
- Published by Springer Nature in BMC Research Notes
- Vol. 12 (1) , 1-6
Abstract
Finding the longest common subsequence (LCS) among sequences is NP-hard. This is an important problem in bioinformatics for DNA sequence alignment and pattern discovery. In this research, we propose new CPU-based parallel implementations that can provide significant advantages in terms of execution times, monetary cost, and pervasiveness in finding LCS of DNA sequences in an environment where Graphics Processing Units are not available. For general purpose use, we also make the OpenMP-based tool publicly available to end users. In this study, we develop three novel parallel versions of the LCS algorithm on: (i) distributed memory machine using message passing interface (MPI); (ii) shared memory machine using OpenMP, and (iii) hybrid platform that utilizes both distributed and shared memory using MPI-OpenMP. The experimental results with both simulated and real DNA sequence data show that the shared memory OpenMP implementation provides at least two-times absolute speedup than the best sequential version of the algorithm and a relative speedup of almost 7. We provide a detailed comparison of the execution times among the implementations on different platforms with different versions of the algorithm. We also show that removing branch conditions negatively affects the performance of the CPU-based parallel algorithm on OpenMP platform.Keywords
Funding Information
- Natural Sciences and Engineering Research Council of Canada
This publication has 13 references indexed in Scilit:
- Big Data: Astronomical or Genomical?PLOS Biology, 2015
- Analysis of the relationships among Longest Common Subsequences, Shortest Common Supersequences and patterns and its application on pattern discovery in biological sequencesInternational Journal of Data Mining and Bioinformatics, 2011
- Limitations and potentials of current motif discovery algorithmsNucleic Acids Research, 2005
- A fast and practical bit-vector algorithm for the Longest Common Subsequence problemInformation Processing Letters, 2001
- Basic local alignment search toolJournal of Molecular Biology, 1990
- Improved tools for biological sequence comparison.Proceedings of the National Academy of Sciences of the United States of America, 1988
- An Overview of Sequence Comparison: Time Warps, String Edits, and MacromoleculesSIAM Review, 1983
- The Complexity of Some Problems on Subsequences and SupersequencesJournal of the ACM, 1978
- Bounds on the Complexity of the Longest Common Subsequence ProblemJournal of the ACM, 1976
- The String-to-String Correction ProblemJournal of the ACM, 1974