bioRxivBioinformaticsPreprint
Optimum Search Schemes for Approximate String Matching Using Bidirectional FM-Index
Kiavash KianfariD, Christopher PockrandtiD, Bahman TorkamandiiD, Haochen LuoiD, Knut ReinertiD
Abstract
Finding approximate occurrences of a pattern in a text using a full-text index is a central problem in bioinformatics and has been extensively researched. Bidirectional indices have opened new possibilities in this regard allowing the search to start from anywhere within the pattern and extend in both directions. In particular, use of search schemes (partitioning the pattern and searching the pieces in certain orders with given bounds on errors) can yield significant speed-ups. However, finding optimal search schemes is a difficult combinatorial optimization problem.\n\nHere for the first time, we propose a mixed integer program (MIP) capable to solve this optimization problem for Hamming distance with given number of pieces. Our experiments show that the optimal search schemes found by our MIP significantly improve the performance of search in bidirectional FM-index upon previous ad-hoc solutions. For example, approximate matching of 101-bp Illumina reads (with two errors) becomes 35 times faster than standard backtracking. Moreover, despite being performed purely in the index, the running time of search using our optimal schemes (for up to two errors) is comparable to the best state-of-the-art aligners, which benefit from combining search in index with in-text verification using dynamic programming. As a result, we anticipate a full-fledged aligner that employs an intelligent combination of search in the bidirectional FM-index using our optimal search schemes and in-text verification using dynamic programming that will outperform todays best aligners. The development of such an aligner, called FAMOUS (Fast Approximate string Matching using OptimUm search Schemes), is ongoing as our future work.
- Citations
- 6
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- An optimized FM-index library for nucleotide and amino acid search
Tim Anderson, Travis J. Wheeler·Algorithms for Molecular BiologyPeer-reviewed·Dec 1, 2021
- b-move: faster bidirectional character extensions in a run-length compressed index
Lore Depuydt, Luca Renders, … Jan Fostier·bioRxiv·May 30, 2024
- LEAP: A Generalization Of The Landau-Vishkin Algorithm With Custom Gap Penalties
Hongyi Xin, Jeremie S. Kim, … Onur Mutlu·bioRxiv·May 7, 2017
- MONI: A Pangenomics Index for Finding MEMs
Massimiliano Rossi, Marco Oliva, … Christina A. Boucher·bioRxiv·Jul 6, 2021
- Kaminari: a resource-frugal index for approximate colored k-mer queries
Victor Levallois, Yoshihiro Shibuya, … Giulio Ermanno Pibiri·Bioinformatics AdvancesPeer-reviewed·Jan 1, 2026
- Efficient Construction of a Complete Index for Pan-Genomics Read Alignment
Alan Kuhnle, Taher Mun, … Giovanni Manzini·Journal of Computational BiologyPeer-reviewed·Mar 17, 2020