[Paper Review] A Fast and Small Subsampled R-index
This paper introduces the sr-index, a compressed suffix array variant that subsamples the r-index's position samples to reduce space usage to O(min(r, n/s)) while maintaining O(s) time per occurrence during pattern matching. The sr-index achieves up to 3–4× space reduction over the r-index with only a modest time penalty, outperforming nearly all other compressed indexes in both space and time on repetitive texts, including genomes and sequence collections.
The FM-index is a fundamental data structure used in bioinformatics to efficiently search for strings and index genomes. However, the FM-index can pose computational challenges, particularly in the context of large-scale genomic datasets, due to the complexity of its underlying components and data encodings. In this paper, we present a comprehensive review of efficient variants of the FM-index and the encoding strategies used to improve performance. We examine hardware-accelerated techniques, such as memory-efficient data layouts and cache-aware structures, as well as software-level innovations, including algorithmic refinements and compact representations. The reviewed work demonstrates substantial gains in both speed and scalability, making methods that use the FM-index more practical for high-throughput genomic applications. By analyzing the trade-offs and design choices of these variants, we highlight how combining hardware-aware and software-centric strategies enables more efficient FM-index construction and usage across a range of bioinformatics tasks.
Motivation & Objective
- To address the relatively high space usage of the r-index, which limits its applicability in milder repetitiveness scenarios.
- To reduce the space of the r-index without sacrificing its fast pattern matching performance.
- To design a compressed index that balances space efficiency and search time, especially for repetitive text collections.
- To demonstrate that subsampling r-index samples can maintain guaranteed performance for pattern matching.
Proposed method
- The sr-index subsamples the r-index's stored positions at regular intervals, controlled by a parameter s, reducing space to O(min(r, n/s)).
- It maintains the r-index's locating machinery by carefully selecting which samples to retain, ensuring O(s) steps per occurrence.
- The method proves that the subsampled structure still supports pattern matching with guaranteed time bounds.
- The index uses additional information per sample to enable fast backward search and locate occurrences within O(s) steps.
- The construction ensures that every BWT run end is covered by at least one sample, preserving correctness.
- The approach is a hybrid between the r-index (when s=1) and the rlfm-index (in time, but with less space).
Experimental results
Research questions
- RQ1Can the r-index's space usage be significantly reduced without degrading pattern matching performance?
- RQ2What is the minimal set of samples needed to guarantee O(s) time per occurrence in pattern matching?
- RQ3How does subsampling affect the trade-off between space and time in compressed indexing of repetitive texts?
- RQ4Can the resulting index outperform both the r-index and rlfm-index in space and time on real-world repetitive collections?
Key findings
- The sr-index uses 1.5–4.0 times less space than the r-index while matching its search time performance.
- On highly repetitive texts (n/r > 25), the sr-index dominates all other compressed indexes in both space and time.
- The sr-index is up to an order of magnitude faster than the rlfm-index and grammar-based indexes, while using significantly less space.
- On bacterial genomes and human chromosomes, the sr-index uses 0.25–0.60 bps, compared to 0.95–1.90 bps for the r-index.
- The sr-index matches the r-index’s speed while using only 20r–30r bits (vs. 70r–90r bits for r-index) in its sweet spot.
- The sr-index outperforms even the best Lempel-Ziv-based indexes in time, though those use about half the space but are an order of magnitude slower.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.