RNAlib-2.4.14

Detailed Description

+ Collaboration diagram for Deprecated Interface for Stochastic Backtracking:

Functions

char * pbacktrack (char *sequence)
 Sample a secondary structure from the Boltzmann ensemble according its probability. More...
 
char * pbacktrack5 (char *sequence, int length)
 Sample a sub-structure from the Boltzmann ensemble according its probability.
 
char * pbacktrack_circ (char *sequence)
 Sample a secondary structure of a circular RNA from the Boltzmann ensemble according its probability. More...
 

Variables

int st_back
 Flag indicating that auxilary arrays are needed throughout the computations. This is essential for stochastic backtracking. More...
 

Function Documentation

char* pbacktrack ( char *  sequence)

#include <ViennaRNA/part_func.h>

Sample a secondary structure from the Boltzmann ensemble according its probability.

Precondition
st_back has to be set to 1 before calling pf_fold() or pf_fold_par()
pf_fold_par() or pf_fold() have to be called first to fill the partition function matrices
Parameters
sequenceThe RNA sequence
Returns
A sampled secondary structure in dot-bracket notation
char* pbacktrack_circ ( char *  sequence)

#include <ViennaRNA/part_func.h>

Sample a secondary structure of a circular RNA from the Boltzmann ensemble according its probability.

This function does the same as pbacktrack() but assumes the RNA molecule to be circular

Precondition
st_back has to be set to 1 before calling pf_fold() or pf_fold_par()
pf_fold_par() or pf_circ_fold() have to be called first to fill the partition function matrices
Deprecated:
Use vrna_pbacktrack() instead.
Parameters
sequenceThe RNA sequence
Returns
A sampled secondary structure in dot-bracket notation

Variable Documentation

int st_back

#include <ViennaRNA/part_func.h>

Flag indicating that auxilary arrays are needed throughout the computations. This is essential for stochastic backtracking.

Set this variable to 1 prior to a call of pf_fold() to ensure that all matrices needed for stochastic backtracking are filled in the forward recursions

Deprecated:
set the uniq_ML flag in vrna_md_t before passing it to vrna_fold_compound().
See also
pbacktrack(), pbacktrack_circ