RNAlib-2.4.14
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 
8 
20 /*
21  #################################################
22  # BASE PAIR PROBABILITY RELATED FUNCTIONS #
23  #################################################
24  */
25 
26 int
27 vrna_pairing_probs(vrna_fold_compound_t *vc,
28  char *structure);
29 
30 
54 double
55 vrna_mean_bp_distance_pr(int length,
56  FLT_OR_DBL *pr);
57 
58 
75 double
77 
78 
103 double
105  const char *structure);
106 
107 
130 double *
132 
133 
146 vrna_ep_t *
148  double cutoff);
149 
150 
151 /* End base pair related functions */
174 void
175 vrna_pf_dimer_probs(double FAB,
176  double FA,
177  double FB,
178  vrna_ep_t *prAB,
179  const vrna_ep_t *prA,
180  const vrna_ep_t *prB,
181  int Alength,
182  const vrna_exp_param_t *exp_params);
183 
184 
208 double
210  const char *structure);
211 
212 
213 double
215  double e);
216 
217 
218 #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.
double * vrna_positional_entropy(vrna_fold_compound_t *fc)
Compute a vector of positional entropies.
Various data structures and pre-processor macros.
The data structure that contains temperature scaled Boltzmann weights of the energy parameters...
Definition: basic.h:103
vrna_ep_t * vrna_stack_prob(vrna_fold_compound_t *vc, double cutoff)
Compute stacking probabilities.
double vrna_pr_energy(vrna_fold_compound_t *vc, double e)
FLT_OR_DBL * pr
A pointer to the base pair probability matrix.
Functions to deal with sets of energy parameters.
double vrna_ensemble_defect(vrna_fold_compound_t *fc, const char *structure)
Compute the Ensemble Defect for a given target structure.
Various utility- and helper-functions for secondary structure parsing, converting, etc.
The Basic Fold Compound API.
Data structure representing a single entry of an element probability list (e.g. list of pair probabil...
Definition: structures.h:453