RNAlib-2.4.14
Lfold.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_LFOLD_H
2 #define VIENNA_RNA_PACKAGE_LFOLD_H
3 
4 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
5 
12 #ifdef VRNA_WARN_DEPRECATED
13 # if defined(__clang__)
14 # define DEPRECATED(func, msg) func __attribute__ ((deprecated("", msg)))
15 # elif defined(__GNUC__)
16 # define DEPRECATED(func, msg) func __attribute__ ((deprecated(msg)))
17 # else
18 # define DEPRECATED(func, msg) func
19 # endif
20 #else
21 # define DEPRECATED(func, msg) func
22 #endif
23 
24 #include <ViennaRNA/mfe_window.h>
25 
36 DEPRECATED(float Lfold(const char *string,
37  const char *structure,
38  int maxdist),
39  "Use vrna_Lfold() or vrna_Lfold_cb() instead");
40 
41 #ifdef VRNA_WITH_SVM
42 
49 DEPRECATED(float Lfoldz(const char *string,
50  const char *structure,
51  int maxdist,
52  int zsc,
53  double min_z),
54  "Use vrna_Lfoldz() or vrna_Lfoldz_cb() instead");
55 #endif
56 
62 DEPRECATED(float aliLfold(const char **AS,
63  const char *structure,
64  int maxdist),
65  "Use vrna_aliLfold() or vrna_aliLfold_cb() instead");
66 
67 
74 DEPRECATED(float aliLfold_cb(const char **AS,
75  int maxdist,
77  void *data),
78  "Use vrna_aliLfold() or vrna_aliLfold_cb() instead");
79 
80 
81 #endif
82 
83 #endif
float Lfold(const char *string, const char *structure, int maxdist)
The local analog to fold().
Compute local Minimum Free Energy (MFE) using a sliding window approach and backtrace corresponding s...
void( vrna_mfe_window_callback)(int start, int end, const char *structure, float en, void *data)
The default callback for sliding window MFE structure predictions.
Definition: mfe_window.h:60
float Lfoldz(const char *string, const char *structure, int maxdist, int zsc, double min_z)