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
81 const char *structure,
85DEPRECATED(
typedef void (vrna_mfe_window_callback)(
int start,
87 const char *structure,
90 "Use vrna_mfe_window_f instead!");
95typedef void (*vrna_mfe_window_zscore_f)(
int start,
97 const char *structure,
102DEPRECATED(
typedef void (vrna_mfe_window_zscore_callback)(
int start,
104 const char *structure,
108 "Use vrna_mfe_window_zscore_f instead!");
187 vrna_mfe_window_zscore_f cb,
228vrna_Lfold_cb(
const char *
string,
267vrna_Lfoldz_cb(
const char *
string,
270 vrna_mfe_window_zscore_f cb,
276float vrna_aliLfold(
const char **alignment,
281float 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:156
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(vrna_fold_compound_t *vc, FILE *file)
Local MFE prediction using a sliding window approach.
float vrna_mfe_window_zscore(vrna_fold_compound_t *vc, double min_z, FILE *file)
Local MFE prediction using a sliding window approach (with z-score cut-off)
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:79