summaryrefslogtreecommitdiff
path: root/network/id2arch/seqsplit.h
blob: 1a6dbde2884ef4649cbbdbefc2b2d07641b28520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
/***********************************************************************
*
**
*        Automatic header module from ASNTOOL
*
************************************************************************/

#ifndef _ASNTOOL_
#include <asn.h>
#endif

static char * asnfilename = "seqsplit.h13";
static AsnValxNode avnx[3] = {
    {3,NULL,1,0.0,NULL } ,
    {3,NULL,1,0.0,NULL } ,
    {3,NULL,1,0.0,NULL } };

static AsnType atx[109] = {
  {401, "ID2S-Chunk-Id" ,1,0,0,0,0,1,0,0,NULL,&atx[1],NULL,0,&atx[2]} ,
  {302, "INTEGER" ,0,2,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {402, "ID2S-Seq-annot-Info" ,1,0,0,0,0,1,0,0,NULL,&atx[15],&atx[3],0,&atx[39]} ,
  {0, "name" ,128,0,0,1,0,0,0,0,NULL,&atx[4],NULL,0,&atx[5]} ,
  {323, "VisibleString" ,0,26,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {0, "align" ,128,1,0,1,0,0,0,0,NULL,&atx[6],NULL,0,&atx[7]} ,
  {305, "NULL" ,0,5,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {0, "graph" ,128,2,0,1,0,0,0,0,NULL,&atx[6],NULL,0,&atx[8]} ,
  {0, "feat" ,128,3,0,1,0,0,0,0,NULL,&atx[14],&atx[9],0,&atx[16]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[10],NULL,0,NULL} ,
  {420, "ID2S-Feat-type-Info" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[11],0,&atx[17]} ,
  {0, "type" ,128,0,0,0,0,0,0,0,NULL,&atx[1],NULL,0,&atx[12]} ,
  {0, "subtypes" ,128,1,0,1,0,0,0,0,NULL,&atx[14],&atx[13],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[1],NULL,0,NULL} ,
  {314, "SET OF" ,0,17,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {311, "SEQUENCE" ,0,16,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {0, "seq-loc" ,128,4,0,1,0,0,0,0,NULL,&atx[17],NULL,0,NULL} ,
  {421, "ID2-Seq-loc" ,1,0,0,0,0,0,0,0,NULL,&atx[40],&atx[18],0,&atx[92]} ,
  {0, "gi-whole" ,128,0,0,0,0,0,0,0,NULL,&atx[1],NULL,0,&atx[19]} ,
  {0, "interval" ,128,1,0,0,0,0,0,0,NULL,&atx[20],NULL,0,&atx[24]} ,
  {424, "ID2-Interval" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[21],0,&atx[25]} ,
  {0, "gi" ,128,0,0,0,0,0,0,0,NULL,&atx[1],NULL,0,&atx[22]} ,
  {0, "start" ,128,1,0,0,0,0,0,0,NULL,&atx[1],NULL,0,&atx[23]} ,
  {0, "length" ,128,2,0,0,1,0,0,0,&avnx[0],&atx[1],NULL,0,NULL} ,
  {0, "packed-ints" ,128,2,0,0,0,0,0,0,NULL,&atx[25],NULL,0,&atx[32]} ,
  {425, "ID2-Packed-Seq-ints" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[26],0,&atx[29]} ,
  {0, "gi" ,128,0,0,0,0,0,0,0,NULL,&atx[1],NULL,0,&atx[27]} ,
  {0, "intervals" ,128,1,0,0,0,0,0,0,NULL,&atx[14],&atx[28],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[29],NULL,0,NULL} ,
  {426, "ID2-Seq-range" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[30],0,NULL} ,
  {0, "start" ,128,0,0,0,0,0,0,0,NULL,&atx[1],NULL,0,&atx[31]} ,
  {0, "length" ,128,1,0,0,1,0,0,0,&avnx[1],&atx[1],NULL,0,NULL} ,
  {0, "gi-whole-range" ,128,3,0,0,0,0,0,0,NULL,&atx[33],NULL,0,&atx[36]} ,
  {412, "ID2-Id-Range" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[34],0,&atx[55]} ,
  {0, "start" ,128,0,0,0,0,0,0,0,NULL,&atx[1],NULL,0,&atx[35]} ,
  {0, "count" ,128,1,0,0,1,0,0,0,&avnx[2],&atx[1],NULL,0,NULL} ,
  {0, "loc-set" ,128,4,0,0,0,0,0,0,NULL,&atx[14],&atx[37],0,&atx[38]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[17],NULL,0,NULL} ,
  {0, "seq-loc" ,128,5,0,0,0,0,0,0,NULL,&atx[39],NULL,0,NULL} ,
  {403, "Seq-loc" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[41]} ,
  {315, "CHOICE" ,0,-1,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {404, "Seq-annot" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[42]} ,
  {405, "Seq-descr" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[43]} ,
  {406, "Seq-literal" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[44]} ,
  {407, "Seq-align" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[45]} ,
  {408, "ID2S-Split-Info" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[46],0,&atx[48]} ,
  {0, "bioseqs-info" ,128,0,0,1,0,0,0,0,NULL,&atx[14],&atx[47],0,&atx[62]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[48],NULL,0,NULL} ,
  {409, "ID2S-Bioseqs-Info" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[49],0,&atx[64]} ,
  {0, "info" ,128,0,0,0,0,0,0,0,NULL,&atx[50],NULL,0,&atx[61]} ,
  {411, "ID2S-Bioseq-Info" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[51],0,&atx[33]} ,
  {0, "gap-count" ,128,0,0,1,0,0,0,0,NULL,&atx[1],NULL,0,&atx[52]} ,
  {0, "seq-map-has-ref" ,128,1,0,1,0,0,0,0,NULL,&atx[53],NULL,0,&atx[54]} ,
  {301, "BOOLEAN" ,0,1,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {0, "sequence-split" ,128,2,0,1,0,0,0,0,NULL,&atx[55],NULL,0,NULL} ,
  {413, "ID2S-Sequence-Split-Info" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[56],0,&atx[68]} ,
  {0, "block-size" ,128,0,0,0,0,0,0,0,NULL,&atx[1],NULL,0,&atx[57]} ,
  {0, "chunk-start" ,128,1,0,0,0,0,0,0,NULL,&atx[0],NULL,0,&atx[58]} ,
  {0, "chunk-blocks" ,128,2,0,0,0,0,0,0,NULL,&atx[60],&atx[59],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[1],NULL,0,NULL} ,
  {312, "SEQUENCE OF" ,0,16,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} ,
  {0, "bioseqs" ,128,1,0,0,0,0,0,0,NULL,&atx[33],NULL,0,NULL} ,
  {0, "chunks" ,128,1,0,0,0,0,0,0,NULL,&atx[14],&atx[63],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[64],NULL,0,NULL} ,
  {410, "ID2S-Chunk-Info" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[65],0,&atx[50]} ,
  {0, "id" ,128,0,0,0,0,0,0,0,NULL,&atx[0],NULL,0,&atx[66]} ,
  {0, "content" ,128,1,0,0,0,0,0,0,NULL,&atx[14],&atx[67],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[68],NULL,0,NULL} ,
  {414, "ID2S-Chunk-Content" ,1,0,0,0,0,0,0,0,NULL,&atx[40],&atx[69],0,&atx[70]} ,
  {0, "seq-descr" ,128,0,0,0,0,0,0,0,NULL,&atx[70],NULL,0,&atx[76]} ,
  {415, "ID2S-Seq-descr-Info" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[71],0,&atx[78]} ,
  {0, "type-mask" ,128,0,0,0,0,0,0,0,NULL,&atx[1],NULL,0,&atx[72]} ,
  {0, "bioseqs" ,128,1,0,1,0,0,0,0,NULL,&atx[14],&atx[73],0,&atx[74]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[33],NULL,0,NULL} ,
  {0, "bioseq-sets" ,128,2,0,1,0,0,0,0,NULL,&atx[14],&atx[75],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[33],NULL,0,NULL} ,
  {0, "seq-annot" ,128,1,0,0,0,0,0,0,NULL,&atx[2],NULL,0,&atx[77]} ,
  {0, "seq-assembly" ,128,2,0,0,0,0,0,0,NULL,&atx[78],NULL,0,&atx[81]} ,
  {416, "ID2S-Seq-assembly-Info" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[79],0,&atx[82]} ,
  {0, "bioseqs" ,128,0,0,0,0,0,0,0,NULL,&atx[14],&atx[80],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[33],NULL,0,NULL} ,
  {0, "seq-map" ,128,3,0,0,0,0,0,0,NULL,&atx[82],NULL,0,&atx[83]} ,
  {417, "ID2S-Seq-map-Info" ,1,0,0,0,0,0,0,0,NULL,&atx[17],NULL,0,&atx[84]} ,
  {0, "seq-data" ,128,4,0,0,0,0,0,0,NULL,&atx[84],NULL,0,&atx[85]} ,
  {418, "ID2S-Seq-data-Info" ,1,0,0,0,0,0,0,0,NULL,&atx[17],NULL,0,&atx[86]} ,
  {0, "seq-annot-place" ,128,5,0,0,0,0,0,0,NULL,&atx[86],NULL,0,NULL} ,
  {419, "ID2S-Seq-annot-place-Info" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[87],0,&atx[10]} ,
  {0, "name" ,128,0,0,1,0,0,0,0,NULL,&atx[4],NULL,0,&atx[88]} ,
  {0, "bioseqs" ,128,1,0,1,0,0,0,0,NULL,&atx[14],&atx[89],0,&atx[90]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[33],NULL,0,NULL} ,
  {0, "bioseq-sets" ,128,2,0,1,0,0,0,0,NULL,&atx[14],&atx[91],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[33],NULL,0,NULL} ,
  {422, "ID2S-Chunk" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[93],0,&atx[95]} ,
  {0, "data" ,128,0,0,0,0,0,0,0,NULL,&atx[14],&atx[94],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[95],NULL,0,NULL} ,
  {423, "ID2S-Chunk-Data" ,1,0,0,0,0,0,0,0,NULL,&atx[15],&atx[96],0,&atx[20]} ,
  {0, "id" ,128,0,0,0,0,0,0,0,NULL,&atx[40],&atx[97],0,&atx[99]} ,
  {0, "bioseq-set" ,128,0,0,0,0,0,0,0,NULL,&atx[1],NULL,0,&atx[98]} ,
  {0, "gi" ,128,1,0,0,0,0,0,0,NULL,&atx[1],NULL,0,NULL} ,
  {0, "descrs" ,128,1,0,1,0,0,0,0,NULL,&atx[14],&atx[100],0,&atx[101]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[42],NULL,0,NULL} ,
  {0, "annots" ,128,2,0,1,0,0,0,0,NULL,&atx[14],&atx[102],0,&atx[103]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[41],NULL,0,NULL} ,
  {0, "assembly" ,128,3,0,1,0,0,0,0,NULL,&atx[14],&atx[104],0,&atx[105]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[44],NULL,0,NULL} ,
  {0, "seq-map" ,128,4,0,1,0,0,0,0,NULL,&atx[60],&atx[106],0,&atx[107]} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[43],NULL,0,NULL} ,
  {0, "seq-data" ,128,5,0,1,0,0,0,0,NULL,&atx[60],&atx[108],0,NULL} ,
  {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[43],NULL,0,NULL} };

static AsnModule ampx[1] = {
  { "NCBI-Seq-split" , "seqsplit.h13",&atx[0],NULL,NULL,0,0} };

static AsnValxNodePtr avn = avnx;
static AsnTypePtr at = atx;
static AsnModulePtr amp = ampx;



/**************************************************
*
*    Defines for Module NCBI-Seq-split
*
**************************************************/

#define ID2S_CHUNK_ID &at[0]

#define ID2S_SEQ_ANNOT_INFO &at[2]
#define ID2S_SEQ_ANNOT_INFO_name &at[3]
#define ID2S_SEQ_ANNOT_INFO_align &at[5]
#define ID2S_SEQ_ANNOT_INFO_graph &at[7]
#define ID2S_SEQ_ANNOT_INFO_feat &at[8]
#define ID2S_SEQ_ANNOT_INFO_feat_E &at[9]
#define ID2S_SEQ_ANNOT_INFO_seq_loc &at[16]

#define ID2S_SPLIT_INFO &at[45]
#define ID2S_SPLIT_INFO_bioseqs_info &at[46]
#define ID2S_SPLIT_INFO_bioseqs_info_E &at[47]
#define ID2S_SPLIT_INFO_chunks &at[62]
#define ID2S_SPLIT_INFO_chunks_E &at[63]

#define ID2S_BIOSEQS_INFO &at[48]
#define ID2S_BIOSEQS_INFO_info &at[49]
#define ID2S_BIOSEQS_INFO_bioseqs &at[61]

#define ID2S_CHUNK_INFO &at[64]
#define ID2S_CHUNK_INFO_id &at[65]
#define ID2S_CHUNK_INFO_content &at[66]
#define ID2S_CHUNK_INFO_content_E &at[67]

#define ID2S_BIOSEQ_INFO &at[50]
#define ID2S_BIOSEQ_INFO_gap_count &at[51]
#define BIOSEQ_INFO_seq_map_has_ref &at[52]
#define ID2S_BIOSEQ_INFO_sequence_split &at[54]

#define ID2_ID_RANGE &at[33]
#define ID2_ID_RANGE_start &at[34]
#define ID2_ID_RANGE_count &at[35]

#define ID2S_SEQUENCE_SPLIT_INFO &at[55]
#define SEQUENCE_SPLIT_INFO_block_size &at[56]
#define SPLIT_INFO_chunk_start &at[57]
#define SPLIT_INFO_chunk_blocks &at[58]
#define SPLIT_INFO_chunk_blocks_E &at[59]

#define ID2S_CHUNK_CONTENT &at[68]
#define ID2S_CHUNK_CONTENT_seq_descr &at[69]
#define ID2S_CHUNK_CONTENT_seq_annot &at[76]
#define ID2S_CHUNK_CONTENT_seq_assembly &at[77]
#define ID2S_CHUNK_CONTENT_seq_map &at[81]
#define ID2S_CHUNK_CONTENT_seq_data &at[83]
#define CHUNK_CONTENT_seq_annot_place &at[85]

#define ID2S_SEQ_DESCR_INFO &at[70]
#define ID2S_SEQ_DESCR_INFO_type_mask &at[71]
#define ID2S_SEQ_DESCR_INFO_bioseqs &at[72]
#define ID2S_SEQ_DESCR_INFO_bioseqs_E &at[73]
#define ID2S_SEQ_DESCR_INFO_bioseq_sets &at[74]
#define SEQ_DESCR_INFO_bioseq_sets_E &at[75]

#define ID2S_SEQ_ASSEMBLY_INFO &at[78]
#define ID2S_SEQ_ASSEMBLY_INFO_bioseqs &at[79]
#define SEQ_ASSEMBLY_INFO_bioseqs_E &at[80]

#define ID2S_SEQ_MAP_INFO &at[82]

#define ID2S_SEQ_DATA_INFO &at[84]

#define ID2S_SEQ_ANNOT_PLACE_INFO &at[86]
#define ID2S_SEQ_ANNOT_PLACE_INFO_name &at[87]
#define SEQ_ANNOT_PLACE_INFO_bioseqs &at[88]
#define SEQ_ANNOT_PLACE_INFO_bioseqs_E &at[89]
#define ANNOT_PLACE_INFO_bioseq_sets &at[90]
#define ANNOT_PLACE_INFO_bioseq_sets_E &at[91]

#define ID2S_FEAT_TYPE_INFO &at[10]
#define ID2S_FEAT_TYPE_INFO_type &at[11]
#define ID2S_FEAT_TYPE_INFO_subtypes &at[12]
#define ID2S_FEAT_TYPE_INFO_subtypes_E &at[13]

#define ID2_SEQ_LOC &at[17]
#define ID2_SEQ_LOC_gi_whole &at[18]
#define ID2_SEQ_LOC_interval &at[19]
#define ID2_SEQ_LOC_packed_ints &at[24]
#define ID2_SEQ_LOC_gi_whole_range &at[32]
#define ID2_SEQ_LOC_loc_set &at[36]
#define ID2_SEQ_LOC_loc_set_E &at[37]
#define ID2_SEQ_LOC_seq_loc &at[38]

#define ID2S_CHUNK &at[92]
#define ID2S_CHUNK_data &at[93]
#define ID2S_CHUNK_data_E &at[94]

#define ID2S_CHUNK_DATA &at[95]
#define ID2S_CHUNK_DATA_id &at[96]
#define ID2S_CHUNK_DATA_id_bioseq_set &at[97]
#define ID2S_CHUNK_DATA_id_gi &at[98]
#define ID2S_CHUNK_DATA_descrs &at[99]
#define ID2S_CHUNK_DATA_descrs_E &at[100]
#define ID2S_CHUNK_DATA_annots &at[101]
#define ID2S_CHUNK_DATA_annots_E &at[102]
#define ID2S_CHUNK_DATA_assembly &at[103]
#define ID2S_CHUNK_DATA_assembly_E &at[104]
#define ID2S_CHUNK_DATA_seq_map &at[105]
#define ID2S_CHUNK_DATA_seq_map_E &at[106]
#define ID2S_CHUNK_DATA_seq_data &at[107]
#define ID2S_CHUNK_DATA_seq_data_E &at[108]

#define ID2_INTERVAL &at[20]
#define ID2_INTERVAL_gi &at[21]
#define ID2_INTERVAL_start &at[22]
#define ID2_INTERVAL_length &at[23]

#define ID2_PACKED_SEQ_INTS &at[25]
#define ID2_PACKED_SEQ_INTS_gi &at[26]
#define ID2_PACKED_SEQ_INTS_intervals &at[27]
#define ID2_PACKED_SEQ_INTS_intervals_E &at[28]

#define ID2_SEQ_RANGE &at[29]
#define ID2_SEQ_RANGE_start &at[30]
#define ID2_SEQ_RANGE_length &at[31]