RNAlib-2.4.14
|
|
Backtracking related interfaces. More...
Backtracking related interfaces.
Functions | |
float | vrna_backtrack5 (vrna_fold_compound_t *fc, unsigned int length, char *structure) |
Backtrack an MFE (sub)structure. More... | |
int | vrna_BT_hp_loop (vrna_fold_compound_t *fc, int i, int j, int en, vrna_bp_stack_t *bp_stack, int *stack_count) |
Backtrack a hairpin loop closed by ![]() | |
int | vrna_BT_stack (vrna_fold_compound_t *fc, int *i, int *j, int *en, vrna_bp_stack_t *bp_stack, int *stack_count) |
Backtrack a stacked pair closed by ![]() | |
int | vrna_BT_int_loop (vrna_fold_compound_t *fc, int *i, int *j, int en, vrna_bp_stack_t *bp_stack, int *stack_count) |
Backtrack an interior loop closed by ![]() | |
int | vrna_BT_mb_loop (vrna_fold_compound_t *fc, int *i, int *j, int *k, int en, int *component1, int *component2) |
Backtrack the decomposition of a multi branch loop closed by ![]() | |
float vrna_backtrack5 | ( | vrna_fold_compound_t * | vc, |
unsigned int | length, | ||
char * | structure | ||
) |
#include <ViennaRNA/mfe.h>
Backtrack an MFE (sub)structure.
This function allows one to backtrack the MFE structure for a (sub)sequence
structure
.fc | fold compound |
length | The length of the subsequence, starting from the 5' end |
structure | A pointer to the character array where the secondary structure in dot-bracket notation will be written to. (Must have size of at least $p length + 1) |
length
in kcal/mol and a corresponding secondary structure in dot-bracket notation (stored in structure
)length
equal to the total length of the RNA. int vrna_BT_hp_loop | ( | vrna_fold_compound_t * | fc, |
int | i, | ||
int | j, | ||
int | en, | ||
vrna_bp_stack_t * | bp_stack, | ||
int * | stack_count | ||
) |
#include <ViennaRNA/loops/hairpin.h>
Backtrack a hairpin loop closed by .
int vrna_BT_mb_loop | ( | vrna_fold_compound_t * | fc, |
int * | i, | ||
int * | j, | ||
int * | k, | ||
int | en, | ||
int * | component1, | ||
int * | component2 | ||
) |
#include <ViennaRNA/loops/multibranch.h>
Backtrack the decomposition of a multi branch loop closed by .
fc | The vrna_fold_compound_t filled with all relevant data for backtracking |
i | 5' position of base pair closing the loop (will be set to 5' position of leftmost decomposed block upon successful backtracking) |
j | 3' position of base pair closing the loop (will be set to 3' position of rightmost decomposed block upon successful backtracking) |
k | Split position that delimits leftmost from rightmost block, [i,k] and [k+1, j], respectively. (Will be set upon successful backtracking) |
en | The energy contribution of the substructure enclosed by ![]() |
component1 | Type of leftmost block (1 = ML, 2 = C) |
component2 | Type of rightmost block (1 = ML, 2 = C) |