• Home
  • Search
  • Faster Approximate Pattern Matching: A Unified Approach
  • Cite Icon32
  • https://doi.org/10.1109/focs46700.2020.00095Copy DOI Icon

Faster Approximate Pattern Matching: A Unified Approach

  • Nov 1, 2020
  • Panagiotis Charalampopoulos +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

In the approximate pattern matching problem, given a text $T$ , a pattern $P$ , and a threshold $k$ , the task is to find (the starting positions of) all substrings of $T$ that are at distance at most $k$ from $P$ . We consider the two most fundamental string metrics: Under the Hamming distance, we search for substrings of $T$ that have at most $k$ mismatches with $P$ , while under the edit distance, we search for substrings of $T$ that can be transformed to $P$ with at most $k$ edits. Exact occurrences of $P$ in $T$ have a very simple structure: If we assume for simplicity that $\vert P\vert and that $P$ occurs both as a prefix and as a suffix of $T$ , then both $P$ and $T$ are periodic with a common period. However, an analogous characterization for occurrences with up to $k$ mismatches was proved only recently by Bringmann et al. [SODA'19]: Either there are $\mathcal{O}(k^{2}) k$ -mismatch occurrences of $P$ in $T$ , or both $P$ and $T$ are at Hamming distance $\mathcal{O}(k)$ from strings with a common string period of length $\mathcal{O}(m/k)$ . We tighten this characterization by showing that there are $\mathcal{O}(k) k$ -mismatch occurrences in the non-periodic case, and we lift it to the edit distance setting, where we tightly bound the number of $k$ -edit occurrences by $\mathcal{O}(k^{2})$ in the non-periodic case. Our proofs are constructive and let us obtain a unified framework for approximate pattern matching for both considered distances. In particular, we provide meta-algorithms that only rely on a small set of primitive operations. We showcase the generality of our meta-algorithms with results for the fully compressed setting, the dynamic setting, and the standard setting.

Similar Papers
  • Research Article
  • Citations5

Error Tree: A Tree Structure for Hamming and Edit Distances and Wildcards Matching

  • Sep 24, 2015
  • Journal of Computational Biology
  • Anas Al-Okaily
  • Book Chapter
  • Citations26

The streaming k-mismatch problem

  • Jan 01, 2019
  • Raphael Clifford +2
  • Conference Article
  • Citations18

Towards Optimal Approximate Streaming Pattern Matching by Matching Multiple Patterns in Multiple Streams

  • Jan 01, 2018
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Shay Golan +2
  • Research Article
  • Citations109

A suboptimal lossy data compression based on approximate pattern matching

  • Jan 01, 1997
  • IEEE Transactions on Information Theory
  • T Luczak +1
  • Book Chapter
  • Citations2

Period Recovery over the Hamming and Edit Distances

  • Jan 01, 2016
  • Amihood Amir +3
  • PDF
  • Research Article
  • Citations5

Discriminative application of string similarity methods to chemical and non-chemical names for biomedical abbreviation clustering

  • Jun 01, 2012
  • BMC Genomics
  • Atsuko Yamaguchi +4
  • PDF
  • Research Article
  • Citations4

K-Approximate Quasiperiodicity Under Hamming and Edit Distance

  • Jun 22, 2021
  • Algorithmica
  • Aleksander Kędzierski +1
  • Book Chapter
  • Citations6

Efficient Approximate Dictionary Look-Up for Long Words over Small Alphabets

  • Jan 01, 2006
  • Abdullah N Arslan
  • Abstract

Stonn: A neural network IC using stochastic techniques: [formula omitted], and [formula omitted]. c/o Jim Symon, Department of Computer Science, University of North Carolina, Chapel Hill, NC 27599-3175 USA

  • Jan 01, 1988
  • Neural Networks
  • PDF
  • Research Article
  • Citations13

Application of Approximate Pattern Matching in Two Dimensional Spaces to Grid Layout for Biochemical Network Maps

  • Jun 05, 2012
  • PLoS ONE
  • Kentaro Inoue +3
  • Conference Article
  • Citations3

Approximate Pattern Matching for On-Chip Interconnect Traffic Prediction

  • Sep 30, 2020
  • Vignesh Adhinarayanan +1
  • Research Article
  • Citations9

String editing on a one-way linear array of finite-state machines

  • Jan 01, 1992
  • IEEE Transactions on Computers
  • O.H Ibarra +2
  • Book Chapter
  • Citations1

Dynamic and Approximate Pattern Matching in 2D

  • Jan 01, 2016
  • Raphaël Clifford +3
  • Research Article
  • Citations2

Approximate pattern matching and transitive closure logics

  • Mar 11, 2003
  • Theoretical Computer Science
  • Kjell Lemström +1
  • Research Article
  • Citations40

Basic Gene Grammars and DNA-ChartParser for language processing of Escherichia coli promoter DNA sequences.

  • Mar 01, 2001
  • Bioinformatics
  • Siu-Wai Leung +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.