RNAlib-2.4.12
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 
40 
45 struct vrna_path_s {
46  double en;
47  char *s;
48 };
49 
50 
72 int
74  const char *s1,
75  const char *s2,
76  int width);
77 
78 
105 int
107  const char *s1,
108  const char *s2,
109  int width,
110  int maxE);
111 
112 
134 vrna_path_t *
136  const char *s1,
137  const char *s2,
138  int width);
139 
140 
168 vrna_path_t *
170  const char *s1,
171  const char *s2,
172  int width,
173  int maxE);
174 
175 
176 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
177 
190 int
191 find_saddle(const char *seq,
192  const char *s1,
193  const char *s2,
194  int width);
195 
196 
202 void
203 free_path(vrna_path_t *path);
204 
205 
218 vrna_path_t *
219 get_path(const char *seq,
220  const char *s1,
221  const char *s2,
222  int width);
223 
224 
225 #endif
226 
231 #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:47
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:45
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:46
The Basic Fold Compound API.
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)