RNAlib-2.2.9

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

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
13 /* make this interface backward compatible with RNAlib < 2.2.0 */
14 #define VRNA_BACKWARD_COMPAT
15
16 /* below are several convenience typedef's we use throughout the ViennaRNA library */
17
21 typedef struct vrna_path_s vrna_path_t;
22
23
24 #ifdef VRNA_BACKWARD_COMPAT
25
26 /* the following typedefs are for backward compatibility only */
27
32 typedef struct vrna_path_s path_t;
33
34 #endif
35
36 #include <ViennaRNA/data_structures.h>
37
42 struct vrna_path_s {
43 double en;
44 char *s;
45 };
46
47
70 int vrna_path_findpath_saddle(vrna_fold_compound_t *vc,
71 const char *struc1,
72 const char *struc2,
73 int max);
74
97 vrna_path_t *vrna_path_findpath(vrna_fold_compound_t *vc,
98 const char *s1,
99 const char* s2,
100 int maxkeep);
101
102 #ifdef VRNA_BACKWARD_COMPAT
103
116 int find_saddle(const char *seq,
117 const char *struc1,
118 const char *struc2,
119 int max);
125 void free_path(vrna_path_t *path);
126
139 vrna_path_t *get_path(const char *seq,
140 const char *s1,
141 const char* s2,
142 int maxkeep);
143
144 #endif
145
150 #endif
free_path
void free_path(vrna_path_t *path)
Free memory allocated by get_path() function.
vrna_path_s::s
char * s
Secondary structure in dot-bracket notation.
Definition: findpath.h:44
vrna_fc_s
The most basic data structure required by many functions throughout the RNAlib.
Definition: data_structures.h:424
vrna_path_findpath
vrna_path_t * vrna_path_findpath(vrna_fold_compound_t *vc, const char *s1, const char *s2, int maxkeep)
Find refolding path between 2 structures (search only direct path)
vrna_path_s
An element of a refolding path list.
Definition: findpath.h:42
get_path
vrna_path_t * get_path(const char *seq, const char *s1, const char *s2, int maxkeep)
Find refolding path between 2 structures (search only direct path)
data_structures.h
vrna_path_s::en
double en
Free energy of current structure.
Definition: findpath.h:43
find_saddle
int find_saddle(const char *seq, const char *struc1, const char *struc2, int max)
Find energy of a saddle point between 2 structures (search only direct path)
vrna_path_findpath_saddle
int vrna_path_findpath_saddle(vrna_fold_compound_t *vc, const char *struc1, const char *struc2, int max)
Find energy of a saddle point between 2 structures (search only direct path)