One partition function call to rule them all: Efficiently computing the equilibrium landscape of multiple nucleic acid strands
Abstract
In the nearest neighbour model of DNA/RNA binding, the partition function (PF) is a sum of Boltzmann-weighted free energies of the exponentially large set of secondary structures. Dirks et al. [SIAM review, 2007] gave a polynomial time PF algorithm for strands, generalising McCaskill [Biopolymers, 1990] single-stranded case. Despite the intuition that PF may somehow encode the entire state space, thus far different approaches were required to solve various energy-landscape prediction problems. For example: finding the minimum free energy (MFE), structure(s) for strands was open since 2007, and we recently solved [ICALP, 2025] via new techniques. We asked if there is a magnifiable PF algorithm [DNA31, 2025], which we answer here in the affirmative. We give an time, space algorithm, for strands of bases, the same overhead as Dirks et al. (non-magnifiable) algorithm. However, we show that magnification allows for efficient decoding of the entire landscape, concretely: a single call to the magnifiable PF efficiently solves and improves upon a large number of problems, giving: - MFE in time, space; a considerable improvement over our time, space result [ICALP 2025]. - The first polynomial time algorithm for the multi-stranded density of states problem, in time space. - The first polynomial time algorithm outputting the entire list of energy levels occupied by at least one structure (in time space), and the first algorithms for various energy landscape and counting problems. Our approach unifies the field of energy landscape prediction showing that a single, general, algorithmic framework neatly unifies a large collection of problems that practitioners care about, and required distinct techniques with worse time bounds.
Create a lesson
Related papers
A Polynomial Time Algorithm for Finding a Minimum 5-Partition of a Submodular Function
Shared title terminology · Yuhao Liu, Ke Shi, Chao Xu
LinearKnot: Linear-Time Approximation of the Pseudoknot Partition Function
Shared title terminology · Milan Gautam, David H. Mathews, Liang Huang
Space-Efficient Text Indexing for Advanced Counting Queries
Shared title terminology · Solon P. Pissis, Sharma V. Thankachan
Revisiting Generalized Median Estimators: Exact Bitwise Computation and Gray Code Acceleration
Shared title terminology · Robin Nunkesser
An Efficient Algorithm for Matroid Cups
Shared title terminology · Stephen Arndt, Benjamin Moseley, Kirk Pruhs
Fast Computation of Lowest Common Ancestor in Version Control Commit Graph
Shared title terminology · Stepan Polokhin, Ruslan Savchenko, Yuriy Chernyshov