RNAlib-2.0.4
H/PS_dot.h
Go to the documentation of this file.
00001 #ifndef __VIENNA_RNA_PACKAGE_PS_DOT_H__
00002 #define __VIENNA_RNA_PACKAGE_PS_DOT_H__
00003 
00004 #include "data_structures.h"
00005 #include "plot_layouts.h"
00006 
00007 #ifdef __GNUC__
00008 #define DEPRECATED(func) func __attribute__ ((deprecated))
00009 #else
00010 #define DEPRECATED(func) func
00011 #endif
00012 
00019 /* write PostScript drawing of structure to file with annotation */
00020 int PS_rna_plot_snoop_a(char *string,
00021                         char *structure,
00022                         char *ssfile,
00023                         int *relative_access,
00024                         const char *seqs[]);
00025 
00038 int PS_rna_plot(char *string,
00039                 char *structure,
00040                 char *file);
00041 
00060 int PS_rna_plot_a(char *string,
00061                   char *structure,
00062                   char *file,
00063                   char *pre,
00064                   char *post);
00065 
00078 int gmlRNA( char *string,
00079             char *structure,
00080             char *ssfile,
00081             char option);
00082 
00093 int ssv_rna_plot( char *string,
00094                   char *structure,
00095                   char *ssfile);
00096 
00105 int svg_rna_plot( char *string,
00106                   char *structure,
00107                   char *ssfile);
00108 
00117 int xrna_plot(char *string,
00118               char *structure,
00119               char *ssfile);
00120 
00121 
00122 int PS_color_dot_plot(char *string,
00123                       cpair *pi,
00124                       char *filename);
00125 
00126 int PS_color_dot_plot_turn( char *seq,
00127                             cpair *pi,
00128                             char *filename,
00129                             int winSize);
00130 
00150 int PS_dot_plot_list( char *seq,
00151                       char *filename,
00152                       plist *pl,
00153                       plist *mf,
00154                       char *comment);
00155 
00156 int PS_dot_plot_turn( char *seq,
00157                       struct plist *pl,
00158                       char *filename,
00159                       int winSize);
00160 
00161 int PS_color_aln( const char *structure,
00162                   const char *filename,
00163                   const char *seqs[],
00164                   const char *names[]);
00165 
00169 int aliPS_color_aln(const char *structure,
00170                     const char *filename, 
00171                     const char *seqs[],
00172                     const char *names[]); 
00173 
00174 
00190 DEPRECATED(int PS_dot_plot( char *string,
00191                             char *file));
00192 #endif