RNAlib-2.4.4
equilibrium_probs.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_EQUILIBRIUM_PROBS_H
2 #define VIENNA_RNA_PACKAGE_EQUILIBRIUM_PROBS_H
3 
5 #include <ViennaRNA/params.h>
6 
18 /*
19 #################################################
20 # BASE PAIR PROBABILITY RELATED FUNCTIONS #
21 #################################################
22 */
23 
24 void vrna_pairing_probs(vrna_fold_compound_t *vc, char *structure);
25 
39 double vrna_mean_bp_distance_pr(int length, FLT_OR_DBL *pr);
40 
54 
68 
89 void vrna_pf_dimer_probs(double FAB,
90  double FA,
91  double FB,
92  vrna_ep_t *prAB,
93  const vrna_ep_t *prA,
94  const vrna_ep_t *prB,
95  int Alength,
96  const vrna_exp_param_t *exp_params);
97 
98 
99 #endif
Data structure representing a single entry of an element probability list (e.g. list of pair probabil...
Definition: structure_utils.h:114
double vrna_mean_bp_distance(vrna_fold_compound_t *vc)
Get the mean base pair distance in the thermodynamic ensemble.
double FLT_OR_DBL
Typename for floating point number in partition function computations.
Definition: data_structures.h:43
The most basic data structure required by many functions throughout the RNAlib.
Definition: fold_compound.h:131
void vrna_pf_dimer_probs(double FAB, double FA, double FB, vrna_ep_t *prAB, const vrna_ep_t *prA, const vrna_ep_t *prB, int Alength, const vrna_exp_param_t *exp_params)
Compute Boltzmann probabilities of dimerization without homodimers.
Various data structures and pre-processor macros.
Functions to deal with sets of energy parameters.
The data structure that contains temperature scaled Boltzmann weights of the energy parameters...
Definition: params.h:101
double vrna_mean_bp_distance_pr(int length, FLT_OR_DBL *pr)
Get the mean base pair distance in the thermodynamic ensemble from a probability matrix.
vrna_ep_t * vrna_stack_prob(vrna_fold_compound_t *vc, double cutoff)
Compute stacking probabilities.
FLT_OR_DBL * pr
A pointer to the base pair probability matrix.