Skip to main content
QUICK REVIEW

[Paper Review] FAMOUS: Fast Approximate string Matching using OptimUm search Schemes.

Kiavash Kianfar, Christopher Pockrandt|arXiv (Cornell University)|Nov 6, 2017
Algorithms and Data CompressionComputer Science1 citations
TL;DR

This paper introduces FAMOUS, a novel mixed integer program (MIP)-based method to compute optimal search schemes for approximate string matching in bidirectional FM-indexes, significantly accelerating Hamming distance-based pattern searches. By optimizing pattern partitioning and error bounds, FAMOUS achieves up to 35× speedup over standard backtracking and matches the performance of top aligners, enabling faster, index-only approximate matching with potential for superior full aligners.

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. Here 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 outperforms today's best aligners. The development of such an aligner, called FAMOUS (Fast Approximate string Matching using OptimUm search Schemes), is ongoing as our future work.

Motivation & Objective

  • To address the challenge of finding optimal search schemes for approximate string matching in bidirectional FM-indexes, which are critical for efficient biosequence analysis.
  • To formulate the search scheme optimization problem as a mixed integer program (MIP) for Hamming distance with a fixed number of pattern pieces.
  • To eliminate reliance on ad-hoc or heuristic search schemes by providing a provably optimal solution for pattern partitioning and error distribution.
  • To enable faster, index-only approximate matching that rivals or exceeds the performance of state-of-the-art aligners using dynamic programming.
  • To lay the foundation for a next-generation aligner that intelligently combines optimal index search with in-text dynamic programming verification.

Proposed method

  • Formulate the search scheme optimization problem as a mixed integer program (MIP) to determine the optimal partitioning of a pattern into pieces and their search order with error bounds.
  • Model the pattern as a sequence of substrings (pieces) and define constraints to ensure all possible approximate matches within the given Hamming distance are covered.
  • Use the MIP to minimize the total search time by optimizing the order of piece retrieval and the error distribution across pieces.
  • Integrate the computed optimal search schemes into the bidirectional FM-index to accelerate approximate string matching without in-text verification.
  • Evaluate the performance of the optimal schemes using real-world Illumina reads (e.g., 101-bp with two errors) and compare against standard backtracking and state-of-the-art aligners.
  • Design a framework for future aligner development where optimal index-based search is combined with dynamic programming for in-text verification.

Experimental results

Research questions

  • RQ1Can a mixed integer program be effectively formulated to solve the combinatorial optimization problem of finding optimal search schemes for approximate string matching under Hamming distance?
  • RQ2How much performance gain can be achieved by using MIP-optimized search schemes compared to standard backtracking in bidirectional FM-indexes?
  • RQ3To what extent can index-only search using optimal schemes match or exceed the speed and accuracy of state-of-the-art aligners that use dynamic programming for in-text verification?
  • RQ4Can the optimal search schemes be efficiently computed and applied to real-world sequencing data, such as 101-bp Illumina reads with up to two errors?
  • RQ5What is the potential of combining optimal index search with dynamic programming verification to build a superior next-generation aligner?

Key findings

  • The MIP-based approach successfully computes optimal search schemes for approximate string matching under Hamming distance, solving a previously difficult combinatorial optimization problem.
  • Approximate matching of 101-bp Illumina reads with two errors becomes 35 times faster using FAMOUS's optimal schemes compared to standard backtracking.
  • The running time of search using FAMOUS's optimal schemes (for up to two errors) is comparable to that of the best state-of-the-art aligners, despite relying solely on index-based search.
  • The performance gains demonstrate that optimal search schemes can achieve aligner-level efficiency without requiring in-text dynamic programming verification.
  • The results suggest that a future aligner combining FAMOUS's optimal index search with in-text dynamic programming verification could outperform today’s best aligners.
  • The method provides a scalable and provably optimal solution for search scheme generation, enabling faster and more efficient approximate string matching in bioinformatics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.