RNAlib-2.5.1
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
28float profile_edit_distance(const float *T1,
29 const float *T2);
30
31
43 int length);
44
45
49void print_bppm(const float *T);
50
51
57void free_profile(float *T);
58
59
68DEPRECATED(float *Make_bp_profile(int length),
69"Use Make_bp_profile_bppm() instead");
70
71#endif
72
73#endif
Various data structures and pre-processor macros.
double FLT_OR_DBL
Typename for floating point number in partition function computations.
Definition: basic.h:43
float * Make_bp_profile(int length)
float * Make_bp_profile_bppm(FLT_OR_DBL *bppm, int length)
condense pair probability matrix into a vector containing probabilities for unpaired,...
void print_bppm(const float *T)
print string representation of probability profile
void free_profile(float *T)
free space allocated in Make_bp_profile
float profile_edit_distance(const float *T1, const float *T2)
Align the 2 probability profiles T1, T2 .