RNAlib-2.5.1
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
61pu_contrib *pf_unstru(char *sequence,
62 int max_w);
63
106interact *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
119
123int 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
135pu_contrib *get_pu_contrib_struct( unsigned int n,
136 unsigned int w);
137
142
143void
144free_pu_contrib(pu_contrib *pu);
145
150#endif
151
152#endif
Various data structures and pre-processor macros.
interaction data structure for RNAup
Definition: basic.h:170
contributions to p_u
Definition: basic.h:158
pu_contrib * pf_unstru(char *sequence, int max_w)
Calculate the partition function over all unpaired regions of a maximal length.
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.
void free_pu_contrib_struct(pu_contrib *pu)
Frees the output of function pf_unstru().
void free_interact(interact *pin)
Frees the output of function pf_interact().