[Paper Review] A Comparative Study on String Matching Algorithm of Biological Sequences
This paper evaluates multiple string matching algorithms for biological sequences, comparing their time and space complexity using real biological data. It identifies the Boyer-Moore algorithm as most efficient for long sequences due to its average-case performance, while the Knuth-Morris-Pratt algorithm shows consistent performance across varying sequence lengths, offering a balanced trade-off between speed and memory usage.
String matching algorithm plays the vital role in the Computational Biology. The functional and structural relationship of the biological sequence is determined by similarities on that sequence. For that, the researcher is supposed to aware of similarities on the biological sequences. Pursuing of similarity among biological sequences is an important research area of that can bring insight into the evolutionary and genetic relationships among the genes. In this paper, we have studied different kinds of string matching algorithms and observed their time and space complexities. For this study, we have assessed the performance of algorithms tested with biological sequences.
Motivation & Objective
- To evaluate the performance of various string matching algorithms in the context of biological sequence analysis.
- To analyze time and space complexity of algorithms when applied to real biological sequences.
- To identify the most efficient algorithm for detecting sequence similarities in genomics and proteomics applications.
- To support researchers in selecting optimal algorithms based on sequence length and computational constraints.
Proposed method
- Implementation and benchmarking of multiple string matching algorithms including Boyer-Moore, Knuth-Morris-Pratt (KMP), Rabin-Karp, and Naive algorithm.
- Execution of algorithms on diverse biological sequences to measure runtime and memory usage.
- Analysis of time complexity (best, average, worst case) and space complexity for each algorithm.
- Use of real biological sequences from public databases to ensure biological relevance in performance testing.
- Comparison of algorithm behavior across varying sequence lengths and pattern occurrences.
- Statistical evaluation of execution time and memory footprint under controlled experimental conditions.
Experimental results
Research questions
- RQ1Which string matching algorithm exhibits the best average-case performance on long biological sequences?
- RQ2How do time and space complexities of string matching algorithms vary with sequence length and pattern frequency?
- RQ3What is the relative efficiency of Boyer-Moore versus KMP in detecting similarities in genomic data?
- RQ4How do the Rabin-Karp and Naive algorithms compare in terms of scalability for biological sequence analysis?
- RQ5Which algorithm offers the most consistent performance across diverse biological sequence datasets?
Key findings
- The Boyer-Moore algorithm demonstrated the fastest average execution time on long biological sequences due to its right-to-left pattern comparison and bad character heuristic.
- The Knuth-Morris-Pratt (KMP) algorithm showed stable and predictable performance across all tested sequence lengths, with linear time complexity.
- The Naive algorithm had the highest time complexity and was unsuitable for large-scale biological data due to its O(mn) runtime.
- Rabin-Karp performed moderately well but was outperformed by Boyer-Moore and KMP, especially in sequences with high pattern frequency.
- Space complexity was consistently low across all algorithms, but Boyer-Moore achieved the best balance of speed and memory efficiency.
- The study confirmed that heuristic-based algorithms like Boyer-Moore are most effective for large-scale biological sequence comparison tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.