RNAlib-2.1.9
RNAstruct.h
Go to the documentation of this file.
1 #ifndef __VIENNA_RNA_PACKAGE_RNASTRUCT_H__
2 #define __VIENNA_RNA_PACKAGE_RNASTRUCT_H__
3 
24 #define STRUC 2000
25 
33 char *b2HIT(const char *structure); /* Full -> HIT [incl. root] */
34 
42 char *b2C(const char *structure); /* Full -> Coarse [incl. root] */
43 
52 char *b2Shapiro(const char *structure); /* Full -> weighted Shapiro [i.r.] */
53 
60 char *add_root(const char *structure); /* {Tree} -> ({Tree}R) */
61 
69 char *expand_Shapiro(const char *coarse);
70 
71 /* add S for stacks to coarse struct */
79 char *expand_Full(const char *structure); /* Full -> FFull */
80 
88 char *unexpand_Full(const char *ffull); /* FFull -> Full */
89 
96 char *unweight(const char *wcoarse); /* remove weights from coarse struct */
97 
107 void unexpand_aligned_F(char *align[2]);
108 
119 void parse_structure(const char *structure); /* make structure statistics */
120 
125 extern int loop_size[STRUC]; /* loop sizes of a structure */
126 
130 extern int helix_size[STRUC]; /* helix sizes of a structure */
131 
135 extern int loop_degree[STRUC]; /* loop degrees of a structure */
136 
140 extern int loops; /* n of loops and stacks */
141 
145 extern int unpaired;
146 
150 extern int pairs; /* n of unpaired digits and pairs */
151 
152 #endif