RNAlib-2.4.11
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 #define RNA_UP_MODE_1 1U
7 #define RNA_UP_MODE_2 2U
8 #define RNA_UP_MODE_3 4U
9 
59 pu_contrib *pf_unstru(char *sequence,
60  int max_w);
61 
104 interact *pf_interact(const char *s1,
105  const char *s2,
106  pu_contrib *p_c,
107  pu_contrib *p_c2,
108  int max_w,
109  char *cstruc,
110  int incr3,
111  int incr5);
112 
116 void free_interact(interact *pin);
117 
121 int Up_plot(pu_contrib *p_c,
122  pu_contrib *p_c_sh,
123  interact *pint,
124  char *ofile,
125  int **unpaired_values,
126  char *select_contrib,
127  char *head,
128  unsigned int mode);
129 
133 pu_contrib *get_pu_contrib_struct( unsigned int n,
134  unsigned int w);
135 
140 
141 void
142 free_pu_contrib(pu_contrib *pu);
143 
148 #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.