English

Efficient pattern matching in degenerate strings with the Burrows-Wheeler transform

Data Structures and Algorithms 2017-08-04 v1

Abstract

A degenerate or indeterminate string on an alphabet Σ\Sigma is a sequence of non-empty subsets of Σ\Sigma. Given a degenerate string tt of length nn, we present a new method based on the Burrows--Wheeler transform for searching for a degenerate pattern of length mm in tt running in O(mn)O(mn) time on a constant size alphabet Σ\Sigma. Furthermore, it is a hybrid pattern-matching technique that works on both regular and degenerate strings. A degenerate string is said to be conservative if its number of non-solid letters is upper-bounded by a fixed positive constant qq; in this case we show that the search complexity time is O(qm2)O(qm^2). Experimental results show that our method performs well in practice.

Keywords

Cite

@article{arxiv.1708.01130,
  title  = {Efficient pattern matching in degenerate strings with the Burrows-Wheeler transform},
  author = {Jacqueline W. Daykin and Richard Groult and Yannick Guesnet and Thierry Lecroq and Arnaud Lefebvre and Martine Léonard and Laurent Mouchard and Élise Prieur-Gaston and Bruce Watson},
  journal= {arXiv preprint arXiv:1708.01130},
  year   = {2017}
}

Comments

7 pages, 1 figure

R2 v1 2026-06-22T21:05:41.977Z