Computing MEMs and Relatives on Repetitive Text Collections
Data Structures and Algorithms
2023-09-06 v5
Abstract
We consider the problem of computing the Maximal Exact Matches (MEMs) of a given pattern on a large repetitive text collection , which is represented as a (hopefully much smaller) run-length context-free grammar of size . We show that the problem can be solved in time , for any constant , on a data structure of size . Further, on a locally consistent grammar of size , the time decreases to . The value is a function of the substring complexity of and is a tight lower bound on the compressibility of repetitive texts , so our structure has optimal size in terms of and . We extend our results to several related problems, such as finding -MEMs, MUMs, rare MEMs, and applications.
Cite
@article{arxiv.2210.09914,
title = {Computing MEMs and Relatives on Repetitive Text Collections},
author = {Gonzalo Navarro},
journal= {arXiv preprint arXiv:2210.09914},
year = {2023}
}