title: Encoded expansion: an efficient algorithm to discover identical string motifs.
abstract: A major task in computational biology is the discovery of short recurring string patterns known as motifs. Most of the schemes to discover motifs are either stochastic or combinatorial in nature. Stochastic approaches do not guarantee finding the correct motifs, while the combinatorial schemes tend to have an exponential time complexity with respect to motif length. To alleviate the cost, the combinatorial approach exploits dynamic data structures such as trees or graphs. Recently (Karci (2009) Efficient automatic exact motif discovery algorithms for biological sequences, Expert Systems with Applications 36:7952-7963) devised a deterministic algorithm that finds all the identical copies of string motifs of all sizes [Formula: see text] in theoretical time complexity of [Formula: see text] and a space complexity of [Formula: see text] where [Formula: see text] is the length of the input sequence and [Formula: see text] is the length of the longest possible string motif. In this paper, we present a significant improvement on Karci's original algorithm. The algorithm that we propose reports all identical string motifs of sizes [Formula: see text] that occur at least [Formula: see text] times. Our algorithm starts with string motifs of size 2, and at each iteration it expands the candidate string motifs by one symbol throwing out those that occur less than [Formula: see text] times in the entire input sequence. We use a simple array and data encoding to achieve theoretical worst-case time complexity of [Formula: see text] and a space complexity of [Formula: see text] Encoding of the substrings can speed up the process of comparison between string motifs. Experimental results on random and real biological sequences confirm that our algorithm has indeed a linear time complexity and it is more scalable in terms of sequence length than the existing algorithms.
authors.affiliation: Department of Computer Science, College of Computer & Information Sciences, King Saud University, Riyadh, Saudi Arabia.
authors.forename: Aqil M
authors.initials: AM
authors.lastname: Azmi
authors.affiliation: Department of Computer Science, College of Computer & Information Sciences, King Saud University, Riyadh, Saudi Arabia.
authors.forename: Abdulrakeeb
authors.initials: A
authors.lastname: Al-Ssulami
mesh_terms: D000465:Algorithms; D001483:Base Sequence / Q000235:genetics*; D001665:Binding Sites / Q000235:genetics*; D019295:Computational Biology / Q000379:methods*; D017422:Sequence Analysis, DNA / Q000379:methods*; D013997:Time Factors