RNAlib-2.2.8
subopt.h
Go to the documentation of this file.
1 /* subopt.h */
2 #ifndef VIENNA_RNA_PACKAGE_SUBOPT_H
3 #define VIENNA_RNA_PACKAGE_SUBOPT_H
4 
5 #ifdef DEPRECATION_WARNINGS
6 # ifdef __GNUC__
7 # define DEPRECATED(func) func __attribute__ ((deprecated))
8 # else
9 # define DEPRECATED(func) func
10 # endif
11 #else
12 # define DEPRECATED(func) func
13 #endif
14 
24 #define VRNA_BACKWARD_COMPAT
25 
30 
31 #ifdef VRNA_BACKWARD_COMPAT
32 
37 typedef struct vrna_subopt_sol_s SOLUTION;
38 
39 #endif
40 
42 #include <ViennaRNA/params.h>
43 
44 
49  float energy;
50  char *structure;
51 };
52 
56 #define MAXDOS 1000
57 
85  int delta,
86  int sorted,
87  FILE *fp);
88 
115 
122 extern double print_energy;
123 
130 extern int subopt_sorted;
131 
148 extern int density_of_states[MAXDOS+1];
149  /* End of group dos */
151 
152 #ifdef VRNA_BACKWARD_COMPAT
153 
171 DEPRECATED(SOLUTION *subopt (char *seq, char *structure, int delta, FILE *fp));
172 
178 DEPRECATED(SOLUTION *subopt_par(char *seq, char *structure, vrna_param_t *parameters, int delta, int is_constrained, int is_circular, FILE *fp));
179 
194 DEPRECATED(SOLUTION *subopt_circ(char *seq, char *sequence, int delta, FILE *fp));
195 
210 DEPRECATED(SOLUTION *zukersubopt(const char *string));
211 
220 DEPRECATED(SOLUTION *zukersubopt_par(const char *string, vrna_param_t *parameters));
221 
222 
223 #endif
224 
225 #endif
double print_energy
printing threshold for use with logML
SOLUTION * zukersubopt_par(const char *string, vrna_param_t *parameters)
Compute Zuker type suboptimal structures.
Solution element from subopt.c.
Definition: subopt.h:48
SOLUTION * subopt_par(char *seq, char *structure, vrna_param_t *parameters, int delta, int is_constrained, int is_circular, FILE *fp)
Returns list of subopt structures or writes to fp.
The most basic data structure required by many functions throughout the RNAlib.
Definition: data_structures.h:390
int subopt_sorted
Sort output by energy.
The datastructure that contains temperature scaled energy parameters.
Definition: params.h:50
SOLUTION * zukersubopt(const char *string)
Compute Zuker type suboptimal structures.
char * structure
Structure in dot-bracket notation.
Definition: subopt.h:50
#define MAXDOS
Maximum density of states discretization for subopt.
Definition: subopt.h:56
SOLUTION * subopt(char *seq, char *structure, int delta, FILE *fp)
Returns list of subopt structures or writes to fp.
float energy
Free Energy of structure in kcal/mol.
Definition: subopt.h:49
vrna_subopt_solution_t * vrna_subopt(vrna_fold_compound_t *vc, int delta, int sorted, FILE *fp)
Returns list of subopt structures or writes to fp.
vrna_subopt_solution_t * vrna_subopt_zuker(vrna_fold_compound_t *vc)
Compute Zuker type suboptimal structures.
SOLUTION * subopt_circ(char *seq, char *sequence, int delta, FILE *fp)
Returns list of circular subopt structures or writes to fp.
int density_of_states[MAXDOS+1]
The Density of States.