RNAlib-2.4.8
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 
6 
18 /*
19 #################################################
20 # BASE PAIR PROBABILITY RELATED FUNCTIONS #
21 #################################################
22 */
23 
24 int vrna_pairing_probs(vrna_fold_compound_t *vc, char *structure);
25 
45 double vrna_mean_bp_distance_pr(int length, FLT_OR_DBL *pr);
46 
60 
74 
75 /* End base pair related functions */
98 void vrna_pf_dimer_probs(double FAB,
99  double FA,
100  double FB,
101  vrna_ep_t *prAB,
102  const vrna_ep_t *prA,
103  const vrna_ep_t *prB,
104  int Alength,
105  const vrna_exp_param_t *exp_params);
106 
130 double
132  const char *structure);
133 
134 
135 double
136 vrna_pr_energy(vrna_fold_compound_t *vc,
137  double e);
138 
139 #endif
double vrna_mean_bp_distance(vrna_fold_compound_t *vc)
Get the mean base pair distance in the thermodynamic ensemble.
double vrna_pr_structure(vrna_fold_compound_t *fc, const char *structure)
Compute the equilibrium probability of a particular secondary structure.
double FLT_OR_DBL
Typename for floating point number in partition function computations.
Definition: basic.h:43
The most basic data structure required by many functions throughout the RNAlib.
Definition: fold_compound.h:132
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.
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.
Various data structures and pre-processor macros.
The data structure that contains temperature scaled Boltzmann weights of the energy parameters...
Definition: basic.h:101
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.
Functions to deal with sets of energy parameters.
Data structure representing a single entry of an element probability list (e.g. list of pair probabil...
Definition: structures.h:358