RNAlib-2.4.14
profiledist.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_PROFILEDIST_H
2 #define VIENNA_RNA_PACKAGE_PROFILEDIST_H
3 
4 #ifdef VRNA_WARN_DEPRECATED
5 # if defined(__clang__)
6 # define DEPRECATED(func, msg) func __attribute__ ((deprecated("", msg)))
7 # elif defined(__GNUC__)
8 # define DEPRECATED(func, msg) func __attribute__ ((deprecated(msg)))
9 # else
10 # define DEPRECATED(func, msg) func
11 # endif
12 #else
13 # define DEPRECATED(func, msg) func
14 #endif
15 
17 
20 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
21 
28 float profile_edit_distance(const float *T1,
29  const float *T2);
30 
31 
42 float *Make_bp_profile_bppm(FLT_OR_DBL *bppm,
43  int length);
44 
45 
49 void print_bppm(const float *T);
50 
51 
57 void free_profile(float *T);
58 
59 
68 DEPRECATED(float *Make_bp_profile(int length),
69 "Use Make_bp_profile_bppm() instead");
70 
71 #endif
72 
73 #endif
float profile_edit_distance(const float *T1, const float *T2)
Align the 2 probability profiles T1, T2 .
void free_profile(float *T)
free space allocated in Make_bp_profile
double FLT_OR_DBL
Typename for floating point number in partition function computations.
Definition: basic.h:43
Various data structures and pre-processor macros.
float * Make_bp_profile_bppm(FLT_OR_DBL *bppm, int length)
condense pair probability matrix into a vector containing probabilities for unpaired, upstream paired and downstream paired.
float * Make_bp_profile(int length)
void print_bppm(const float *T)
print string representation of probability profile