RNAlib-2.4.14
RNApuzzler.h
Go to the documentation of this file.
1 #ifndef RNAPUZZLER_H
2 #define RNAPUZZLER_H
3 
20 typedef 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 
87 int
88 vrna_plot_coords_puzzler(const char *structure,
89  float **x,
90  float **y,
91  double **arc_coords,
93 
94 
115 int
116 vrna_plot_coords_puzzler_pt(short const *const pair_table,
117  float **x,
118  float **y,
119  double **arc_coords,
120  vrna_plot_options_puzzler_t *puzzler);
121 
122 
133 
134 
143 void
145 
146 
152 #endif
vrna_plot_options_puzzler_t * vrna_plot_options_puzzler(void)
Create 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 ...
void vrna_plot_options_puzzler_free(vrna_plot_options_puzzler_t *options)
Free memory occupied by an RNApuzzler options data structure.
Options data structure for RNApuzzler algorithm implementation.
Definition: RNApuzzler.h:20
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 ...
int unpaired
contains the number of unpaired bases.