Filtr: Compiling Bioinformatics Recurrences
Bala Vinaithirthan, Shiv Sundram, Sneha Goenka, Fredrik Kjolstad
Key points
From the paper's conclusion- We introduce Filtr, a domain-specific language (DSL) and compiler framework for 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.95× to 30× faster across biological benchmarks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Vectorizing Recurrences over SemiringsarXiv · 2026
- Infernal-GPU: accurate E-values and sensitive covariance-model search for structured RNAsbioRxiv · 2026
- Parselets: An Abstraction for Fast, General-Purpose Algorithmic Information CalculusACM Transactions on Knowledge Discovery from Data · 2026
- SparseDesign: Scaling Exact Coding-Sequence DesignarXiv · 2026
- Sassy: fuzzy searching DNA sequences using SIMDBioinformatics · 2026
- On the Adaptive Covering Complexity of Strings: Unifying Relative and Self-Referential CompressionarXiv · 2026