1#ifndef VIENNA_RNA_PACKAGE_MFE_WINDOW_H
2#define VIENNA_RNA_PACKAGE_MFE_WINDOW_H
8#include <ViennaRNA/zscore.h>
11#ifdef VRNA_WARN_DEPRECATED
12# if defined(DEPRECATED)
15# if defined(__clang__)
16# define DEPRECATED(func, msg) func __attribute__ ((deprecated("", msg)))
17# elif defined(__GNUC__)
18# define DEPRECATED(func, msg) func __attribute__ ((deprecated(msg)))
20# define DEPRECATED(func, msg) func
23# define DEPRECATED(func, msg) func
82 const char *structure,
86DEPRECATED(
typedef void (vrna_mfe_window_callback)(
int start,
88 const char *structure,
91 "Use vrna_mfe_window_f instead!");
96typedef void (*vrna_mfe_window_zscore_f)(
int start,
98 const char *structure,
103DEPRECATED(
typedef void (vrna_mfe_window_zscore_callback)(
int start,
105 const char *structure,
109 "Use vrna_mfe_window_zscore_f instead!");
188 vrna_mfe_window_zscore_f cb,
229vrna_Lfold_cb(
const char *
string,
268vrna_Lfoldz_cb(
const char *
string,
271 vrna_mfe_window_zscore_f cb,
277float vrna_aliLfold(
const char **alignment,
282float vrna_aliLfold_cb(
const char **alignment,
The Basic Fold Compound API.
The most basic data structure required by many functions throughout the RNAlib.
Definition fold_compound.h:168
float vrna_Lfoldz(const char *string, int window_size, double min_z, FILE *file)
Local MFE prediction using a sliding window approach with z-score cut-off (simplified interface)
float vrna_Lfold(const char *string, int window_size, FILE *file)
Local MFE prediction using a sliding window approach (simplified interface)
float vrna_mfe_window_zscore(vrna_fold_compound_t *fc, double min_z, FILE *file)
Local MFE prediction using a sliding window approach (with z-score cut-off)
float vrna_mfe_window(vrna_fold_compound_t *fc, FILE *file)
Local MFE prediction using a sliding window approach.
void(* vrna_mfe_window_f)(int start, int end, const char *structure, float en, void *data)
The default callback for sliding window MFE structure predictions.
Definition mfe_window.h:80