RNAlib-2.3.1
plot_structure.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_PLOT_STRUCTURE_H
2 #define VIENNA_RNA_PACKAGE_PLOT_STRUCTURE_H
3 
4 #include <ViennaRNA/model.h>
6 
7 #ifdef DEPRECATION_WARNINGS
8 # ifdef __GNUC__
9 # define DEPRECATED(func) func __attribute__ ((deprecated))
10 # else
11 # define DEPRECATED(func) func
12 # endif
13 #else
14 # define DEPRECATED(func) func
15 #endif
16 
17 /* make this interface backward compatible with RNAlib < 2.2.0 */
18 #define VRNA_BACKWARD_COMPAT
19 
31 /* write PostScript drawing of structure to file with annotation */
32 int PS_rna_plot_snoop_a(char *string,
33  char *structure,
34  char *ssfile,
35  int *relative_access,
36  const char *seqs[]);
37 
51 int vrna_file_PS_rnaplot( const char *seq,
52  const char *structure,
53  const char *file,
54  vrna_md_t *md_p);
55 
75 int vrna_file_PS_rnaplot_a( const char *seq,
76  const char *structure,
77  const char *file,
78  const char *pre,
79  const char *post,
80  vrna_md_t *md_p);
81 
94 int gmlRNA( char *string,
95  char *structure,
96  char *ssfile,
97  char option);
98 
109 int ssv_rna_plot( char *string,
110  char *structure,
111  char *ssfile);
112 
121 int svg_rna_plot( char *string,
122  char *structure,
123  char *ssfile);
124 
133 int xrna_plot(char *string,
134  char *structure,
135  char *ssfile);
136 
137 #ifdef VRNA_BACKWARD_COMPAT
138 
144 DEPRECATED(int PS_rna_plot(char *string, char *structure, char *file));
145 
152 DEPRECATED(int PS_rna_plot_a(char *string, char *structure, char *file, char *pre, char *post));
153 
160 DEPRECATED(int PS_rna_plot_a_gquad(char *string, char *structure, char *ssfile, char *pre, char *post));
161 
162 #endif
163 
168 #endif
int PS_rna_plot_a_gquad(char *string, char *structure, char *ssfile, char *pre, char *post)
Produce a secondary structure graph in PostScript including additional annotation macros and write it...
The model details data structure and its corresponding modifiers.
int vrna_file_PS_rnaplot(const char *seq, const char *structure, const char *file, vrna_md_t *md_p)
Produce a secondary structure graph in PostScript and write it to &#39;filename&#39;.
int ssv_rna_plot(char *string, char *structure, char *ssfile)
Produce a secondary structure graph in SStructView format.
int vrna_file_PS_rnaplot_a(const char *seq, const char *structure, const char *file, const char *pre, const char *post, vrna_md_t *md_p)
Produce a secondary structure graph in PostScript including additional annotation macros and write it...
Secondary structure plot layout algorithms.
int PS_rna_plot(char *string, char *structure, char *file)
Produce a secondary structure graph in PostScript and write it to &#39;filename&#39;.
The data structure that contains the complete model details used throughout the calculations.
Definition: model.h:191
int svg_rna_plot(char *string, char *structure, char *ssfile)
Produce a secondary structure plot in SVG format and write it to a file.
int PS_rna_plot_a(char *string, char *structure, char *file, char *pre, char *post)
Produce a secondary structure graph in PostScript including additional annotation macros and write it...
int gmlRNA(char *string, char *structure, char *ssfile, char option)
Produce a secondary structure graph in Graph Meta Language (gml) and write it to a file...
int xrna_plot(char *string, char *structure, char *ssfile)
Produce a secondary structure plot for further editing in XRNA.