Pattern matching with don't cares and few errors

  • Authors:
  • Raphaël Clifford;Klim Efremenko;Ely Porat;Amir Rothschild

  • Affiliations:
  • University of Bristol, Dept. of Computer Science, Woodland Road, Bristol, BS8 1UB, UK;Bar-Ilan University, Dept. of Computer Science, 52900 Ramat-Gan, Israel and Weizmann Institute, Rehovot 76100, Israel;Bar-Ilan University, Dept. of Computer Science, 52900 Ramat-Gan, Israel;Bar-Ilan University, Dept. of Computer Science, 52900 Ramat-Gan, Israel

  • Venue:
  • Journal of Computer and System Sciences
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present solutions for the k-mismatch pattern matching problem with don't cares. Given a text t of length n and a pattern p of length m with don't care symbols and a bound k, our algorithms find all the places that the pattern matches the text with at most k mismatches. We first give a @Q(n(k+logmlogk)logn) time randomised algorithm which finds the correct answer with high probability. We then present a new deterministic @Q(nk^2log^2m) time solution that uses tools originally developed for group testing. Taking our derandomisation approach further we develop an approach based on k-selectors that runs in @Q(nkpolylogm) time. Further, in each case the location of the mismatches at each alignment is also given at no extra cost.