RNAlib-2.4.14
part_func_up.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_PART_FUNC_UP_H
2 #define VIENNA_RNA_PACKAGE_PART_FUNC_UP_H
3 
5 
6 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
7 
8 #define RNA_UP_MODE_1 1U
9 #define RNA_UP_MODE_2 2U
10 #define RNA_UP_MODE_3 4U
11 
61 pu_contrib *pf_unstru(char *sequence,
62  int max_w);
63 
106 interact *pf_interact(const char *s1,
107  const char *s2,
108  pu_contrib *p_c,
109  pu_contrib *p_c2,
110  int max_w,
111  char *cstruc,
112  int incr3,
113  int incr5);
114 
118 void free_interact(interact *pin);
119 
123 int Up_plot(pu_contrib *p_c,
124  pu_contrib *p_c_sh,
125  interact *pint,
126  char *ofile,
127  int **unpaired_values,
128  char *select_contrib,
129  char *head,
130  unsigned int mode);
131 
135 pu_contrib *get_pu_contrib_struct( unsigned int n,
136  unsigned int w);
137 
142 
143 void
144 free_pu_contrib(pu_contrib *pu);
145 
150 #endif
151 
152 #endif
interact * pf_interact(const char *s1, const char *s2, pu_contrib *p_c, pu_contrib *p_c2, int max_w, char *cstruc, int incr3, int incr5)
Calculates the probability of a local interaction between two sequences.
contributions to p_u
Definition: basic.h:158
Various data structures and pre-processor macros.
interaction data structure for RNAup
Definition: basic.h:170
void free_interact(interact *pin)
Frees the output of function pf_interact().
void free_pu_contrib_struct(pu_contrib *pu)
Frees the output of function pf_unstru().
pu_contrib * pf_unstru(char *sequence, int max_w)
Calculate the partition function over all unpaired regions of a maximal length.