RNAlib-2.4.14
boltzmann_sampling.h File Reference

Boltzmann Sampling of secondary structures from the ensemble. More...

+ Include dependency graph for boltzmann_sampling.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VRNA_PBACKTRACK_DEFAULT   0
 Boltzmann sampling flag indicating default backtracing mode. More...
 
#define VRNA_PBACKTRACK_NON_REDUNDANT   1
 Boltzmann sampling flag indicating non-redundant backtracing mode. More...
 

Typedefs

typedef void( vrna_boltzmann_sampling_callback) (const char *stucture, void *data)
 Callback for Boltzmann sampling. More...
 
typedef struct vrna_pbacktrack_memory_s * vrna_pbacktrack_mem_t
 Boltzmann sampling memory data structure. More...
 

Functions

char * vrna_pbacktrack5 (vrna_fold_compound_t *fc, unsigned int length)
 Sample a secondary structure of a subsequence from the Boltzmann ensemble according its probability. More...
 
char ** vrna_pbacktrack5_num (vrna_fold_compound_t *fc, unsigned int num_samples, unsigned int length, unsigned int options)
 Obtain a set of secondary structure samples for a subsequence from the Boltzmann ensemble according their probability. More...
 
unsigned int vrna_pbacktrack5_cb (vrna_fold_compound_t *fc, unsigned int num_samples, unsigned int length, vrna_boltzmann_sampling_callback *cb, void *data, unsigned int options)
 Obtain a set of secondary structure samples for a subsequence from the Boltzmann ensemble according their probability. More...
 
char ** vrna_pbacktrack5_resume (vrna_fold_compound_t *vc, unsigned int num_samples, unsigned int length, vrna_pbacktrack_mem_t *nr_mem, unsigned int options)
 Obtain a set of secondary structure samples for a subsequence from the Boltzmann ensemble according their probability. More...
 
unsigned int vrna_pbacktrack5_resume_cb (vrna_fold_compound_t *fc, unsigned int num_samples, unsigned int length, vrna_boltzmann_sampling_callback *cb, void *data, vrna_pbacktrack_mem_t *nr_mem, unsigned int options)
 Obtain a set of secondary structure samples for a subsequence from the Boltzmann ensemble according their probability. More...
 
char * vrna_pbacktrack (vrna_fold_compound_t *fc)
 Sample a secondary structure from the Boltzmann ensemble according its probability. More...
 
char ** vrna_pbacktrack_num (vrna_fold_compound_t *fc, unsigned int num_samples, unsigned int options)
 Obtain a set of secondary structure samples from the Boltzmann ensemble according their probability. More...
 
unsigned int vrna_pbacktrack_cb (vrna_fold_compound_t *fc, unsigned int num_samples, vrna_boltzmann_sampling_callback *cb, void *data, unsigned int options)
 Obtain a set of secondary structure samples from the Boltzmann ensemble according their probability. More...
 
char ** vrna_pbacktrack_resume (vrna_fold_compound_t *fc, unsigned int num_samples, vrna_pbacktrack_mem_t *nr_mem, unsigned int options)
 Obtain a set of secondary structure samples from the Boltzmann ensemble according their probability. More...
 
unsigned int vrna_pbacktrack_resume_cb (vrna_fold_compound_t *fc, unsigned int num_samples, vrna_boltzmann_sampling_callback *cb, void *data, vrna_pbacktrack_mem_t *nr_mem, unsigned int options)
 Obtain a set of secondary structure samples from the Boltzmann ensemble according their probability. More...
 
void vrna_pbacktrack_mem_free (vrna_pbacktrack_mem_t s)
 Release memory occupied by a Boltzmann sampling memory data structure. More...
 

Detailed Description

Boltzmann Sampling of secondary structures from the ensemble.

A.k.a. Stochastic backtracking