RNAlib-2.2.0-RC3
|
Functions | |
float | vrna_ali_fold (vrna_fold_compound *vc, char *structure) |
Compute MFE and according consensus structure of an alignment of sequences. More... | |
float | alifold (const char **strings, char *structure) |
Compute MFE and according consensus structure of an alignment of sequences. More... | |
float | circalifold (const char **strings, char *structure) |
Compute MFE and according structure of an alignment of sequences assuming the sequences are circular instead of linear. More... | |
void | free_alifold_arrays (void) |
Free the memory occupied by MFE alifold functions. More... | |
float vrna_ali_fold | ( | vrna_fold_compound * | vc, |
char * | structure | ||
) |
Compute MFE and according consensus structure of an alignment of sequences.
This function predicts the consensus structure for the alignment stored in vc and returns the minimum free energy; the mfe structure in bracket notation is returned in 'structure'.
vc | The fold compound structure of type VRNA_VC_TYPE_ALIGNMENT |
structure | A pointer to a character array that will be overwritten by a consensus structure that exhibits the MFE. (Maybe NULL) |
float alifold | ( | const char ** | strings, |
char * | structure | ||
) |
Compute MFE and according consensus structure of an alignment of sequences.
This function predicts the consensus structure for the aligned 'sequences' and returns the minimum free energy; the mfe structure in bracket notation is returned in 'structure'.
Sufficient space must be allocated for 'structure' before calling alifold().
strings | A pointer to a NULL terminated array of character arrays |
structure | A pointer to a character array that may contain a constraining consensus structure (will be overwritten by a consensus structure that exhibits the MFE) |
float circalifold | ( | const char ** | strings, |
char * | structure | ||
) |
Compute MFE and according structure of an alignment of sequences assuming the sequences are circular instead of linear.
strings | A pointer to a NULL terminated array of character arrays |
structure | A pointer to a character array that may contain a constraining consensus structure (will be overwritten by a consensus structure that exhibits the MFE) |
void free_alifold_arrays | ( | void | ) |
Free the memory occupied by MFE alifold functions.