RNAlib-2.0.4
H/RNAstruct.h
Go to the documentation of this file.
00001 #ifndef __VIENNA_RNA_PACKAGE_RNASTRUCT_H__
00002 #define __VIENNA_RNA_PACKAGE_RNASTRUCT_H__
00003 
00024 #define STRUC     2000
00025 
00033 char *b2HIT(const char *structure);             /* Full   -> HIT    [incl. root] */
00034 
00042 char *b2C(const char *structure);               /* Full   -> Coarse [incl. root] */
00043 
00052 char *b2Shapiro(const char *structure);         /* Full -> weighted Shapiro [i.r.] */
00053 
00060 char *add_root(const char *structure);                   /* {Tree} -> ({Tree}R)          */
00061 
00069 char  *expand_Shapiro(const char *coarse);
00070 
00071 /* add S for stacks to coarse struct */
00079 char  *expand_Full(const char *structure);      /* Full   -> FFull         */
00080 
00088 char  *unexpand_Full(const char *ffull);        /* FFull  -> Full          */
00089 
00096 char  *unweight(const char *wcoarse);           /* remove weights from coarse struct */
00097 
00107 void   unexpand_aligned_F(char *align[2]);
00108 
00119 void   parse_structure(const char *structure);  /* make structure statistics */
00120 
00125 extern int    loop_size[STRUC];       /* loop sizes of a structure */
00126 
00130 extern int    helix_size[STRUC];      /* helix sizes of a structure */
00131 
00135 extern int    loop_degree[STRUC];     /* loop degrees of a structure */
00136 
00140 extern int    loops;                  /* n of loops and stacks */
00141 
00145 extern int    unpaired;
00146 
00150 extern int    pairs;        /* n of unpaired digits and pairs */
00151 
00152 #endif