pipette
ENEnglish

Move-rb: Faster Bi-Directional r-indexes and Approximate Pattern Matching

Johannes Fischer, Lukas Nalbach

Preprint

En palabras de los autores

Approximate pattern matching (APM) on highly repetitive texts is a central task in bioinformatics. Bi-directional r-indexes support left- and right-extension of a pattern and thereby accelerate APM algorithms based on search schemes, but existing variants -- br-index and b-move -- suffer from two bottlenecks: character-predecessor/-successor queries on the run-length-encoded BWT per extension, and predecessor queries on sparse bit vectors to maintain a value in the suffix array interval and to access the PLCP array while locating. We present Move-rb, a bi-directional r-index built on the optimized r-index Move-r. Although Move-rb is 2x larger than br-index, it is up to 24% smaller than b-move, answers APM queries 1-4 orders of magnitude faster than br-index, 1.9-10x faster than b-move and up to 5.5x faster than the state-of-the-art bi-directional (uncompressed) FM-index columba, which is 36-42x larger. Memory usage (including index size) during APM locate queries is reduced by 1.5x (up to 6.5x) for Hamming distance and 2.5x (up to 7.4x) for edit distance. Move-rb can be constructed 3-14x faster while using 19-141x less memory than br-index, b-move and columba. A variant using a relative Lempel-Ziv-encoded suffix array locates up to 10x faster while being 1.2-2.4x larger. We achieve these speedups by optimizing index operations and search scheme APM algorithms: Without a direction switch, Move-rb computes an all--character extension in output-optimal time and a single-character extension in the same time. Augmenting Move-rb with bits reduces a single-character extension to time, where and are the numbers of runs in the BWT of the text and its reverse, and . A direction switch incurs only additional time.

Resultado principalLimitación que admiten los autores

Apareció: viernes, 25 de septiembre. arXiv. Preprint, todavía sin revisión por pares.

Comentario de los autores: 26 pages, 14 figures, 9 tables. Accepted at the SIAM Symposium on Algorithm Engineering and Experiments (ALENEX 2027)