RNAlib-2.4.14
|
|
In contrast to methods that compute the property of a single structure in the ensemble, e.g. Minimum Free Energy Algorithm(s) , the partition function algorithms always consider the entire equilibrium ensemble. For that purpose, the McCaskill algorithm [17] and its variants can be used to efficiently compute
The principal idea behind this approach is that in equilibrium, statistical mechanics and polymer theory tells us that the frequency or probability of a particular state
depends on its energy
and follows a Boltzmann distribution, i.e.
where is the Boltzmann constant, and
the thermodynamic temperature. From that relation, the actual probability of state
can then be obtained using a proper scaling factor, the canonical partition function
where is the finite set of all states. Finally, the equilibrium probability of state
can be computed as
Instead of enumerating all states exhaustively to compute one can apply the Secondary Structure Folding Recurrences again for an efficient computation in cubic time. An outside variant of the same recursions is then used to compute probabilities for base pairs, stretches of consecutive unpaired nucleotides, or structural motifs.
We implement a wide variety of variants of the partition function algorithm according to McCaskill 1990 [17]. See the corresponding submodules for specific implementation details.