Average-optimal single and multiple approximate string matching

Author:

Fredriksson Kimmo1,Navarro Gonzalo2

Affiliation:

1. University of Joensuu, Joensuu, Finland

2. University of Chile, Santiago, Chile

Abstract

We present a new algorithm for multiple approximate string matching. It is based on reading backwards enough l-grams from text windows so as to prove that no occurrence can contain the part of the window read, and then shifting the window.We show analytically that our algorithm is optimal on average. Hence our first contribution is to fill an important gap in the area, since no average-optimal algorithm existed for multiple approximate string matching.We consider several variants and practical improvements to our algorithm, and show experimentally that they are resistant to the number of patterns and the fastest for low difference ratios, displacing the long-standing best algorithms. Hence our second contribution is to give a practical algorithm for this problem, by far better than any existing alternative in many cases of interest. On real-life texts, our algorithm is especially interesting for computational biology applications.In particular, we show that our algorithm can be successfully used to search for one pattern, where many more competing algorithms exist. Our algorithm is also average-optimal in this case, being the second after that of Chang and Marr. However, our algorithm permits higher difference ratios than Chang and Marr, and this is our third contribution.In practice, our algorithm is competitive in this scenario too, being the fastest for low difference ratios and moderate alphabet sizes. This is our fourth contribution, which also answers affirmatively the question of whether a practical average-optimal approximate string-matching algorithm existed.

Publisher

Association for Computing Machinery (ACM)

Subject

Theoretical Computer Science

Reference38 articles.

1. New models and algorithms for multidimensional approximate pattern matching;Baeza-Yates R.;Journal of Discrete Algorithms,2000

2. New and faster filters for multiple approximate string matching

3. Baeza-Yates R. and Ribeiro-Neto B. 1999. Modern Information Retrieval. Addison-Wesley Reading MA.]] Baeza-Yates R. and Ribeiro-Neto B. 1999. Modern Information Retrieval. Addison-Wesley Reading MA.]]

4. Faster approximate string matching;Baeza-Yates R. A.;Algorithmica,1999

5. Chang W. and Lawler E. 1994. Sublinear approximate string matching and biological applications. Algorithmica 12 4/5 327--344.]] Chang W. and Lawler E. 1994. Sublinear approximate string matching and biological applications. Algorithmica 12 4/5 327--344.]]

Cited by 26 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Searching long patterns with BNDM;Software: Practice and Experience;2024-04-04

2. Space-efficient computation of parallel approximate string matching;The Journal of Supercomputing;2023-01-07

3. Circular pattern matching with k mismatches;Journal of Computer and System Sciences;2021-02

4. Circular Pattern Matching with k Mismatches;Fundamentals of Computation Theory;2019

5. Fast phylogenetic inference from typing data;Algorithms for Molecular Biology;2018-02-15

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3