1 /* flat2err.h
2  *
3  * ===========================================================================
4  *
5  *                            PUBLIC DOMAIN NOTICE
6  *               National Center for Biotechnology Information
7  *
8  *  This software/database is a "United States Government Work" under the
9  *  terms of the United States Copyright Act.  It was written as part of
10  *  the author's official duties as a United States Government employee and
11  *  thus cannot be copyrighted.  This software/database is freely available
12  *  to the public for use. The National Library of Medicine and the U.S.
13  *  Government have not placed any restriction on its use or reproduction.
14  *
15  *  Although all reasonable efforts have been taken to ensure the accuracy
16  *  and reliability of the software and data, the NLM and the U.S.
17  *  Government do not and cannot warrant the performance or results that
18  *  may be obtained by using this software or data. The NLM and the U.S.
19  *  Government disclaim all warranties, express or implied, including
20  *  warranties of performance, merchantability or fitness for any particular
21  *  purpose.
22  *
23  *  Please cite the author in any work or product based on this material.
24  *
25  * ===========================================================================
26  *
27  * File Name:  flat2err.h
28  *
29  * Author: Karl Sirotkin, Hsiu-Chuan Chen
30  *
31  * File Description:
32  * -----------------
33  *
34  */
35 
36 #ifndef __MODULE_flat2asn__
37 #define __MODULE_flat2asn__
38 
39 #define ERR_FORMAT                                     1,0
40 #define ERR_FORMAT_MissingEnd                          1,2
41 #define ERR_FORMAT_LineTypeOrder                       1,6
42 #define ERR_FORMAT_MissingSequenceData                 1,7
43 #define ERR_FORMAT_ContigWithSequenceData              1,8
44 #define ERR_FORMAT_MissingContigFeature                1,9
45 #define ERR_FORMAT_MissingSourceFeature                1,10
46 #define ERR_FORMAT_MultipleCopyright                   1,11
47 #define ERR_FORMAT_MissingCopyright                    1,12
48 #define ERR_FORMAT_MultiplePatRefs                     1,13
49 #define ERR_FORMAT_DuplicateCrossRef                   1,14
50 #define ERR_FORMAT_InvalidMolType                      1,15
51 #define ERR_FORMAT_Unknown                             1,16
52 #define ERR_FORMAT_UnexpectedData                      1,17
53 #define ERR_FORMAT_InvalidECNumber                     1,18
54 #define ERR_FORMAT_LongECNumber                        1,19
55 #define ERR_FORMAT_UnusualECNumber                     1,20
56 #define ERR_FORMAT_UnknownDetermineField               1,21
57 #define ERR_FORMAT_UnknownGeneField                    1,22
58 #define ERR_FORMAT_ExcessGeneFields                    1,23
59 #define ERR_FORMAT_MissingGeneName                     1,24
60 #define ERR_FORMAT_InvalidPDBCrossRef                  1,25
61 #define ERR_FORMAT_MixedPDBXrefs                       1,26
62 #define ERR_FORMAT_IncorrectPROJECT                    1,27
63 #define ERR_FORMAT_Date                                1,28
64 #define ERR_FORMAT_ECNumberNotPresent                  1,29
65 #define ERR_FORMAT_NoProteinNameCategory               1,30
66 #define ERR_FORMAT_MultipleRecName                     1,31
67 #define ERR_FORMAT_MissingRecName                      1,32
68 #define ERR_FORMAT_SwissProtHasSubName                 1,33
69 #define ERR_FORMAT_MissingFullRecName                  1,34
70 #define ERR_FORMAT_IncorrectDBLINK                     1,35
71 #define ERR_FORMAT_AssemblyGapWithoutContig            1,37
72 #define ERR_FORMAT_ContigVersusAssemblyGapMissmatch    1,38
73 #define ERR_FORMAT_WrongBioProjectPrefix               1,39
74 #define ERR_FORMAT_InvalidBioProjectAcc                1,40
75 
76 #define ERR_DATACLASS                                  2,0
77 #define ERR_DATACLASS_UnKnownClass                     2,1
78 
79 #define ERR_ENTRY                                      3,0
80 #define ERR_ENTRY_ParsingComplete                      3,2
81 #define ERR_ENTRY_Skipped                              3,6
82 #define ERR_ENTRY_Repeated                             3,7
83 #define ERR_ENTRY_LongSequence                         3,8
84 #define ERR_ENTRY_Parsed                               3,10
85 #define ERR_ENTRY_ParsingSetup                         3,11
86 #define ERR_ENTRY_GBBlock_not_Empty                    3,12
87 #define ERR_ENTRY_LongHTGSSequence                     3,13
88 #define ERR_ENTRY_NumKeywordBlk                        3,14
89 #define ERR_ENTRY_Dropped                              3,15
90 #define ERR_ENTRY_TSALacksStructuredComment            3,16
91 #define ERR_ENTRY_TSALacksBioProjectLink               3,17
92 #define ERR_ENTRY_TLSLacksStructuredComment            3,18
93 #define ERR_ENTRY_TLSLacksBioProjectLink               3,19
94 
95 #define ERR_COMMENT                                    4,0
96 #define ERR_COMMENT_NCBI_gi_in                         4,1
97 #define ERR_COMMENT_InvalidStructuredComment           4,2
98 #define ERR_COMMENT_SameStructuredCommentTags          4,3
99 #define ERR_COMMENT_StructuredCommentLacksDelim        4,4
100 
101 #define ERR_DATE                                       5,0
102 #define ERR_DATE_NumKeywordBlk                         5,1
103 #define ERR_DATE_IllegalDate                           5,2
104 
105 #define ERR_QUALIFIER                                  6,0
106 #define ERR_QUALIFIER_MissingTerminalDoubleQuote       6,1
107 #define ERR_QUALIFIER_UnbalancedQuotes                 6,2
108 #define ERR_QUALIFIER_EmbeddedQual                     6,3
109 #define ERR_QUALIFIER_EmptyQual                        6,4
110 #define ERR_QUALIFIER_ShouldNotHaveValue               6,5
111 #define ERR_QUALIFIER_DbxrefIncorrect                  6,6
112 #define ERR_QUALIFIER_DbxrefShouldBeNumeric            6,7
113 #define ERR_QUALIFIER_DbxrefUnknownDBName              6,8
114 #define ERR_QUALIFIER_DbxrefWrongType                  6,9
115 #define ERR_QUALIFIER_DuplicateRemoved                 6,10
116 #define ERR_QUALIFIER_MultRptUnitComma                 6,11
117 #define ERR_QUALIFIER_IllegalCompareQualifier          6,12
118 #define ERR_QUALIFIER_InvalidEvidence                  6,13
119 #define ERR_QUALIFIER_InvalidException                 6,14
120 #define ERR_QUALIFIER_ObsoleteRptUnit                  6,15
121 #define ERR_QUALIFIER_InvalidRptUnitRange              6,16
122 #define ERR_QUALIFIER_InvalidPCRprimer                 6,17
123 #define ERR_QUALIFIER_MissingPCRprimerSeq              6,18
124 #define ERR_QUALIFIER_PCRprimerEmbeddedComma           6,19
125 #define ERR_QUALIFIER_Conflict                         6,20
126 #define ERR_QUALIFIER_InvalidArtificialLoc             6,21
127 #define ERR_QUALIFIER_MissingGapType                   6,22
128 #define ERR_QUALIFIER_MissingLinkageEvidence           6,23
129 #define ERR_QUALIFIER_InvalidGapTypeForLinkageEvidence 6,24
130 #define ERR_QUALIFIER_InvalidGapType                   6,25
131 #define ERR_QUALIFIER_InvalidLinkageEvidence           6,26
132 #define ERR_QUALIFIER_MultiplePseudoGeneQuals          6,27
133 #define ERR_QUALIFIER_InvalidPseudoGeneValue           6,28
134 #define ERR_QUALIFIER_OldPseudoWithPseudoGene          6,29
135 #define ERR_QUALIFIER_AntiCodonLacksSequence           6,30
136 #define ERR_QUALIFIER_UnexpectedGapTypeForHTG          6,31
137 #define ERR_QUALIFIER_LinkageShouldBeUnspecified       6,32
138 #define ERR_QUALIFIER_LinkageShouldNotBeUnspecified    6,33
139 #define ERR_QUALIFIER_InvalidRegulatoryClass           6,34
140 #define ERR_QUALIFIER_MissingRegulatoryClass           6,35
141 #define ERR_QUALIFIER_MultipleRegulatoryClass          6,36
142 #define ERR_QUALIFIER_NoNoteForOtherRegulatory         6,37
143 #define ERR_QUALIFIER_NoRefForCiteQual                 6,38
144 
145 #define ERR_SEQUENCE                                   7,0
146 #define ERR_SEQUENCE_UnknownBaseHTG3                   7,1
147 #define ERR_SEQUENCE_SeqLenNotEq                       7,2
148 #define ERR_SEQUENCE_BadResidue                        7,3
149 #define ERR_SEQUENCE_BadData                           7,4
150 #define ERR_SEQUENCE_HTGWithoutGaps                    7,5
151 #define ERR_SEQUENCE_HTGPossibleShortGap               7,6
152 #define ERR_SEQUENCE_NumKeywordBlk                     7,7
153 #define ERR_SEQUENCE_HTGPhaseZeroHasGap                7,8
154 #define ERR_SEQUENCE_TooShort                          7,9
155 #define ERR_SEQUENCE_AllNs                             7,10
156 #define ERR_SEQUENCE_TooShortIsPatent                  7,11
157 #define ERR_SEQUENCE_HasManyComponents                 7,12
158 #define ERR_SEQUENCE_MultipleWGSProjects               7,13
159 
160 #define ERR_SEGMENT                                    8,0
161 #define ERR_SEGMENT_MissSegEntry                       8,1
162 #define ERR_SEGMENT_DiffMolType                        8,2
163 #define ERR_SEGMENT_PubMatch                           8,5
164 #define ERR_SEGMENT_OnlyOneMember                      8,6
165 #define ERR_SEGMENT_Rejected                           8,7
166 #define ERR_SEGMENT_GPIDMissingOrNonUnique             8,8
167 #define ERR_SEGMENT_DBLinkMissingOrNonUnique           8,9
168 
169 #define ERR_ACCESSION                                  9,0
170 #define ERR_ACCESSION_CannotGetDivForSecondary         9,1
171 #define ERR_ACCESSION_InvalidAccessNum                 9,5
172 #define ERR_ACCESSION_WGSWithNonWGS_Sec                9,6
173 #define ERR_ACCESSION_WGSMasterAsSecondary             9,7
174 #define ERR_ACCESSION_UnusualWGS_Secondary             9,8
175 #define ERR_ACCESSION_ScfldHasWGSContigSec             9,9
176 #define ERR_ACCESSION_WGSPrefixMismatch                9,10
177 
178 #define ERR_LOCUS                                      10,0
179 #define ERR_LOCUS_WrongTopology                        10,2
180 #define ERR_LOCUS_NonViralRNAMoltype                   10,9
181 
182 #define ERR_ORGANISM                                   11,0
183 #define ERR_ORGANISM_NoOrganism                        11,1
184 #define ERR_ORGANISM_HybridOrganism                    11,2
185 #define ERR_ORGANISM_Unclassified                      11,3
186 #define ERR_ORGANISM_MissParen                         11,4
187 #define ERR_ORGANISM_UnknownReplace                    11,5
188 #define ERR_ORGANISM_NoSourceFeatMatch                 11,6
189 #define ERR_ORGANISM_UnclassifiedLineage               11,7
190 #define ERR_ORGANISM_TaxIdNotUnique                    11,10
191 #define ERR_ORGANISM_TaxNameNotFound                   11,11
192 #define ERR_ORGANISM_TaxIdNotSpecLevel                 11,12
193 #define ERR_ORGANISM_NewSynonym                        11,13
194 #define ERR_ORGANISM_NoFormalName                      11,14
195 #define ERR_ORGANISM_Empty                             11,15
196 #define ERR_ORGANISM_Diff                              11,16
197 #define ERR_ORGANISM_SynOrgNameNotSYNdivision          11,17
198 #define ERR_ORGANISM_LineageLacksMetagenome            11,18
199 #define ERR_ORGANISM_OrgNameLacksMetagenome            11,19
200 
201 #define ERR_KEYWORD                                    12,0
202 #define ERR_KEYWORD_MultipleHTGPhases                  12,1
203 #define ERR_KEYWORD_ESTSubstring                       12,2
204 #define ERR_KEYWORD_STSSubstring                       12,3
205 #define ERR_KEYWORD_GSSSubstring                       12,4
206 #define ERR_KEYWORD_ConflictingKeywords                12,5
207 #define ERR_KEYWORD_ShouldNotBeTPA                     12,6
208 #define ERR_KEYWORD_MissingTPA                         12,7
209 #define ERR_KEYWORD_IllegalForCON                      12,8
210 #define ERR_KEYWORD_ShouldNotBeCAGE                    12,9
211 #define ERR_KEYWORD_MissingCAGE                        12,10
212 #define ERR_KEYWORD_NoGeneExpressionKeywords           12,11
213 #define ERR_KEYWORD_ENV_NoMatchingQualifier            12,12
214 #define ERR_KEYWORD_ShouldNotBeTSA                     12,13
215 #define ERR_KEYWORD_MissingTSA                         12,14
216 #define ERR_KEYWORD_HTGPlusENV                         12,15
217 #define ERR_KEYWORD_ShouldNotBeTLS                     12,16
218 #define ERR_KEYWORD_MissingTLS                         12,17
219 
220 #define ERR_DIVISION                                   13,0
221 #define ERR_DIVISION_UnknownDivCode                    13,1
222 #define ERR_DIVISION_MappedtoEST                       13,2
223 #define ERR_DIVISION_MappedtoPAT                       13,3
224 #define ERR_DIVISION_MappedtoSTS                       13,4
225 #define ERR_DIVISION_Mismatch                          13,5
226 #define ERR_DIVISION_MissingESTKeywords                13,6
227 #define ERR_DIVISION_MissingSTSKeywords                13,7
228 #define ERR_DIVISION_MissingPatentRef                  13,8
229 #define ERR_DIVISION_PATHasESTKeywords                 13,9
230 #define ERR_DIVISION_PATHasSTSKeywords                 13,10
231 #define ERR_DIVISION_PATHasCDSFeature                  13,11
232 #define ERR_DIVISION_STSHasCDSFeature                  13,12
233 #define ERR_DIVISION_NotMappedtoSTS                    13,13
234 #define ERR_DIVISION_ESTHasSTSKeywords                 13,14
235 #define ERR_DIVISION_ESTHasCDSFeature                  13,15
236 #define ERR_DIVISION_NotMappedtoEST                    13,16
237 #define ERR_DIVISION_ShouldBeHTG                       13,17
238 #define ERR_DIVISION_MissingGSSKeywords                13,18
239 #define ERR_DIVISION_GSSHasCDSFeature                  13,19
240 #define ERR_DIVISION_NotMappedtoGSS                    13,20
241 #define ERR_DIVISION_MappedtoGSS                       13,21
242 #define ERR_DIVISION_PATHasGSSKeywords                 13,22
243 #define ERR_DIVISION_LongESTSequence                   13,23
244 #define ERR_DIVISION_LongSTSSequence                   13,24
245 #define ERR_DIVISION_LongGSSSequence                   13,25
246 #define ERR_DIVISION_GBBlockDivision                   13,26
247 #define ERR_DIVISION_MappedtoCON                       13,27
248 #define ERR_DIVISION_MissingHTGKeywords                13,28
249 #define ERR_DIVISION_ShouldNotBeHTG                    13,29
250 #define ERR_DIVISION_ConDivInSegset                    13,30
251 #define ERR_DIVISION_ConDivLacksContig                 13,31
252 #define ERR_DIVISION_MissingHTCKeyword                 13,32
253 #define ERR_DIVISION_InvalidHTCKeyword                 13,33
254 #define ERR_DIVISION_HTCWrongMolType                   13,34
255 #define ERR_DIVISION_ShouldBePAT                       13,35
256 #define ERR_DIVISION_BadTPADivcode                     13,36
257 #define ERR_DIVISION_ShouldBeENV                       13,37
258 #define ERR_DIVISION_TGNnotTransgenic                  13,38
259 #define ERR_DIVISION_TransgenicNotSYN_TGN              13,39
260 #define ERR_DIVISION_BadTSADivcode                     13,40
261 #define ERR_DIVISION_NotPatentedSeqId                  13,41
262 
263 #define ERR_DEFINITION                                 15,0
264 #define ERR_DEFINITION_HTGNotInProgress                15,1
265 #define ERR_DEFINITION_DifferingRnaTokens              15,2
266 #define ERR_DEFINITION_HTGShouldBeComplete             15,3
267 #define ERR_DEFINITION_ShouldNotBeTPA                  15,4
268 #define ERR_DEFINITION_MissingTPA                      15,5
269 #define ERR_DEFINITION_ShouldNotBeTSA                  15,6
270 #define ERR_DEFINITION_MissingTSA                      15,7
271 #define ERR_DEFINITION_ShouldNotBeTLS                  15,8
272 #define ERR_DEFINITION_MissingTLS                      15,9
273 
274 #define ERR_REFERENCE                                  16,0
275 #define ERR_REFERENCE_IllegPageRange                   16,3
276 #define ERR_REFERENCE_UnkRefRcToken                    16,4
277 #define ERR_REFERENCE_UnkRefSubType                    16,5
278 #define ERR_REFERENCE_IllegalFormat                    16,6
279 #define ERR_REFERENCE_IllegalAuthorName                16,7
280 #define ERR_REFERENCE_YearEquZero                      16,8
281 #define ERR_REFERENCE_IllegalDate                      16,9
282 #define ERR_REFERENCE_Patent                           16,10
283 #define ERR_REFERENCE_Thesis                           16,12
284 #define ERR_REFERENCE_Book                             16,14
285 #define ERR_REFERENCE_NoContactInfo                    16,15
286 #define ERR_REFERENCE_Illegalreference                 16,16
287 #define ERR_REFERENCE_Fail_to_parse                    16,17
288 #define ERR_REFERENCE_No_references                    16,18
289 #define ERR_REFERENCE_InvalidInPress                   16,22
290 #define ERR_REFERENCE_EtAlInAuthors                    16,24
291 #define ERR_REFERENCE_UnusualPageNumber                16,25
292 #define ERR_REFERENCE_LargePageRange                   16,26
293 #define ERR_REFERENCE_InvertPageRange                  16,27
294 #define ERR_REFERENCE_SingleTokenPageRange             16,28
295 #define ERR_REFERENCE_MissingBookPages                 16,29
296 #define ERR_REFERENCE_MissingBookAuthors               16,30
297 #define ERR_REFERENCE_DateCheck                        16,31
298 #define ERR_REFERENCE_GsdbRefDropped                   16,32
299 #define ERR_REFERENCE_UnusualBookFormat                16,33
300 #define ERR_REFERENCE_ImpendingYear                    16,34
301 #define ERR_REFERENCE_YearPrecedes1950                 16,35
302 #define ERR_REFERENCE_YearPrecedes1900                 16,36
303 #define ERR_REFERENCE_NumKeywordBlk                    16,37
304 #define ERR_REFERENCE_UnparsableLocation               16,38
305 #define ERR_REFERENCE_LongAuthorName                   16,39
306 #define ERR_REFERENCE_MissingAuthors                   16,40
307 #define ERR_REFERENCE_InvalidPmid                      16,41
308 #define ERR_REFERENCE_InvalidMuid                      16,42
309 #define ERR_REFERENCE_CitArtLacksPmid                  16,43
310 #define ERR_REFERENCE_DifferentPmids                   16,44
311 #define ERR_REFERENCE_MuidPmidMissMatch                16,45
312 #define ERR_REFERENCE_MultipleIdentifiers              16,46
313 #define ERR_REFERENCE_MuidIgnored                      16,47
314 #define ERR_REFERENCE_PmidIgnored                      16,48
315 #define ERR_REFERENCE_ArticleIdDiscarded               16,49
316 #define ERR_REFERENCE_UnusualPubStatus                 16,50
317 
318 #define ERR_FEATURE                                    17,0
319 #define ERR_FEATURE_MultFocusedFeats                   17,1
320 #define ERR_FEATURE_ExpectEmptyComment                 17,6
321 #define ERR_FEATURE_DiscardData                        17,7
322 #define ERR_FEATURE_InValidEndPoint                    17,9
323 #define ERR_FEATURE_MissManQual                        17,10
324 #define ERR_FEATURE_NoFeatData                         17,11
325 #define ERR_FEATURE_NoFragment                         17,12
326 #define ERR_FEATURE_NotSeqEndPoint                     17,13
327 #define ERR_FEATURE_OldNonExp                          17,15
328 #define ERR_FEATURE_PartialNoNonTer                    17,16
329 #define ERR_FEATURE_Pos                                17,17
330 #define ERR_FEATURE_TooManyInitMet                     17,20
331 #define ERR_FEATURE_UnEqualEndPoint                    17,22
332 #define ERR_FEATURE_UnknownFeatKey                     17,23
333 #define ERR_FEATURE_UnknownQualSpelling                17,24
334 #define ERR_FEATURE_LocationParsing                    17,30
335 #define ERR_FEATURE_FeatureKeyReplaced                 17,32
336 #define ERR_FEATURE_Dropped                            17,33
337 #define ERR_FEATURE_UnknownDBName                      17,36
338 #define ERR_FEATURE_Duplicated                         17,37
339 #define ERR_FEATURE_NoSource                           17,38
340 #define ERR_FEATURE_MultipleSource                     17,39
341 #define ERR_FEATURE_ObsoleteFeature                    17,40
342 #define ERR_FEATURE_UnparsableLocation                 17,41
343 #define ERR_FEATURE_BadAnticodonLoc                    17,42
344 #define ERR_FEATURE_CDSNotFound                        17,43
345 #define ERR_FEATURE_CannotMapDnaLocToAALoc             17,44
346 #define ERR_FEATURE_BadLocation                        17,45
347 #define ERR_FEATURE_BadOrgRefFeatOnBackbone            17,46
348 #define ERR_FEATURE_DuplicateRemoved                   17,47
349 #define ERR_FEATURE_FourBaseAntiCodon                  17,48
350 #define ERR_FEATURE_StrangeAntiCodonSize               17,49
351 #define ERR_FEATURE_MultipleLocusTags                  17,50
352 #define ERR_FEATURE_InconsistentLocusTagAndGene        17,51
353 #define ERR_FEATURE_MultipleOperonQuals                17,52
354 #define ERR_FEATURE_MissingOperonQual                  17,53
355 #define ERR_FEATURE_OperonQualsNotUnique               17,54
356 #define ERR_FEATURE_InvalidOperonQual                  17,55
357 #define ERR_FEATURE_OperonLocationMisMatch             17,56
358 #define ERR_FEATURE_ObsoleteDbXref                     17,57
359 #define ERR_FEATURE_EmptyOldLocusTag                   17,58
360 #define ERR_FEATURE_RedundantOldLocusTag               17,59
361 #define ERR_FEATURE_OldLocusTagWithoutNew              17,60
362 #define ERR_FEATURE_MatchingOldNewLocusTag             17,61
363 #define ERR_FEATURE_InvalidGapLocation                 17,62
364 #define ERR_FEATURE_OverlappingGaps                    17,63
365 #define ERR_FEATURE_ContiguousGaps                     17,64
366 #define ERR_FEATURE_NsAbutGap                          17,65
367 #define ERR_FEATURE_AllNsBetweenGaps                   17,66
368 #define ERR_FEATURE_InvalidGapSequence                 17,67
369 #define ERR_FEATURE_RequiredQualifierMissing           17,68
370 #define ERR_FEATURE_IllegalEstimatedLength             17,69
371 #define ERR_FEATURE_GapSizeEstLengthMissMatch          17,70
372 #define ERR_FEATURE_UnknownGapNot100                   17,71
373 #define ERR_FEATURE_MoreThanOneCAGEFeat                17,72
374 #define ERR_FEATURE_Invalid_INIT_MET                   17,73
375 #define ERR_FEATURE_INIT_MET_insert                    17,74
376 #define ERR_FEATURE_MissingInitMet                     17,75
377 #define ERR_FEATURE_ncRNA_class                        17,76
378 #define ERR_FEATURE_InvalidSatelliteType               17,77
379 #define ERR_FEATURE_NoSatelliteClassOrIdentifier       17,78
380 #define ERR_FEATURE_PartialNoNonTerNonCons             17,79
381 #define ERR_FEATURE_AssemblyGapAndLegacyGap            17,80
382 #define ERR_FEATURE_InvalidAssemblyGapLocation         17,81
383 #define ERR_FEATURE_InvalidQualifier                   17,82
384 #define ERR_FEATURE_MultipleGenesDifferentLocusTags    17,83
385 #define ERR_FEATURE_InvalidAnticodonPos                17,84
386 #define ERR_FEATURE_InconsistentPseudogene             17,85
387 #define ERR_FEATURE_MultipleWBGeneXrefs                17,86
388 #define ERR_FEATURE_FinishedHTGHasAssemblyGap          17,87
389 #define ERR_FEATURE_MultipleOldLocusTags               17,88
390 
391 #define ERR_LOCATION                                   18,0
392 #define ERR_LOCATION_FailedCheck                       18,1
393 #define ERR_LOCATION_MixedStrand                       18,2
394 #define ERR_LOCATION_PeptideFeatOutOfFrame             18,3
395 #define ERR_LOCATION_AccessionNotTPA                   18,4
396 #define ERR_LOCATION_ContigHasNull                     18,5
397 #define ERR_LOCATION_TransSpliceMixedStrand            18,6
398 #define ERR_LOCATION_AccessionNotTSA                   18,7
399 #define ERR_LOCATION_SeqIdProblem                      18,8
400 #define ERR_LOCATION_TpaAndNonTpa                      18,9
401 #define ERR_LOCATION_CrossDatabaseFeatLoc              18,10
402 #define ERR_LOCATION_RefersToExternalRecord            18,11
403 #define ERR_LOCATION_NCBIRefersToExternalRecord        18,12
404 #define ERR_LOCATION_ContigAndScaffold                 18,13
405 #define ERR_LOCATION_AccessionNotTLS                   18,14
406 
407 #define ERR_GENENAME                                   19,0
408 #define ERR_GENENAME_IllegalGeneName                   19,1
409 #define ERR_GENENAME_DELineGeneName                    19,2
410 
411 #define ERR_BIOSEQSETCLASS                             20,0
412 #define ERR_BIOSEQSETCLASS_NewClass                    20,1
413 
414 #define ERR_CDREGION                                   21,0
415 #define ERR_CDREGION_InternalStopCodonFound            21,2
416 #define ERR_CDREGION_NoProteinSeq                      21,6
417 #define ERR_CDREGION_TerminalStopCodonMissing          21,7
418 #define ERR_CDREGION_TranslationDiff                   21,8
419 #define ERR_CDREGION_TranslationsAgree                 21,9
420 #define ERR_CDREGION_IllegalStart                      21,10
421 #define ERR_CDREGION_GeneticCodeDiff                   21,11
422 #define ERR_CDREGION_UnevenLocation                    21,12
423 #define ERR_CDREGION_ShortProtein                      21,13
424 #define ERR_CDREGION_GeneticCodeAssumed                21,14
425 #define ERR_CDREGION_NoTranslationCompare              21,15
426 #define ERR_CDREGION_TranslationAdded                  21,16
427 #define ERR_CDREGION_InvalidGcodeTable                 21,17
428 #define ERR_CDREGION_ConvertToImpFeat                  21,18
429 #define ERR_CDREGION_BadLocForTranslation              21,19
430 #define ERR_CDREGION_LocationLength                    21,20
431 #define ERR_CDREGION_TranslationOverride               21,21
432 #define ERR_CDREGION_InvalidDb_xref                    21,24
433 #define ERR_CDREGION_Multiple_PID                      21,28
434 #define ERR_CDREGION_TooBad                            21,29
435 #define ERR_CDREGION_MissingProteinId                  21,30
436 #define ERR_CDREGION_MissingProteinVersion             21,31
437 #define ERR_CDREGION_IncorrectProteinVersion           21,32
438 #define ERR_CDREGION_IncorrectProteinAccession         21,33
439 #define ERR_CDREGION_MissingCodonStart                 21,34
440 #define ERR_CDREGION_MissingTranslation                21,35
441 #define ERR_CDREGION_PseudoWithTranslation             21,36
442 #define ERR_CDREGION_UnexpectedProteinId               21,37
443 #define ERR_CDREGION_NCBI_gi_in                        21,38
444 #define ERR_CDREGION_StopCodonOnly                     21,39
445 #define ERR_CDREGION_StopCodonBadInterval              21,40
446 #define ERR_CDREGION_ProteinLenDiff                    21,41
447 #define ERR_CDREGION_SuppliedProteinUsed               21,42
448 #define ERR_CDREGION_IllegalException                  21,43
449 #define ERR_CDREGION_BadTermStopException              21,44
450 #define ERR_CDREGION_BadCodonQualFormat                21,45
451 #define ERR_CDREGION_InvalidCodonQual                  21,46
452 #define ERR_CDREGION_CodonQualifierUsed                21,47
453 #define ERR_CDREGION_UnneededCodonQual                 21,48
454 
455 #define ERR_GENEREF                                    22,0
456 #define ERR_GENEREF_GeneIntervalOverlap                22,1
457 #define ERR_GENEREF_NoUniqMaploc                       22,2
458 #define ERR_GENEREF_BothStrands                        22,3
459 #define ERR_GENEREF_CircularHeuristicFit               22,4
460 #define ERR_GENEREF_CircularHeuristicDoesNotFit        22,5
461 
462 #define ERR_PROTREF                                    23,0
463 #define ERR_PROTREF_NoNameForProtein                   23,1
464 
465 #define ERR_SEQID                                      24,0
466 #define ERR_SEQID_NoSeqId                              24,1
467 
468 #define ERR_SERVER                                     26,0
469 #define ERR_SERVER_NotUsed                             26,1
470 #define ERR_SERVER_Failed                              26,2
471 #define ERR_SERVER_NoLineageFromTaxon                  26,3
472 #define ERR_SERVER_GcFromSuppliedLineage               26,6
473 #define ERR_SERVER_TaxNameWasFound                     26,7
474 #define ERR_SERVER_TaxServerDown                       26,8
475 #define ERR_SERVER_NoTaxLookup                         26,9
476 #define ERR_SERVER_NoPubMedLookup                      26,10
477 
478 #define ERR_SPROT                                      28,0
479 #define ERR_SPROT_DRLine                               28,1
480 #define ERR_SPROT_PELine                               28,2
481 #define ERR_SPROT_DRLineCrossDBProtein                 28,3
482 
483 #define ERR_SOURCE                                     29,0
484 #define ERR_SOURCE_InvalidCountry                      29,1
485 #define ERR_SOURCE_OrganelleQualMultToks               29,2
486 #define ERR_SOURCE_OrganelleIllegalClass               29,3
487 #define ERR_SOURCE_GenomicViralRnaAssumed              29,4
488 #define ERR_SOURCE_UnclassifiedViralRna                29,5
489 #define ERR_SOURCE_LineageImpliesGenomicViralRna       29,6
490 #define ERR_SOURCE_InvalidDbXref                       29,7
491 #define ERR_SOURCE_FeatureMissing                      29,8
492 #define ERR_SOURCE_InvalidLocation                     29,9
493 #define ERR_SOURCE_BadLocation                         29,10
494 #define ERR_SOURCE_NoOrganismQual                      29,11
495 #define ERR_SOURCE_IncompleteCoverage                  29,12
496 #define ERR_SOURCE_ExcessSpanning                      29,13
497 #define ERR_SOURCE_FocusQualNotNeeded                  29,14
498 #define ERR_SOURCE_MultipleOrganismWithFocus           29,15
499 #define ERR_SOURCE_FocusQualMissing                    29,16
500 #define ERR_SOURCE_MultiOrgOverlap                     29,17
501 #define ERR_SOURCE_UnusualLocation                     29,18
502 #define ERR_SOURCE_OrganismIncomplete                  29,19
503 #define ERR_SOURCE_UnwantedQualifiers                  29,20
504 #define ERR_SOURCE_ManySourceFeats                     29,21
505 #define ERR_SOURCE_MissingSourceFeatureForDescr        29,22
506 #define ERR_SOURCE_FocusAndTransposonNotAllowed        29,23
507 #define ERR_SOURCE_FocusQualNotFullLength              29,24
508 #define ERR_SOURCE_UnusualOrgName                      29,25
509 #define ERR_SOURCE_QualUnknown                         29,26
510 #define ERR_SOURCE_QualDiffValues                      29,27
511 #define ERR_SOURCE_IllegalQual                         29,28
512 #define ERR_SOURCE_NotFound                            29,29
513 #define ERR_SOURCE_GeneticCode                         29,30
514 #define ERR_SOURCE_TransgenicTooShort                  29,31
515 #define ERR_SOURCE_FocusAndTransgenicQuals             29,32
516 #define ERR_SOURCE_MultipleTransgenicQuals             29,33
517 #define ERR_SOURCE_ExcessCoverage                      29,34
518 #define ERR_SOURCE_TransSingleOrgName                  29,35
519 #define ERR_SOURCE_PartialLocation                     29,37
520 #define ERR_SOURCE_PartialQualifier                    29,38
521 #define ERR_SOURCE_SingleSourceTooShort                29,39
522 #define ERR_SOURCE_InconsistentMolType                 29,40
523 #define ERR_SOURCE_MultipleMolTypes                    29,41
524 #define ERR_SOURCE_InvalidMolType                      29,42
525 #define ERR_SOURCE_MolTypesDisagree                    29,43
526 #define ERR_SOURCE_MolTypeSeqTypeConflict              29,44
527 #define ERR_SOURCE_MissingMolType                      29,45
528 #define ERR_SOURCE_UnknownOXType                       29,46
529 #define ERR_SOURCE_InvalidNcbiTaxID                    29,47
530 #define ERR_SOURCE_NoNcbiTaxIDLookup                   29,48
531 #define ERR_SOURCE_NcbiTaxIDLookupFailure              29,49
532 #define ERR_SOURCE_ConflictingGenomes                  29,50
533 #define ERR_SOURCE_OrgNameVsTaxIDMissMatch             29,52
534 #define ERR_SOURCE_InconsistentEnvSampQual             29,53
535 #define ERR_SOURCE_MissingEnvSampQual                  29,54
536 #define ERR_SOURCE_MissingPlasmidName                  29,55
537 #define ERR_SOURCE_UnknownOHType                       29,56
538 #define ERR_SOURCE_IncorrectOHLine                     29,57
539 #define ERR_SOURCE_HostNameVsTaxIDMissMatch            29,58
540 #define ERR_SOURCE_ObsoleteDbXref                      29,59
541 #define ERR_SOURCE_InvalidCollectionDate               29,60
542 #define ERR_SOURCE_FormerCountry                       29,61
543 #define ERR_SOURCE_MultipleSubmitterSeqids             29,62
544 #define ERR_SOURCE_DifferentSubmitterSeqids            29,63
545 #define ERR_SOURCE_LackingSubmitterSeqids              29,64
546 #define ERR_SOURCE_SubmitterSeqidNotAllowed            29,65
547 #define ERR_SOURCE_SubmitterSeqidDropped               29,66
548 #define ERR_SOURCE_SubmitterSeqidIgnored               29,67
549 
550 #define ERR_QSCORE                                     30,0
551 #define ERR_QSCORE_MissingByteStore                    30,1
552 #define ERR_QSCORE_NonLiteralDelta                     30,2
553 #define ERR_QSCORE_UnknownDelta                        30,3
554 #define ERR_QSCORE_EmptyLiteral                        30,4
555 #define ERR_QSCORE_ZeroLengthLiteral                   30,5
556 #define ERR_QSCORE_MemAlloc                            30,6
557 #define ERR_QSCORE_NonZeroInGap                        30,7
558 #define ERR_QSCORE_InvalidArgs                         30,8
559 #define ERR_QSCORE_BadBioseqLen                        30,9
560 #define ERR_QSCORE_BadBioseqId                         30,10
561 #define ERR_QSCORE_BadQscoreRead                       30,11
562 #define ERR_QSCORE_BadDefline                          30,12
563 #define ERR_QSCORE_NoAccession                         30,13
564 #define ERR_QSCORE_NoSeqVer                            30,14
565 #define ERR_QSCORE_NoTitle                             30,15
566 #define ERR_QSCORE_BadLength                           30,16
567 #define ERR_QSCORE_BadMinMax                           30,17
568 #define ERR_QSCORE_BadScoreLine                        30,18
569 #define ERR_QSCORE_ScoresVsLen                         30,19
570 #define ERR_QSCORE_ScoresVsBspLen                      30,20
571 #define ERR_QSCORE_BadMax                              30,21
572 #define ERR_QSCORE_BadMin                              30,22
573 #define ERR_QSCORE_BadTitle                            30,23
574 #define ERR_QSCORE_OutOfScores                         30,24
575 #define ERR_QSCORE_NonByteGraph                        30,25
576 #define ERR_QSCORE_FailedToParse                       30,26
577 #define ERR_QSCORE_DoubleSlash                         30,27
578 
579 #define ERR_TITLE                                      31,0
580 #define ERR_TITLE_NumKeywordBlk                        31,1
581 
582 #define ERR_SUMMARY                                    32,0
583 #define ERR_SUMMARY_NumKeywordBlk                      32,1
584 
585 #define ERR_TPA                                        33,0
586 #define ERR_TPA_InvalidPrimarySpan                     33,1
587 #define ERR_TPA_InvalidPrimarySeqId                    33,2
588 #define ERR_TPA_InvalidPrimaryBlock                    33,3
589 #define ERR_TPA_IncompleteCoverage                     33,4
590 #define ERR_TPA_SpanLengthDiff                         33,5
591 #define ERR_TPA_SpanDiffOver300bp                      33,6
592 #define ERR_TPA_TpaSpansMissing                        33,7
593 
594 #define ERR_DRXREF                                     34,0
595 #define ERR_DRXREF_UnknownDBname                       34,1
596 #define ERR_DRXREF_InvalidBioSample                    34,2
597 #define ERR_DRXREF_DuplicatedBioSamples                34,3
598 #define ERR_DRXREF_InvalidSRA                          34,4
599 #define ERR_DRXREF_DuplicatedSRA                       34,5
600 
601 #define ERR_TSA                                        35,0
602 #define ERR_TSA_InvalidPrimarySpan                     35,1
603 #define ERR_TSA_InvalidPrimarySeqId                    35,2
604 #define ERR_TSA_InvalidPrimaryBlock                    35,3
605 #define ERR_TSA_IncompleteCoverage                     35,4
606 #define ERR_TSA_SpanLengthDiff                         35,5
607 #define ERR_TSA_SpanDiffOver300bp                      35,6
608 #define ERR_TSA_UnexpectedPrimaryAccession             35,7
609 
610 #define ERR_DBLINK                                     36,0
611 #define ERR_DBLINK_InvalidIdentifier                   36,1
612 #define ERR_DBLINK_DuplicateIdentifierRemoved          36,2
613 
614 #endif
615