RNAlib-2.2.7
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 
29 /* write PostScript drawing of structure to file with annotation */
30 int PS_rna_plot_snoop_a(char *string,
31  char *structure,
32  char *ssfile,
33  int *relative_access,
34  const char *seqs[]);
35 
49 int vrna_file_PS_rnaplot( const char *seq,
50  const char *structure,
51  const char *file,
52  vrna_md_t *md_p);
53 
73 int vrna_file_PS_rnaplot_a( const char *seq,
74  const char *structure,
75  const char *file,
76  const char *pre,
77  const char *post,
78  vrna_md_t *md_p);
79 
92 int gmlRNA( char *string,
93  char *structure,
94  char *ssfile,
95  char option);
96 
107 int ssv_rna_plot( char *string,
108  char *structure,
109  char *ssfile);
110 
119 int svg_rna_plot( char *string,
120  char *structure,
121  char *ssfile);
122 
131 int xrna_plot(char *string,
132  char *structure,
133  char *ssfile);
134 
135 #ifdef VRNA_BACKWARD_COMPAT
136 
142 DEPRECATED(int PS_rna_plot(char *string, char *structure, char *file));
143 
150 DEPRECATED(int PS_rna_plot_a(char *string, char *structure, char *file, char *pre, char *post));
151 
158 DEPRECATED(int PS_rna_plot_a_gquad(char *string, char *structure, char *ssfile, char *pre, char *post));
159 
160 #endif
161 
166 #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 'filename'.
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 'filename'.
The data structure that contains the complete model details used throughout the calculations.
Definition: model.h:187
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.