Computing MEMs and Relatives on Repetitive Text Collections

We consider the problem of computing the Maximal Exact Matches (MEMs) of a given pattern \(P[1\mathinner{.. }m]\) on a large repetitive text collection \(T[1\mathinner{.. }n]\) over an alphabet of size \(\sigma\) , which is represented as a (hopefully much smaller) run-length context-free grammar of size \(g_{rl}\) . We show that the problem can be solved in time \(O(m^{2}\log^{\epsilon}n)\) , for any constant \(\epsilon\,{\gt}\,0\) , on a data structure of size \(O(g_{rl})\) . Further, on a locally consistent grammar of size \(O(\delta\log\frac{n\log\sigma}{\delta\log n})\) , the time decreases to \(O(m\log m(\log m+\log^{\epsilon}n))\) . The value \(\delta\) is a function of the substring complexity of \(T\) and \(\Omega(\delta\log\frac{n\log\sigma}{\delta\log n})\) is a tight lower bound on the compressibility of repetitive texts \(T\) , so our structure has optimal size in terms of \(n\) , \(\sigma\) , and \(\delta\) . We extend our results to several related problems, such as finding \(k\) -MEMs, MUMs, rare MEMs, and applications. Categories and Subject Descriptors: E.1 [ Data structures ]; E.2 [ Data storage representations ]; E.4 [ Coding and information theory ]: Data compaction and compression; F.2.2 [ Analysis of algorithms and problem complexity ]: Nonnumerical algorithms and problems— Pattern matching, Computations on discrete structures, Sorting and searching.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Algorithms
Published
2024-10-25
DOI
https://doi.org/10.1145/3701561
Citations
4
Primary Topic
Algorithms and Data Compression
Type
article
Field-Weighted Citation Impact
0.69
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Computing MEMs and Relatives on Repetitive Text Collections

Gonzalo Navarro
4 citations
ACM Transactions on Algorithms
Algorithms and Data Compression
0.69
article

Computing MEMs and Relatives on Repetitive Text Collections

Gonzalo Navarro
article en
4 citations

Abstract

We consider the problem of computing the Maximal Exact Matches (MEMs) of a given pattern \(P[1\mathinner{.. }m]\) on a large repetitive text collection \(T[1\mathinner{.. }n]\) over an alphabet of size \(\sigma\) , which is represented as a (hopefully much smaller) run-length context-free grammar of size \(g_{rl}\) . We show that the problem can be solved in time \(O(m^{2}\log^{\epsilon}n)\) , for any constant \(\epsilon\,{\gt}\,0\) , on a data structure of size \(O(g_{rl})\) . Further, on a locally consistent grammar of size \(O(\delta\log\frac{n\log\sigma}{\delta\log n})\) , the time decreases to \(O(m\log m(\log m+\log^{\epsilon}n))\) . The value \(\delta\) is a function of the substring complexity of \(T\) and \(\Omega(\delta\log\frac{n\log\sigma}{\delta\log n})\) is a tight lower bound on the compressibility of repetitive texts \(T\) , so our structure has optimal size in terms of \(n\) , \(\sigma\) , and \(\delta\) . We extend our results to several related problems, such as finding \(k\) -MEMs, MUMs, rare MEMs, and applications. Categories and Subject Descriptors: E.1 [ Data structures ]; E.2 [ Data storage representations ]; E.4 [ Coding and information theory ]: Data compaction and compression; F.2.2 [ Analysis of algorithms and problem complexity ]: Nonnumerical algorithms and problems— Pattern matching, Computations on discrete structures, Sorting and searching.

ACM Transactions on AlgorithmsVol. 21(1)
Fraunhofer Chile Research Foundation (CL), University of Chile (CL)
Quality Education
Openalex Percentile: Top 24%
Algorithms and Data Compression
0.69
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Computing MEMs and Relatives on Repetitive Text Collections — Gonzalo Navarro · ACM Transactions on Algorithms (2024) | TGRS Research Map | TGRS