arXiv · 2607.06225
Compiling Bioinformatics Recurrences
Abstract
Many bioinformatics algorithms, such as sequence alignment and structure prediction, can be expressed as recurrence equations over a dynamic programming matrix. Efficient implementations of these algorithms for large-scale biological data often require changing the order in which matrix cells are calculated and pruning ineffectual regions of the matrix from consideration altogether, but these techniques typically complicate implementation. We introduce FILTR, a domain-specific language (DSL) and compiler framework for bioinformatics recurrences. FILTR keeps the core recurrence rules separate from the pruning and scheduling strategies, where pruning acts as an approximation to limit where in the DP matrix cells are computed, and scheduling determines the iteration order for how cells are explored. FILTR compiles these high-level descriptions into optimized C++ code that matches the performance of hand-tuned implementations while enabling rapid exploration of new heuristics. FILTR is competitive with hand-optimized sequence-alignment libraries, ranging from 0.95x to 30x faster across biological benchmarks.
Explore related subjects
Keep this discovery
Bala Vinaithirthan, Shiv Sundram, Sneha Goenka, Fredrik Kjolstad. 2026-07-07. Compiling Bioinformatics Recurrences. https://arxiv.org/abs/2607.06225
Cite the original work for its findings. Save a collection to share your selection of sources.