1 /*********************************************************************** 2 * 3 ** 4 * Automatic header module from ASNTOOL 5 * 6 ************************************************************************/ 7 8 #ifndef _ASNTOOL_ 9 #include <asn.h> 10 #endif 11 12 static char * asnfilename = "asnentgene.h36"; 13 static AsnValxNode avnx[52] = { 14 {20,"live" ,0,0.0,&avnx[1] } , 15 {20,"secondary" ,1,0.0,&avnx[2] } , 16 {20,"discontinued" ,2,0.0,NULL } , 17 {3,NULL,0,0.0,NULL } , 18 {20,"unknown" ,0,0.0,&avnx[5] } , 19 {20,"tRNA" ,1,0.0,&avnx[6] } , 20 {20,"rRNA" ,2,0.0,&avnx[7] } , 21 {20,"snRNA" ,3,0.0,&avnx[8] } , 22 {20,"scRNA" ,4,0.0,&avnx[9] } , 23 {20,"snoRNA" ,5,0.0,&avnx[10] } , 24 {20,"protein-coding" ,6,0.0,&avnx[11] } , 25 {20,"pseudo" ,7,0.0,&avnx[12] } , 26 {20,"transposon" ,8,0.0,&avnx[13] } , 27 {20,"miscRNA" ,9,0.0,&avnx[14] } , 28 {20,"ncRNA" ,10,0.0,&avnx[15] } , 29 {20,"biological-region" ,11,0.0,&avnx[16] } , 30 {20,"other" ,255,0.0,NULL } , 31 {20,"cyto" ,0,0.0,&avnx[18] } , 32 {20,"bp" ,1,0.0,&avnx[19] } , 33 {20,"cM" ,2,0.0,&avnx[20] } , 34 {20,"cR" ,3,0.0,&avnx[21] } , 35 {20,"min" ,4,0.0,NULL } , 36 {2,NULL,0,0.0,NULL } , 37 {2,NULL,0,0.0,NULL } , 38 {2,NULL,0,0.0,NULL } , 39 {20,"genomic" ,1,0.0,&avnx[26] } , 40 {20,"pre-RNA" ,2,0.0,&avnx[27] } , 41 {20,"mRNA" ,3,0.0,&avnx[28] } , 42 {20,"rRNA" ,4,0.0,&avnx[29] } , 43 {20,"tRNA" ,5,0.0,&avnx[30] } , 44 {20,"snRNA" ,6,0.0,&avnx[31] } , 45 {20,"scRNA" ,7,0.0,&avnx[32] } , 46 {20,"peptide" ,8,0.0,&avnx[33] } , 47 {20,"other-genetic" ,9,0.0,&avnx[34] } , 48 {20,"genomic-mRNA" ,10,0.0,&avnx[35] } , 49 {20,"cRNA" ,11,0.0,&avnx[36] } , 50 {20,"mature-peptide" ,12,0.0,&avnx[37] } , 51 {20,"pre-protein" ,13,0.0,&avnx[38] } , 52 {20,"miscRNA" ,14,0.0,&avnx[39] } , 53 {20,"snoRNA" ,15,0.0,&avnx[40] } , 54 {20,"property" ,16,0.0,&avnx[41] } , 55 {20,"reference" ,17,0.0,&avnx[42] } , 56 {20,"generif" ,18,0.0,&avnx[43] } , 57 {20,"phenotype" ,19,0.0,&avnx[44] } , 58 {20,"complex" ,20,0.0,&avnx[45] } , 59 {20,"compound" ,21,0.0,&avnx[46] } , 60 {20,"ncRNA" ,22,0.0,&avnx[47] } , 61 {20,"gene-group" ,23,0.0,&avnx[48] } , 62 {20,"assembly" ,24,0.0,&avnx[49] } , 63 {20,"assembly-unit" ,25,0.0,&avnx[50] } , 64 {20,"comment" ,254,0.0,&avnx[51] } , 65 {20,"other" ,255,0.0,NULL } }; 66 67 static AsnType atx[105] = { 68 {401, "Entrezgene" ,1,0,0,0,0,1,0,0,NULL,&atx[14],&atx[1],0,&atx[102]} , 69 {0, "track-info" ,128,0,0,1,0,0,0,0,NULL,&atx[2],NULL,0,&atx[15]} , 70 {403, "Gene-track" ,1,0,0,0,0,1,0,0,NULL,&atx[14],&atx[3],0,&atx[47]} , 71 {0, "geneid" ,128,0,0,0,0,0,0,0,NULL,&atx[4],NULL,0,&atx[5]} , 72 {302, "INTEGER" ,0,2,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 73 {0, "status" ,128,1,0,0,1,0,0,0,&avnx[3],&atx[4],&avnx[0],0,&atx[6]} , 74 {0, "current-id" ,128,2,0,1,0,0,0,0,NULL,&atx[9],&atx[7],0,&atx[10]} , 75 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[8],NULL,0,NULL} , 76 {409, "Dbtag" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[11]} , 77 {312, "SEQUENCE OF" ,0,16,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 78 {0, "create-date" ,128,3,0,0,0,0,0,0,NULL,&atx[11],NULL,0,&atx[12]} , 79 {410, "Date" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[72]} , 80 {0, "update-date" ,128,4,0,0,0,0,0,0,NULL,&atx[11],NULL,0,&atx[13]} , 81 {0, "discontinue-date" ,128,5,0,1,0,0,0,0,NULL,&atx[11],NULL,0,NULL} , 82 {311, "SEQUENCE" ,0,16,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 83 {0, "type" ,128,1,0,0,0,0,0,0,NULL,&atx[4],&avnx[4],0,&atx[16]} , 84 {0, "source" ,128,2,0,0,0,0,0,0,NULL,&atx[17],NULL,0,&atx[18]} , 85 {407, "BioSource" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[23]} , 86 {0, "gene" ,128,3,0,0,0,0,0,0,NULL,&atx[19],NULL,0,&atx[20]} , 87 {405, "Gene-ref" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[21]} , 88 {0, "prot" ,128,4,0,1,0,0,0,0,NULL,&atx[21],NULL,0,&atx[22]} , 89 {406, "Prot-ref" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[17]} , 90 {0, "rna" ,128,5,0,1,0,0,0,0,NULL,&atx[23],NULL,0,&atx[24]} , 91 {408, "RNA-ref" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[8]} , 92 {0, "summary" ,128,6,0,1,0,0,0,0,NULL,&atx[25],NULL,0,&atx[26]} , 93 {323, "VisibleString" ,0,26,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 94 {0, "location" ,128,7,0,1,0,0,0,0,NULL,&atx[9],&atx[27],0,&atx[35]} , 95 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[28],NULL,0,NULL} , 96 {413, "Maps" ,1,0,0,0,0,0,0,0,NULL,&atx[14],&atx[29],0,&atx[36]} , 97 {0, "display-str" ,128,0,0,0,0,0,0,0,NULL,&atx[25],NULL,0,&atx[30]} , 98 {0, "method" ,128,1,0,0,0,0,0,0,NULL,&atx[34],&atx[31],0,NULL} , 99 {0, "proxy" ,128,0,0,0,0,0,0,0,NULL,&atx[25],NULL,0,&atx[32]} , 100 {0, "map-type" ,128,1,0,0,0,0,0,0,NULL,&atx[33],&avnx[17],0,NULL} , 101 {310, "ENUMERATED" ,0,10,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 102 {315, "CHOICE" ,0,-1,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 103 {0, "gene-source" ,128,8,0,1,0,0,0,0,NULL,&atx[36],NULL,0,&atx[45]} , 104 {414, "Gene-source" ,1,0,0,0,0,0,0,0,NULL,&atx[14],&atx[37],0,&atx[56]} , 105 {0, "src" ,128,0,0,0,0,0,0,0,NULL,&atx[25],NULL,0,&atx[38]} , 106 {0, "src-int" ,128,1,0,1,0,0,0,0,NULL,&atx[4],NULL,0,&atx[39]} , 107 {0, "src-str1" ,128,2,0,1,0,0,0,0,NULL,&atx[25],NULL,0,&atx[40]} , 108 {0, "src-str2" ,128,3,0,1,0,0,0,0,NULL,&atx[25],NULL,0,&atx[41]} , 109 {0, "gene-display" ,128,4,0,0,1,0,0,0,&avnx[22],&atx[42],NULL,0,&atx[43]} , 110 {301, "BOOLEAN" ,0,1,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 111 {0, "locus-display" ,128,5,0,0,1,0,0,0,&avnx[23],&atx[42],NULL,0,&atx[44]} , 112 {0, "extra-terms" ,128,6,0,0,1,0,0,0,&avnx[24],&atx[42],NULL,0,NULL} , 113 {0, "locus" ,128,9,0,1,0,0,0,0,NULL,&atx[9],&atx[46],0,&atx[84]} , 114 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[47],NULL,0,NULL} , 115 {404, "Gene-commentary" ,1,0,0,0,0,1,0,0,NULL,&atx[14],&atx[48],0,&atx[19]} , 116 {0, "type" ,128,0,0,0,0,0,0,0,NULL,&atx[4],&avnx[25],0,&atx[49]} , 117 {0, "heading" ,128,1,0,1,0,0,0,0,NULL,&atx[25],NULL,0,&atx[50]} , 118 {0, "label" ,128,2,0,1,0,0,0,0,NULL,&atx[25],NULL,0,&atx[51]} , 119 {0, "text" ,128,3,0,1,0,0,0,0,NULL,&atx[25],NULL,0,&atx[52]} , 120 {0, "accession" ,128,4,0,1,0,0,0,0,NULL,&atx[25],NULL,0,&atx[53]} , 121 {0, "version" ,128,5,0,1,0,0,0,0,NULL,&atx[4],NULL,0,&atx[54]} , 122 {0, "xtra-properties" ,128,6,0,1,0,0,0,0,NULL,&atx[9],&atx[55],0,&atx[59]} , 123 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[56],NULL,0,NULL} , 124 {415, "Xtra-Terms" ,1,0,0,0,0,0,0,0,NULL,&atx[14],&atx[57],0,&atx[64]} , 125 {0, "tag" ,128,0,0,0,0,0,0,0,NULL,&atx[25],NULL,0,&atx[58]} , 126 {0, "value" ,128,1,0,0,0,0,0,0,NULL,&atx[25],NULL,0,NULL} , 127 {0, "refs" ,128,7,0,1,0,0,0,0,NULL,&atx[9],&atx[60],0,&atx[62]} , 128 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[61],NULL,0,NULL} , 129 {412, "Pub" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[28]} , 130 {0, "source" ,128,8,0,1,0,0,0,0,NULL,&atx[9],&atx[63],0,&atx[70]} , 131 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[64],NULL,0,NULL} , 132 {416, "Other-source" ,1,0,0,0,0,0,0,0,NULL,&atx[14],&atx[65],0,NULL} , 133 {0, "src" ,128,0,0,1,0,0,0,0,NULL,&atx[8],NULL,0,&atx[66]} , 134 {0, "pre-text" ,128,1,0,1,0,0,0,0,NULL,&atx[25],NULL,0,&atx[67]} , 135 {0, "anchor" ,128,2,0,1,0,0,0,0,NULL,&atx[25],NULL,0,&atx[68]} , 136 {0, "url" ,128,3,0,1,0,0,0,0,NULL,&atx[25],NULL,0,&atx[69]} , 137 {0, "post-text" ,128,4,0,1,0,0,0,0,NULL,&atx[25],NULL,0,NULL} , 138 {0, "genomic-coords" ,128,9,0,1,0,0,0,0,NULL,&atx[9],&atx[71],0,&atx[73]} , 139 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[72],NULL,0,NULL} , 140 {411, "Seq-loc" ,1,0,0,0,0,0,1,0,NULL,NULL,NULL,0,&atx[61]} , 141 {0, "seqs" ,128,10,0,1,0,0,0,0,NULL,&atx[9],&atx[74],0,&atx[75]} , 142 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[72],NULL,0,NULL} , 143 {0, "products" ,128,11,0,1,0,0,0,0,NULL,&atx[9],&atx[76],0,&atx[77]} , 144 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[47],NULL,0,NULL} , 145 {0, "properties" ,128,12,0,1,0,0,0,0,NULL,&atx[9],&atx[78],0,&atx[79]} , 146 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[47],NULL,0,NULL} , 147 {0, "comment" ,128,13,0,1,0,0,0,0,NULL,&atx[9],&atx[80],0,&atx[81]} , 148 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[47],NULL,0,NULL} , 149 {0, "create-date" ,128,14,0,1,0,0,0,0,NULL,&atx[11],NULL,0,&atx[82]} , 150 {0, "update-date" ,128,15,0,1,0,0,0,0,NULL,&atx[11],NULL,0,&atx[83]} , 151 {0, "rna" ,128,16,0,1,0,0,0,0,NULL,&atx[23],NULL,0,NULL} , 152 {0, "properties" ,128,10,0,1,0,0,0,0,NULL,&atx[9],&atx[85],0,&atx[86]} , 153 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[47],NULL,0,NULL} , 154 {0, "refgene" ,128,11,0,1,0,0,0,0,NULL,&atx[9],&atx[87],0,&atx[88]} , 155 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[47],NULL,0,NULL} , 156 {0, "homology" ,128,12,0,1,0,0,0,0,NULL,&atx[9],&atx[89],0,&atx[90]} , 157 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[47],NULL,0,NULL} , 158 {0, "comments" ,128,13,0,1,0,0,0,0,NULL,&atx[9],&atx[91],0,&atx[92]} , 159 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[47],NULL,0,NULL} , 160 {0, "unique-keys" ,128,14,0,1,0,0,0,0,NULL,&atx[9],&atx[93],0,&atx[94]} , 161 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[8],NULL,0,NULL} , 162 {0, "xtra-index-terms" ,128,15,0,1,0,0,0,0,NULL,&atx[9],&atx[95],0,&atx[96]} , 163 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[25],NULL,0,NULL} , 164 {0, "xtra-properties" ,128,16,0,1,0,0,0,0,NULL,&atx[9],&atx[97],0,&atx[98]} , 165 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[56],NULL,0,NULL} , 166 {0, "xtra-iq" ,128,17,0,1,0,0,0,0,NULL,&atx[9],&atx[99],0,&atx[100]} , 167 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[56],NULL,0,NULL} , 168 {0, "non-unique-keys" ,128,18,0,1,0,0,0,0,NULL,&atx[9],&atx[101],0,NULL} , 169 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[8],NULL,0,NULL} , 170 {402, "Entrezgene-Set" ,1,0,0,0,0,1,0,0,NULL,&atx[104],&atx[103],0,&atx[2]} , 171 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[0],NULL,0,NULL} , 172 {314, "SET OF" ,0,17,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} }; 173 174 static AsnModule ampx[1] = { 175 { "NCBI-Entrezgene" , "asnentgene.h36",&atx[0],NULL,NULL,0,0} }; 176 177 static AsnValxNodePtr avn = avnx; 178 static AsnTypePtr at = atx; 179 static AsnModulePtr amp = ampx; 180 181 182 183 /************************************************** 184 * 185 * Defines for Module NCBI-Entrezgene 186 * 187 **************************************************/ 188 189 #define ENTREZGENE &at[0] 190 #define ENTREZGENE_track_info &at[1] 191 #define ENTREZGENE_type &at[15] 192 #define ENTREZGENE_source &at[16] 193 #define ENTREZGENE_gene &at[18] 194 #define ENTREZGENE_prot &at[20] 195 #define ENTREZGENE_rna &at[22] 196 #define ENTREZGENE_summary &at[24] 197 #define ENTREZGENE_location &at[26] 198 #define ENTREZGENE_location_E &at[27] 199 #define ENTREZGENE_gene_source &at[35] 200 #define ENTREZGENE_locus &at[45] 201 #define ENTREZGENE_locus_E &at[46] 202 #define ENTREZGENE_properties &at[84] 203 #define ENTREZGENE_properties_E &at[85] 204 #define ENTREZGENE_refgene &at[86] 205 #define ENTREZGENE_refgene_E &at[87] 206 #define ENTREZGENE_homology &at[88] 207 #define ENTREZGENE_homology_E &at[89] 208 #define ENTREZGENE_comments &at[90] 209 #define ENTREZGENE_comments_E &at[91] 210 #define ENTREZGENE_unique_keys &at[92] 211 #define ENTREZGENE_unique_keys_E &at[93] 212 #define ENTREZGENE_xtra_index_terms &at[94] 213 #define ENTREZGENE_xtra_index_terms_E &at[95] 214 #define ENTREZGENE_xtra_properties &at[96] 215 #define ENTREZGENE_xtra_properties_E &at[97] 216 #define ENTREZGENE_xtra_iq &at[98] 217 #define ENTREZGENE_xtra_iq_E &at[99] 218 #define ENTREZGENE_non_unique_keys &at[100] 219 #define ENTREZGENE_non_unique_keys_E &at[101] 220 221 #define ENTREZGENE_SET &at[102] 222 #define ENTREZGENE_SET_E &at[103] 223 224 #define GENE_TRACK &at[2] 225 #define GENE_TRACK_geneid &at[3] 226 #define GENE_TRACK_status &at[5] 227 #define GENE_TRACK_current_id &at[6] 228 #define GENE_TRACK_current_id_E &at[7] 229 #define GENE_TRACK_create_date &at[10] 230 #define GENE_TRACK_update_date &at[12] 231 #define GENE_TRACK_discontinue_date &at[13] 232 233 #define GENE_COMMENTARY &at[47] 234 #define GENE_COMMENTARY_type &at[48] 235 #define GENE_COMMENTARY_heading &at[49] 236 #define GENE_COMMENTARY_label &at[50] 237 #define GENE_COMMENTARY_text &at[51] 238 #define GENE_COMMENTARY_accession &at[52] 239 #define GENE_COMMENTARY_version &at[53] 240 #define GENE_COMMENTARY_xtra_properties &at[54] 241 #define COMMENTARY_xtra_properties_E &at[55] 242 #define GENE_COMMENTARY_refs &at[59] 243 #define GENE_COMMENTARY_refs_E &at[60] 244 #define GENE_COMMENTARY_source &at[62] 245 #define GENE_COMMENTARY_source_E &at[63] 246 #define GENE_COMMENTARY_genomic_coords &at[70] 247 #define COMMENTARY_genomic_coords_E &at[71] 248 #define GENE_COMMENTARY_seqs &at[73] 249 #define GENE_COMMENTARY_seqs_E &at[74] 250 #define GENE_COMMENTARY_products &at[75] 251 #define GENE_COMMENTARY_products_E &at[76] 252 #define GENE_COMMENTARY_properties &at[77] 253 #define GENE_COMMENTARY_properties_E &at[78] 254 #define GENE_COMMENTARY_comment &at[79] 255 #define GENE_COMMENTARY_comment_E &at[80] 256 #define GENE_COMMENTARY_create_date &at[81] 257 #define GENE_COMMENTARY_update_date &at[82] 258 #define GENE_COMMENTARY_rna &at[83] 259 260 #define MAPS &at[28] 261 #define MAPS_display_str &at[29] 262 #define MAPS_method &at[30] 263 #define MAPS_method_proxy &at[31] 264 #define MAPS_method_map_type &at[32] 265 266 #define GENE_SOURCE &at[36] 267 #define GENE_SOURCE_src &at[37] 268 #define GENE_SOURCE_src_int &at[38] 269 #define GENE_SOURCE_src_str1 &at[39] 270 #define GENE_SOURCE_src_str2 &at[40] 271 #define GENE_SOURCE_gene_display &at[41] 272 #define GENE_SOURCE_locus_display &at[43] 273 #define GENE_SOURCE_extra_terms &at[44] 274 275 #define XTRA_TERMS &at[56] 276 #define XTRA_TERMS_tag &at[57] 277 #define XTRA_TERMS_value &at[58] 278 279 #define OTHER_SOURCE &at[64] 280 #define OTHER_SOURCE_src &at[65] 281 #define OTHER_SOURCE_pre_text &at[66] 282 #define OTHER_SOURCE_anchor &at[67] 283 #define OTHER_SOURCE_url &at[68] 284 #define OTHER_SOURCE_post_text &at[69] 285