A path recorder algorithm for Multiple Longest Common Subsequences (MLCS) problems
Open Access
- 2 March 2020
- journal article
- research article
- Published by Oxford University Press (OUP) in Bioinformatics
- Vol. 36 (10) , 3035-3042
Abstract
Motivation: Searching the Longest Common Subsequences of many sequences is called a Multiple Longest Common Subsequence (MLCS) problem which is a very fundamental and challenging problem in many fields of data mining. The existing algorithms cannot be applicable to problems with long and large-scale sequences due to their huge time and space consumption. To efficiently handle large-scale MLCS problems, a Path Recorder Directed Acyclic Graph (PRDAG) model and a novel Path Recorder Algorithm (PRA) are proposed. Results: In PRDAG, we transform the MLCS problem into searching the longest path from the Directed Acyclic Graph (DAG), where each longest path in DAG corresponds to an MLCS. To tackle the problem efficiently, we eliminate all redundant and repeated nodes during the construction of DAG, and for each node, we only maintain the longest paths from the source node to it but ignore all non-longest paths. As a result, the size of the DAG becomes very small, and the memory space and search time will be greatly saved. Empirical experiments have been performed on a standard benchmark set of both DNA sequences and protein sequences. The experimental results demonstrate that our model and algorithm outperform the related leading algorithms, especially for large-scale MLCS problems. Availability and implementation: This program code is written by the first author and can be available at https://www.ncbi.nlm.nih.gov/nuccore and https://blog.csdn.net/wswguilin. Supplementary information: Supplementary data are available at Bioinformatics online.Keywords
Funding Information
- National Natural Science Foundation of China (61872281)
This publication has 14 references indexed in Scilit:
- A Space-Bounded Anytime Algorithm for the Multiple Longest Common Subsequence ProblemIEEE Transactions on Knowledge and Data Engineering, 2014
- A fast parallel algorithm for finding the longest common sequence of multiple biosequencesBMC Bioinformatics, 2006
- Fast linear-space computations of longest common subsequencesTheoretical Computer Science, 1992
- Computing a longest common subsequence for a set of stringsBIT Numerical Mathematics, 1984
- Identification of common molecular subsequencesJournal of Molecular Biology, 1981
- A faster algorithm computing string edit distancesJournal of Computer and System Sciences, 1980
- The Complexity of Some Problems on Subsequences and SupersequencesJournal of the ACM, 1978
- Algorithms for the Longest Common Subsequence ProblemJournal of the ACM, 1977
- A fast algorithm for computing longest common subsequencesCommunications of the ACM, 1977
- Matching Sequences under Deletion/Insertion ConstraintsProceedings of the National Academy of Sciences, 1972