NCBI C Toolkit Cross Reference

C/tools/bxmlobj.h


  1 #ifndef _bxmlobj_ 
  2 #define _bxmlobj_ 
  3 
  4 #undef NLM_EXTERN
  5 #ifdef NLM_IMPORT
  6 #define NLM_EXTERN NLM_IMPORT
  7 #else
  8 #define NLM_EXTERN extern
  9 #endif
 10 
 11 
 12 #ifdef __cplusplus
 13 extern "C" { /* } */
 14 #endif
 15 
 16 
 17 /**************************************************
 18 *
 19 *    Generated objects for Module NCBI-BlastOutput
 20 *    Generated using ASNCODE Revision: 6.16 at Sep 15, 2006  1:53 PM
 21 *
 22 **************************************************/
 23 
 24 NLM_EXTERN Boolean LIBCALL
 25 bxmlobjAsnLoad PROTO((void));
 26 
 27 
 28 /**************************************************
 29 *
 30 *    BlastOutput
 31 *
 32 **************************************************/
 33 typedef struct struct_BlastOutput {
 34    Uint4 OBbits__;
 35    CharPtr   program;
 36    CharPtr   version;
 37    CharPtr   reference;
 38    CharPtr   db;
 39    CharPtr   query_ID;
 40    CharPtr   query_def;
 41    Int4   query_len;
 42    CharPtr   query_seq;
 43    struct struct_Parameters PNTR   param;
 44    struct struct_Iteration PNTR   iterations;
 45    struct struct_Statistics PNTR   mbstat;
 46 } BlastOutput, PNTR BlastOutputPtr;
 47 
 48 
 49 NLM_EXTERN BlastOutputPtr LIBCALL BlastOutputFree PROTO ((BlastOutputPtr ));
 50 NLM_EXTERN BlastOutputPtr LIBCALL BlastOutputNew PROTO (( void ));
 51 NLM_EXTERN BlastOutputPtr LIBCALL BlastOutputAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
 52 NLM_EXTERN Boolean LIBCALL BlastOutputAsnWrite PROTO (( BlastOutputPtr , AsnIoPtr, AsnTypePtr));
 53 
 54 
 55 
 56 /**************************************************
 57 *
 58 *    Parameters
 59 *
 60 **************************************************/
 61 typedef struct struct_Parameters {
 62    Uint4 OBbits__;
 63    CharPtr   matrix;
 64    FloatHi   expect;
 65 #define OB__Parameters_include 0
 66 
 67    FloatHi   include;
 68 #define OB__Parameters_sc_match 1
 69 
 70    Int4   sc_match;
 71 #define OB__Parameters_sc_mismatch 2
 72 
 73    Int4   sc_mismatch;
 74    Int4   gap_open;
 75    Int4   gap_extend;
 76    CharPtr   filter;
 77    CharPtr   pattern;
 78    CharPtr   entrez_query;
 79 } Parameters, PNTR ParametersPtr;
 80 
 81 
 82 NLM_EXTERN ParametersPtr LIBCALL ParametersFree PROTO ((ParametersPtr ));
 83 NLM_EXTERN ParametersPtr LIBCALL ParametersNew PROTO (( void ));
 84 NLM_EXTERN ParametersPtr LIBCALL ParametersAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
 85 NLM_EXTERN Boolean LIBCALL ParametersAsnWrite PROTO (( ParametersPtr , AsnIoPtr, AsnTypePtr));
 86 
 87 
 88 
 89 /**************************************************
 90 *
 91 *    Iteration
 92 *
 93 **************************************************/
 94 typedef struct struct_Iteration {
 95    struct struct_Iteration PNTR next;
 96    Uint4 OBbits__;
 97    Int4   iter_num;
 98    CharPtr   query_ID;
 99    CharPtr   query_def;
100 #define OB__Iteration_query_len 0
101 
102    Int4   query_len;
103    struct struct_Hit PNTR   hits;
104    struct struct_Statistics PNTR   stat;
105    CharPtr   message;
106 } Iteration, PNTR IterationPtr;
107 
108 
109 NLM_EXTERN IterationPtr LIBCALL IterationFree PROTO ((IterationPtr ));
110 NLM_EXTERN IterationPtr LIBCALL IterationNew PROTO (( void ));
111 NLM_EXTERN IterationPtr LIBCALL IterationAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
112 NLM_EXTERN Boolean LIBCALL IterationAsnWrite PROTO (( IterationPtr , AsnIoPtr, AsnTypePtr));
113 
114 
115 
116 /**************************************************
117 *
118 *    Statistics
119 *
120 **************************************************/
121 typedef struct struct_Statistics {
122    Uint4 OBbits__;
123    Int4   db_num;
124    Int8   db_len;
125    Int4   hsp_len;
126    FloatHi   eff_space;
127    FloatHi   kappa;
128    FloatHi   lambda;
129    FloatHi   entropy;
130 } Statistics, PNTR StatisticsPtr;
131 
132 
133 NLM_EXTERN StatisticsPtr LIBCALL StatisticsFree PROTO ((StatisticsPtr ));
134 NLM_EXTERN StatisticsPtr LIBCALL StatisticsNew PROTO (( void ));
135 NLM_EXTERN StatisticsPtr LIBCALL StatisticsAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
136 NLM_EXTERN Boolean LIBCALL StatisticsAsnWrite PROTO (( StatisticsPtr , AsnIoPtr, AsnTypePtr));
137 
138 
139 
140 /**************************************************
141 *
142 *    Hit
143 *
144 **************************************************/
145 typedef struct struct_Hit {
146    struct struct_Hit PNTR next;
147    Uint4 OBbits__;
148    Int4   num;
149    CharPtr   id;
150    CharPtr   def;
151    CharPtr   accession;
152    Int4   len;
153    struct struct_Hsp PNTR   hsps;
154 } Hit, PNTR HitPtr;
155 
156 
157 NLM_EXTERN HitPtr LIBCALL HitFree PROTO ((HitPtr ));
158 NLM_EXTERN HitPtr LIBCALL HitNew PROTO (( void ));
159 NLM_EXTERN HitPtr LIBCALL HitAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
160 NLM_EXTERN Boolean LIBCALL HitAsnWrite PROTO (( HitPtr , AsnIoPtr, AsnTypePtr));
161 
162 
163 
164 /**************************************************
165 *
166 *    Hsp
167 *
168 **************************************************/
169 typedef struct struct_Hsp {
170    struct struct_Hsp PNTR next;
171    Uint4 OBbits__;
172    Int4   num;
173    FloatHi   bit_score;
174    FloatHi   score;
175    FloatHi   evalue;
176    Int4   query_from;
177    Int4   query_to;
178    Int4   hit_from;
179    Int4   hit_to;
180 #define OB__Hsp_pattern_from 0
181 
182    Int4   pattern_from;
183 #define OB__Hsp_pattern_to 1
184 
185    Int4   pattern_to;
186 #define OB__Hsp_query_frame 2
187 
188    Int4   query_frame;
189 #define OB__Hsp_hit_frame 3
190 
191    Int4   hit_frame;
192 #define OB__Hsp_identity 4
193 
194    Int4   identity;
195 #define OB__Hsp_positive 5
196 
197    Int4   positive;
198 #define OB__Hsp_gaps 6
199 
200    Int4   gaps;
201 #define OB__Hsp_align_len 7
202 
203    Int4   align_len;
204 #define OB__Hsp_density 8
205 
206    Int4   density;
207    CharPtr   qseq;
208    CharPtr   hseq;
209    CharPtr   midline;
210 } Hsp, PNTR HspPtr;
211 
212 
213 NLM_EXTERN HspPtr LIBCALL HspFree PROTO ((HspPtr ));
214 NLM_EXTERN HspPtr LIBCALL HspNew PROTO (( void ));
215 NLM_EXTERN HspPtr LIBCALL HspAsnRead PROTO (( AsnIoPtr, AsnTypePtr));
216 NLM_EXTERN Boolean LIBCALL HspAsnWrite PROTO (( HspPtr , AsnIoPtr, AsnTypePtr));
217 
218 #ifdef __cplusplus
219 /* { */ }
220 #endif
221 
222 #endif /* _bxmlobj_ */
223 
224 #undef NLM_EXTERN
225 #ifdef NLM_EXPORT
226 #define NLM_EXTERN NLM_EXPORT
227 #else
228 #define NLM_EXTERN
229 #endif
230 
231 

source navigation ]   [ diff markup ]   [ identifier search ]   [ freetext search ]   [ file search ]  

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.