RNAlib-2.6.3
 
Loading...
Searching...
No Matches
cofold.h
Go to the documentation of this file.
1#ifndef VIENNA_RNA_PACKAGE_COFOLD_H
2#define VIENNA_RNA_PACKAGE_COFOLD_H
3
6#include <ViennaRNA/mfe.h>
7
8#ifdef VRNA_WARN_DEPRECATED
9# if defined(__clang__)
10# define DEPRECATED(func, msg) func __attribute__ ((deprecated("", msg)))
11# elif defined(__GNUC__)
12# define DEPRECATED(func, msg) func __attribute__ ((deprecated(msg)))
13# else
14# define DEPRECATED(func, msg) func
15# endif
16#else
17# define DEPRECATED(func, msg) func
18#endif
19
26#ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
27
42DEPRECATED(float
43 cofold(const char *sequence,
44 char *structure),
45 "Use vrna_cofold() instead");
46
54DEPRECATED(float
55 cofold_par(const char *string,
56 char *structure,
57 vrna_param_t *parameters,
58 int is_constrained),
59 "Use the new API and vrna_mfe_dimer() instead");
60
73DEPRECATED(void
74 free_co_arrays(void),
75 "This function is obsolete");
76
83DEPRECATED(void
85 "This function is obsolete");
86
93DEPRECATED(void
95 "Use the new API with vrna_fold_compound_t instead");
96
97
119DEPRECATED(void
120 export_cofold_arrays_gq(int **f5_p,
121 int **c_p,
122 int **fML_p,
123 int **fM1_p,
124 int **fc_p,
125 int **ggg_p,
126 int **indx_p,
127 char **ptype_p),
128 "Use the new API with vrna_fold_compound_t instead");
129
150DEPRECATED(void
151 export_cofold_arrays(int **f5_p,
152 int **c_p,
153 int **fML_p,
154 int **fM1_p,
155 int **fc_p,
156 int **indx_p,
157 char **ptype_p),
158 "Use the new API with vrna_fold_compound_t instead");
159
160
167DEPRECATED(void
168 initialize_cofold(int length),
169 "This function is obsolete");
170
171#endif
172
173#endif
Various data structures and pre-processor macros.
The datastructure that contains temperature scaled energy parameters.
Definition basic.h:57
void update_cofold_params(void)
Recalculate parameters.
void export_cofold_arrays(int **f5_p, int **c_p, int **fML_p, int **fM1_p, int **fc_p, int **indx_p, char **ptype_p)
Export the arrays of partition function cofold.
void export_cofold_arrays_gq(int **f5_p, int **c_p, int **fML_p, int **fM1_p, int **fc_p, int **ggg_p, int **indx_p, char **ptype_p)
Export the arrays of partition function cofold (with gquadruplex support)
float cofold_par(const char *string, char *structure, vrna_param_t *parameters, int is_constrained)
Compute the minimum free energy of two interacting RNA molecules.
void update_cofold_params_par(vrna_param_t *parameters)
Recalculate parameters.
void free_co_arrays(void)
Free memory occupied by cofold()
float cofold(const char *sequence, char *structure)
Compute the minimum free energy of two interacting RNA molecules.
void initialize_cofold(int length)
Compute Minimum Free energy (MFE) and backtrace corresponding secondary structures from RNA sequence ...
Functions to deal with sets of energy parameters.