English

Succincter Text Indexing with Wildcards

Data Structures and Algorithms 2011-01-28 v1 Quantitative Methods

Abstract

We study the problem of indexing text with wildcard positions, motivated by the challenge of aligning sequencing data to large genomes that contain millions of single nucleotide polymorphisms (SNPs)---positions known to differ between individuals. SNPs modeled as wildcards can lead to more informed and biologically relevant alignments. We improve the space complexity of previous approaches by giving a succinct index requiring (2+o(1))nlogσ+O(n)+O(dlogn)+O(klogk)(2 + o(1))n \log \sigma + O(n) + O(d \log n) + O(k \log k) bits for a text of length nn over an alphabet of size σ\sigma containing dd groups of kk wildcards. A key to the space reduction is a result we give showing how any compressed suffix array can be supplemented with auxiliary data structures occupying O(n)+O(dlognd)O(n) + O(d \log \frac{n}{d}) bits to also support efficient dictionary matching queries. The query algorithm for our wildcard index is faster than previous approaches using reasonable working space. More importantly our new algorithm greatly reduces the query working space to O(dm+mlogn)O(d m + m \log n) bits. We note that compared to previous results this reduces the working space by two orders of magnitude when aligning short read data to the Human genome.

Keywords

Cite

@article{arxiv.1101.5376,
  title  = {Succincter Text Indexing with Wildcards},
  author = {Chris Thachuk},
  journal= {arXiv preprint arXiv:1101.5376},
  year   = {2011}
}

Comments

10 pages, 3 additional pages for supporting proofs

R2 v1 2026-06-21T17:18:01.948Z