RNAlib-2.1.9
|
Go to the source code of this file.
Functions | |
float | profile_edit_distance (const float *T1, const float *T2) |
Align the 2 probability profiles T1, T2 . More... | |
float * | Make_bp_profile_bppm (double *bppm, int length) |
condense pair probability matrix into a vector containing probabilities for unpaired, upstream paired and downstream paired. More... | |
void | print_bppm (const float *T) |
print string representation of probability profile | |
void | free_profile (float *T) |
free space allocated in Make_bp_profile More... | |
float * | Make_bp_profile (int length) |
float profile_edit_distance | ( | const float * | T1, |
const float * | T2 | ||
) |
Align the 2 probability profiles T1, T2
.
This is like a Needleman-Wunsch alignment, we should really use affine gap-costs ala Gotoh
float* Make_bp_profile_bppm | ( | double * | bppm, |
int | length | ||
) |
condense pair probability matrix into a vector containing probabilities for unpaired, upstream paired and downstream paired.
This resulting probability profile is used as input for profile_edit_distance
bppm | A pointer to the base pair probability matrix |
length | The length of the sequence |
void free_profile | ( | float * | T | ) |
free space allocated in Make_bp_profile
Backward compatibility only. You can just use plain free()
float* Make_bp_profile | ( | int | length | ) |