Contains functions related to stochastic backtracking from a specified distance class. More...
Functions | |
char * | TwoDpfold_pbacktrack (TwoDpfold_vars *vars, int d1, int d2) |
Sample secondary structure representatives from a set of distance classes according to their Boltzmann probability. | |
char * | TwoDpfold_pbacktrack5 (TwoDpfold_vars *vars, int d1, int d2, unsigned int length) |
Sample secondary structure representatives with a specified length from a set of distance classes according to their Boltzmann probability. |
Contains functions related to stochastic backtracking from a specified distance class.
char* TwoDpfold_pbacktrack | ( | TwoDpfold_vars * | vars, | |
int | d1, | |||
int | d2 | |||
) |
Sample secondary structure representatives from a set of distance classes according to their Boltzmann probability.
If the argument 'd1' is set to '-1', the structure will be backtracked in the distance class where all structures exceeding the maximum basepair distance to either of the references reside.
[in] | vars | the datastructure containing all necessary folding attributes and matrices |
[in] | d1 | the distance to reference1 (may be -1) |
[in] | d2 | the distance to reference2 |
char* TwoDpfold_pbacktrack5 | ( | TwoDpfold_vars * | vars, | |
int | d1, | |||
int | d2, | |||
unsigned int | length | |||
) |
Sample secondary structure representatives with a specified length from a set of distance classes according to their Boltzmann probability.
This function does essentially the same as TwoDpfold_pbacktrack with the only difference that partial structures, i.e. structures beginning from the 5' end with a specified length of the sequence, are backtracked
[in] | vars | the datastructure containing all necessary folding attributes and matrices |
[in] | d1 | the distance to reference1 (may be -1) |
[in] | d2 | the distance to reference2 |
[in] | length | the length of the structure beginning from the 5' end |