RNAlib-2.4.8
findpath.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_FIND_PATH_H
2 #define VIENNA_RNA_PACKAGE_FIND_PATH_H
3 
18 /* below are several convenience typedef's we use throughout the ViennaRNA library */
19 
23 typedef struct vrna_path_s vrna_path_t;
24 
25 
26 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
27 
28 /* the following typedefs are for backward compatibility only */
29 
34 typedef struct vrna_path_s path_t;
35 
36 #endif
37 
39 
44 struct vrna_path_s {
45  double en;
46  char *s;
47 };
48 
49 
72  const char *s1,
73  const char *s2,
74  int width);
75 
76 
104  const char *s1,
105  const char *s2,
106  int width,
107  int maxE);
108 
109 
132  const char *s1,
133  const char *s2,
134  int width);
135 
136 
165  const char *s1,
166  const char *s2,
167  int width,
168  int maxE);
169 
170 
171 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
172 
185 int find_saddle(const char *seq,
186  const char *s1,
187  const char *s2,
188  int width);
189 
190 
196 void free_path(vrna_path_t *path);
197 
198 
211 vrna_path_t *get_path(const char *seq,
212  const char *s1,
213  const char *s2,
214  int width);
215 
216 
217 #endif
218 
223 #endif
void free_path(vrna_path_t *path)
Free memory allocated by get_path() function.
char * s
Secondary structure in dot-bracket notation.
Definition: findpath.h:46
The most basic data structure required by many functions throughout the RNAlib.
Definition: fold_compound.h:132
int find_saddle(const char *seq, const char *s1, const char *s2, int width)
Find energy of a saddle point between 2 structures (search only direct path)
An element of a refolding path list.
Definition: findpath.h:44
Various data structures and pre-processor macros.
vrna_path_t * vrna_path_findpath(vrna_fold_compound_t *vc, const char *s1, const char *s2, int width)
Find refolding path between 2 structures (search only direct path)
int vrna_path_findpath_saddle_ub(vrna_fold_compound_t *vc, const char *s1, const char *s2, int width, int maxE)
Find energy of a saddle point between 2 structures (search only direct path)
double en
Free energy of current structure.
Definition: findpath.h:45
vrna_path_t * vrna_path_findpath_ub(vrna_fold_compound_t *vc, const char *s1, const char *s2, int width, int maxE)
Find refolding path between 2 structures (search only direct path)
vrna_path_t * get_path(const char *seq, const char *s1, const char *s2, int width)
Find refolding path between 2 structures (search only direct path)
int vrna_path_findpath_saddle(vrna_fold_compound_t *vc, const char *s1, const char *s2, int width)
Find energy of a saddle point between 2 structures (search only direct path)