RNAlib-2.5.1
RNApuzzler.h
Go to the documentation of this file.
1#ifndef RNAPUZZLER_H
2#define RNAPUZZLER_H
3
20typedef struct {
21 /*
22 * variables fixed during operation
23 * drawing behavior
24 */
25 short drawArcs;
26 double paired;
27 double unpaired;
28
29 /* intersection resolution behavior */
30 short checkAncestorIntersections;
31 short checkSiblingIntersections;
32 short checkExteriorIntersections;
33 short allowFlipping;
34 short optimize;
35 int maximumNumberOfConfigChangesAllowed;
36
37
38 /* import behavior - unused for now */
39 char *config; /* file path */
40
41 /* other stuff */
42 const char *filename;
43
44 /* variables changed during operation */
45 int numberOfChangesAppliedToConfig;
46 int psNumber;
48
49
87int
88vrna_plot_coords_puzzler(const char *structure,
89 float **x,
90 float **y,
91 double **arc_coords,
93
94
115int
116vrna_plot_coords_puzzler_pt(short const *const pair_table,
117 float **x,
118 float **y,
119 double **arc_coords,
121
122
133
134
143void
145
146
152#endif
vrna_plot_options_puzzler_t * vrna_plot_options_puzzler(void)
Create an RNApuzzler options data structure.
void vrna_plot_options_puzzler_free(vrna_plot_options_puzzler_t *options)
Free memory occupied by an RNApuzzler options data structure.
int vrna_plot_coords_puzzler_pt(short const *const pair_table, float **x, float **y, double **arc_coords, vrna_plot_options_puzzler_t *puzzler)
Compute nucleotide coordinates for secondary structure plot using the RNApuzzler algorithm .
int vrna_plot_coords_puzzler(const char *structure, float **x, float **y, double **arc_coords, vrna_plot_options_puzzler_t *options)
Compute nucleotide coordinates for secondary structure plot using the RNApuzzler algorithm .
Options data structure for RNApuzzler algorithm implementation.
Definition: RNApuzzler.h:20
int unpaired
contains the number of unpaired bases.