Advertisement

A Fast Algorithm for Approximate String Matching on Gene Sequences

  • Zheng Liu
  • Xin Chen
  • James Borneman
  • Tao Jiang
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3537)

Abstract

Approximate string matching is a fundamental and challenging problem in computer science, for which a fast algorithm is highly demanded in many applications including text processing and DNA sequence analysis. In this paper, we present a fast algorithm for approximate string matching, called FAAST. It aims at solving a popular variant of the approximate string matching problem, the k-mismatch problem, whose objective is to find all occurrences of a short pattern in a long text string with at most k mismatches. FAAST generalizes the well-known Tarhio-Ukkonen algorithm by requiring two or more matches when calculating shift distances, which makes the approximate string matching process significantly faster than the Tarhio-Ukkonen algorithm. Theoretically, we prove that FAAST on average skips more characters than the Tarhio-Ukkonen algorithm in a single shift, and makes fewer character comparisons in an entire matching process. Experiments on both simulated data sets and real gene sequences also demonstrate that FAAST runs several times faster than the Tarhio-Ukkonen algorithm in all the cases that we tested.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Baeza-Yates, R., Gonnet, G.H.: A New Approach to Text Searching. Communication of the ACM 35(10) (1992)Google Scholar
  2. 2.
    Baeza-Yates, R.A., Gonnet, G.H.: Fast String Matching with Mismatches. Information and Computation 108, 187–199 (1994)zbMATHCrossRefMathSciNetGoogle Scholar
  3. 3.
    Boyer, R.S., Moore, J.S.: A fast string searching algorithm. Communications of the ACM 10(20), 762–772 (1977)CrossRefGoogle Scholar
  4. 4.
    Cornish-Bowden, A.: Nomenclature for incompletely specified bases in nucleic acid sequences: recommendations 1984. Nucl. Acids Res. 13, 3021–3030 (1985)CrossRefGoogle Scholar
  5. 5.
    El-Mabrouk, N., Crochemore, M.: Boyer-Moore strategy to efficient approximate string matching. In: Hirschberg, D.S., Meyers, G. (eds.) CPM 1996. LNCS, vol. 1075, pp. 24–38. Springer, Heidelberg (1996)Google Scholar
  6. 6.
    Horspool, R.N.: Practical fast searching in strings. Software - Practice and experience 10, 501–506 (1980)CrossRefGoogle Scholar
  7. 7.
    Navarro, G., Raffinot, M.: Fast Regular Expression Search. In: Vitter, J.S., Zaroliagis, C.D. (eds.) WAE 1999. LNCS, vol. 1668, pp. 198–212. Springer, Heidelberg (1999)CrossRefGoogle Scholar
  8. 8.
    Navarro, G.: Approximate Regular Expression Searching with Arbitrary Integer Weights. In: Ibaraki, T., Katoh, N., Ono, H. (eds.) ISAAC 2003. LNCS, vol. 2906, pp. 230–239. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  9. 9.
    Tarhio, J., Ukkonen, E.: Approximate Boyer-Moore String Matching. SIAM J. Comput. 22, 243–260 (1993)zbMATHCrossRefMathSciNetGoogle Scholar
  10. 10.
    Valinsky, L., Scupham, A., Vedova, G.D., Liu, Z., Figueroa, A., Jampachaisri, K., Yin, B., Bent, E., Mancini-Jones, R., Press, J., Jiang, T., Borneman, J.: Oligonucleotide Fingerprinting of Ribosomal RNA Genes (OFRG). In: Kowalchuk, G.A., de Bruijn, F.J., Head, I.M., Akkermans, A.D.L., van Elsas, J.D. (eds.) Molecular Microbial Ecology Manual, 2nd edn., pp. 569–585. Kluwer Academic Publishers, Dordrecht (2004)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2005

Authors and Affiliations

  • Zheng Liu
    • 1
  • Xin Chen
    • 1
  • James Borneman
    • 2
  • Tao Jiang
    • 1
  1. 1.Department of Computer ScienceUniversity of CaliforniaRiverside
  2. 2.Department of Plant PathologyUniversity of CaliforniaRiverside

Personalised recommendations