39 #ifndef OBJECTS_VALERR_VALIDERRITEM_HPP
40 #define OBJECTS_VALERR_VALIDERRITEM_HPP
57 #define ERR_CODE_BEGIN(x) x##BEGIN
58 #define ERR_CODE_END(x) x##END
827 const string GetErrCode()
const;
828 static size_t GetErrCount();
830 const string GetErrGroup()
const;
832 const string GetVerbose()
const;
835 bool IsSetObject()
const;
839 static const string& ConvertSeverity(
EDiagSev sev);
841 static const string& ConvertErrGroup(
unsigned int);
844 static unsigned int ConvertToErrCode(
const string&
str);
846 bool IsSetContext()
const;
851 void SetFeatureObjDescFromFields();
859 const string& obj_desc,
864 const int seq_offset = 0);
877 static const string sm_Terse[];
878 static const string sm_Verbose[];
@ eErr_SEQ_ALIGN_SegsDimSeqIdNotMatch
@ eErr_SEQ_PKG_PartsSetMixedBioseqs
@ eErr_SEQ_DESCR_StructuredCommentPrefixOrSuffixMissing
@ eErr_SEQ_DESCR_DBLinkBadBioSample
@ eErr_SEQ_FEAT_WrongQualOnImpFeat
@ eErr_SEQ_FEAT_NotSpliceConsensusAcceptor
@ eErr_SEQ_DESCR_BadPlastidName
@ eErr_SEQ_DESCR_ObsoleteSourceQual
@ eErr_SEQ_FEAT_PartialProblemMismatch5Prime
@ eErr_SEQ_FEAT_rRNADoesNotHaveProduct
@ eErr_SEQ_GRAPH_GraphACGTScoreMany
@ eErr_SEQ_DESCR_MissingEnvironmentalSample
@ eErr_SEQ_INST_HighNContent
@ eErr_SEQ_DESCR_ObsoleteSourceLocation
@ eErr_SEQ_FEAT_CDSmRNAmismatch
@ eErr_SEQ_INST_HTGS_STS_GSS_WGSshouldNotBeRNA
@ eErr_SEQ_INST_BadDeltaSeq
@ eErr_SEQ_DESCR_TaxonomyConsultRequired
@ eErr_SEQ_DESCR_InconsistentBioSources_ConLocation
@ eErr_SEQ_INST_FarFetchFailure
@ eErr_SEQ_FEAT_WholeLocation
@ eErr_SEQ_FEAT_mRNAgeneRange
@ eErr_SEQ_FEAT_SegmentedGeneProblem
@ eErr_SEQ_DESCR_BINDoesNotMatch
@ eErr_SEQ_DESCR_MissingPlasmidLocation
@ eErr_SEQ_DESCR_FinishedStatusForWGS
@ eErr_SEQ_DESCR_InconsistentTaxName
@ eErr_GENERIC_MissingPubRequirement
@ eErr_GENERIC_MissingVolume
@ eErr_SEQ_DESCR_DBLinkBadCapitalization
@ eErr_SEQ_PKG_InconsistentMolInfoBiomols
@ eErr_SEQ_FEAT_MobileElementInvalidQualifier
@ eErr_SEQ_FEAT_EcNumberProblem
@ eErr_SEQ_FEAT_TRNAinsideTMRNA
@ eErr_SEQ_FEAT_DuplicateAnticodonInterval
@ eErr_SEQ_INST_CompleteGenomeHasGaps
@ eErr_SEQ_INST_BadSeqIdCharacter
@ eErr_SEQ_FEAT_CDShasTooManyXs
@ eErr_SEQ_FEAT_ShortTRNAIntron
@ eErr_SEQ_FEAT_TranslExceptPhase
@ eErr_SEQ_FEAT_MinusStrandProtein
@ eErr_SEQ_FEAT_NotSpliceConsensusDonor
@ eErr_GENERIC_AuthorListHasEtAl
@ eErr_SEQ_INST_CompleteTitleProblem
@ eErr_SEQ_INST_HistoryGiCollision
@ eErr_SEQ_DESCR_BadNullCountry
@ eErr_SEQ_DESCR_UnwantedCompleteFlag
@ eErr_SEQ_INST_mRNAshouldBeSingleStranded
@ eErr_SEQ_FEAT_GeneXrefWithoutLocus
@ eErr_SEQ_FEAT_MultipleGenCodes
@ eErr_SEQ_DESCR_DBLinkBadAssembly
@ eErr_SEQ_FEAT_BadLocation
@ eErr_SEQ_DESCR_InvalidTissueType
@ eErr_SEQ_ALIGN_LenLessthanZero
@ eErr_SEQ_FEAT_GenesInconsistent
@ eErr_SEQ_DESCR_BadStrucCommInvalidSuffix
@ eErr_SEQ_DESCR_WGSmasterLacksBioProject
@ eErr_SEQ_DESCR_LatLonWater
@ eErr_SEQ_FEAT_FeatureRefersToAccession
@ eErr_SEQ_INST_HighNContentStretch
@ eErr_SEQ_PKG_NoBioseqFound
@ eErr_SEQ_DESCR_TaxonomyServiceProblem
@ eErr_SEQ_INST_HighNcontent3Prime
@ eErr_SEQ_INST_TerminalGap
@ eErr_SEQ_FEAT_PseudoRnaHasProduct
@ eErr_SEQ_FEAT_EcNumberDataMissing
@ eErr_SEQ_DESCR_InconsistentBioSources
@ eErr_SEQ_GRAPH_GraphDiffNumber
@ eErr_SEQ_FEAT_InvalidProductOnGene
@ eErr_SEQ_INST_MultipleAccessions
@ eErr_GENERIC_PastReleaseDate
@ eErr_SEQ_DESCR_BioSourceDbTagConflict
@ eErr_SEQ_DESCR_MultipleDBLinkObjects
@ eErr_SEQ_INST_BadProteinStart
@ eErr_SEQ_FEAT_BadRRNAcomponentOverlapTRNA
@ eErr_SEQ_FEAT_mRNAUnnecessaryException
@ eErr_SEQ_FEAT_UnknownImpFeatQual
@ eErr_SEQ_FEAT_DuplicateExonInterval
@ eErr_GENERIC_UnnecessaryPubEquiv
@ eErr_SEQ_FEAT_PartialProblem3Prime
@ eErr_SEQ_DESCR_BadGenomeRepresentation
@ eErr_SEQ_FEAT_ProductShouldBeWhole
@ eErr_SEQ_DESCR_InconsistentMolTypeBiomol
@ eErr_GENERIC_InvalidAsn
@ eErr_SEQ_INST_ProteinShouldNotHaveGaps
@ eErr_SEQ_GRAPH_GraphNScore
@ eErr_SEQ_INST_ESTshouldBemRNA
@ eErr_SEQ_DESCR_TaxonomyBlankSample
@ eErr_SEQ_DESCR_MissingPersonalCollectionName
@ eErr_SEQ_FEAT_InvalidCodonStart
@ eErr_SEQ_DESCR_BadKeywordUnverified
@ eErr_SEQ_FEAT_ITSdoesNotAbutRRNA
@ eErr_SEQ_DESCR_BioSourceOnProtein
@ eErr_SEQ_DESCR_LatLonRange
@ eErr_SEQ_DESCR_MultipleBioSources
@ eErr_SEQ_FEAT_SuspiciousFrame
@ eErr_SEQ_DESCR_InconsistentProteinTitle
@ eErr_SEQ_FEAT_InvalidCompareBadAccession
@ eErr_SEQ_FEAT_UnnecessaryTranslExcept
@ eErr_SEQ_DESCR_InvalidMolInfo
@ eErr_SEQ_FEAT_InvalidFeatureForNucleotide
@ eErr_SEQ_DESCR_InconsistentMolInfoTechnique
@ eErr_GENERIC_BarcodeStructuredVoucher
@ eErr_SEQ_GRAPH_GraphBioseqId
@ eErr_SEQ_FEAT_InvalidCompareMissingVersion
@ eErr_SEQ_DESCR_NoOrganismInTitle
@ eErr_SEQ_FEAT_InvalidRptUnitRange
@ eErr_SEQ_DESCR_LatLonPrecision
@ eErr_SEQ_DESCR_InconsistentMolInfo
@ eErr_SEQ_FEAT_MixedStrand
@ eErr_SEQ_INST_TSAMasterLacksStrucComm
@ eErr_SEQ_DESCR_BadAssemblyName
@ eErr_SEQ_INST_WholeComponent
@ eErr_SEQ_FEAT_BadRRNAcomponentOrder
@ eErr_SEQ_DESCR_DuplicatePCRPrimerSequence
@ eErr_SEQ_FEAT_BadGeneOntologyFormat
@ eErr_SEQ_INST_ReprInvalid
@ eErr_SEQ_INST_GenomeSeqGapProblem
@ eErr_SEQ_DESCR_LatLonCountry
@ eErr_GENERIC_MissingPubInfo
@ eErr_SEQ_PKG_NucProtSetHasTitle
@ eErr_SEQ_DESCR_RefGeneTrackingOnNucProtSet
@ eErr_SEQ_INST_TSAseqGapProblem
@ eErr_SEQ_FEAT_IllegalDbXref
@ eErr_SEQ_ALIGN_AlignDimSeqIdNotMatch
@ eErr_SEQ_FEAT_MultipleBioseqs
@ eErr_SEQ_DESCR_StrucCommMissingUserObject
@ eErr_GENERIC_SgmlPresentInText
@ eErr_GENERIC_DuplicateIDs
@ eErr_SEQ_DESCR_LatLonAdjacent
@ eErr_SEQ_ALIGN_SeqIdProblem
@ eErr_SEQ_INST_HTGS_STS_GSS_WGSshouldBeGenomic
@ eErr_GENERIC_MissingPagesEpub
@ eErr_GENERIC_MissingISOJTA
@ eErr_SEQ_FEAT_PartialsInconsistentCDSProtein
@ eErr_SEQ_DESCR_BadStrucCommInvalidFieldName
@ eErr_SEQ_PKG_SegSetProblem
@ eErr_SEQ_DESCR_EmptyOrgInput
@ eErr_SEQ_INST_SeqLitDataLength0
@ eErr_SEQ_FEAT_BadAnticodonAA
@ eErr_SEQ_FEAT_MissingCDSproduct
@ eErr_SEQ_DESCR_BadStrucCommInvalidFieldValue
@ eErr_SEQ_GRAPH_GraphOverlap
@ eErr_SEQ_INST_CircBactGenomeProblem
@ eErr_SEQ_FEAT_RnaProductMismatch
@ eErr_SEQ_DESCR_UnstructuredVoucher
@ eErr_SEQ_INST_WGSMasterLacksStrucComm
@ eErr_SEQ_DESCR_BadVariety
@ eErr_SEQ_FEAT_FeatureBeginsOrEndsInGap
@ eErr_SEQ_DESCR_BadInstitutionGeoLocName
@ eErr_SEQ_FEAT_TranslExceptAndRnaEditing
@ eErr_SEQ_DESCR_LatLonOffshore
@ eErr_SEQ_ALIGN_SegsStartsMismatch
@ eErr_SEQ_DESCR_TaxonomyNucleomorphProblem
@ eErr_SEQ_INST_ContigsTooShort
@ eErr_GENERIC_BarcodeTooManyNs
@ eErr_SEQ_FEAT_EcNumberInProteinName
@ eErr_SEQ_GRAPH_GraphByteLen
@ eErr_SEQ_DESCR_BadTypeMaterial
@ eErr_SEQ_FEAT_InvalidTRNAdata
@ eErr_SEQ_PKG_BioseqSetClassNotSet
@ eErr_SEQ_FEAT_SuspiciousGeneXref
@ eErr_SEQ_DESCR_NoMolInfoFound
@ eErr_SEQ_DESCR_OrgModMissingValue
@ eErr_SEQ_FEAT_UnnecessaryException
@ eErr_SEQ_DESCR_SerialInComment
@ eErr_SEQ_FEAT_AssemblyGapFeatureProblem
@ eErr_SEQ_FEAT_OldLocusTagWithoutLocusTag
@ eErr_SEQ_PKG_OrphanedProtein
@ eErr_SEQ_DESCR_NoOrgFound
@ eErr_SEQ_FEAT_NotSpliceConsensusAcceptorTerminalIntron
@ eErr_SEQ_INST_SeqGapBadLinkage
@ eErr_SEQ_FEAT_AnticodonMixedStrand
@ eErr_SEQ_FEAT_PartialProblemMismatch3Prime
@ eErr_SEQ_DESCR_BadPunctuation
@ eErr_SEQ_FEAT_UnparsedtRNAProduct
@ eErr_SEQ_FEAT_MissingProteinName
@ eErr_SEQ_DESCR_BadPCRPrimerSequence
@ eErr_SEQ_FEAT_InconsistentPseudogeneValue
@ eErr_SEQ_FEAT_GeneXrefWithoutGene
@ eErr_SEQ_ALIGN_PercentIdentity
@ eErr_SEQ_INST_SelfReferentialSequence
@ eErr_SEQ_DESCR_TransgenicProblem
@ eErr_SEQ_INST_DeltaComponentIsGi0
@ eErr_GENERIC_BarcodeLowTrace
@ eErr_SEQ_FEAT_ReplacedEcNumber
@ eErr_SEQ_PKG_MissingSetTitle
@ eErr_SEQ_DESCR_UnnecessaryBioSourceFocus
@ eErr_SEQ_FEAT_PartialsInconsistent
@ eErr_SEQ_FEAT_InvalidQualifierValue
@ eErr_SEQ_FEAT_CDSmRNANotMatched
@ eErr_GENERIC_BadPageNumbering
@ eErr_SEQ_FEAT_FeatContentDup
@ eErr_SEQ_INST_MolNotSet
@ eErr_SEQ_DESCR_WGSMasterLacksBothBioSampleBioProject
@ eErr_SEQ_INST_GiWithoutAccession
@ eErr_SEQ_DESCR_RefGeneTrackingIllegalStatus
@ eErr_SEQ_DESCR_TitleMissingText
@ eErr_SEQ_FEAT_GeneOntologyTermMissingGOID
@ eErr_SEQ_FEAT_DuplicateGeneOntologyTerm
@ eErr_SEQ_FEAT_ProtRefHasNoData
@ eErr_SEQ_GRAPH_GraphSeqLocLen
@ eErr_SEQ_ANNOT_AnnotIDs
@ eErr_SEQ_INST_MissingGaps
@ eErr_SEQ_FEAT_SeqLocTypeProblem
@ eErr_SEQ_FEAT_NotSpliceConsensusDonorTerminalIntron
@ eErr_SEQ_DESCR_InvalidForType
@ eErr_SEQ_PKG_PartsSetHasSets
@ eErr_SEQ_DESCR_LatLonValue
@ eErr_SEQ_FEAT_BadRRNAcomponentOverlapRRNA
@ eErr_SEQ_DESCR_FastaBracketTitle
@ eErr_SEQ_FEAT_InternalStop
@ eErr_SEQ_FEAT_FeatureCitationProblem
@ eErr_SEQ_FEAT_MisMatchAA
@ eErr_SEQ_DESCR_OrganismIsUndefinedSpecies
@ eErr_SEQ_INST_StopInProtein
@ eErr_SEQ_DESCR_TaxonomyPlastidsProblem
@ eErr_SEQ_DESCR_IdenticalInstitutionCode
@ eErr_SEQ_PKG_ImproperlyNestedSets
@ eErr_SEQ_FEAT_BadTrnaAA
@ eErr_SEQ_DESCR_BacteriaMissingSourceQualifier
@ eErr_GENERIC_MissingPages
@ eErr_SEQ_INST_UnknownLengthGapNot100
@ eErr_SEQ_FEAT_WrongQualOnFeature
@ eErr_SEQ_DESCR_BadCountryCapitalization
@ eErr_SEQ_FEAT_MultipleProtRefs
@ eErr_SEQ_GRAPH_GraphGapScore
@ eErr_GENERIC_MedlineEntryPub
@ eErr_SEQ_FEAT_ProductFetchFailure
@ eErr_SEQ_FEAT_MultipleEquivPublications
@ eErr_SEQ_ALIGN_DensegLenStart
@ eErr_SEQ_PKG_SeqSubmitWithWgsSet
@ eErr_SEQ_FEAT_InconsistentPseudogeneCounts
@ eErr_SEQ_PKG_InconsistentMoltypeSet
@ eErr_SEQ_INST_ConflictingBiomolTech
@ eErr_SEQ_FEAT_MismatchedAllele
@ eErr_SEQ_FEAT_RepeatSeqDoNotMatch
@ eErr_SEQ_DESCR_DBLinkProblem
@ eErr_SEQ_FEAT_MissingQualOnImpFeat
@ eErr_SEQ_FEAT_InvalidRptUnitSeqCharacters
@ eErr_GENERIC_BarcodeMissingCountry
@ eErr_SEQ_PKG_INSDRefSeqPackaging
@ eErr_SEQ_FEAT_GenCodeMismatch
@ eErr_SEQ_FEAT_TranscriptLen
@ eErr_SEQ_FEAT_RubiscoProblem
@ eErr_SEQ_FEAT_InvalidAlleleDuplicates
@ eErr_SEQ_FEAT_ImpCDSnotPseudo
@ eErr_SEQ_FEAT_LocusCollidesWithLocusTag
@ eErr_SEQ_INST_InvalidLen
@ eErr_SEQ_FEAT_PseudoCdsHasProduct
@ eErr_SEQ_DESCR_TPAassemblyWithoutTPAKeyword
@ eErr_SEQ_PKG_GPSnonGPSPackaging
@ eErr_SEQ_DESCR_InvalidForTypeGIBB
@ eErr_SEQ_FEAT_InvalidFeatureForProtein
@ eErr_SEQ_FEAT_BadCDScomponentOverlapTRNA
@ eErr_SEQ_FEAT_BadEcNumberValue
@ eErr_SEQ_FEAT_EcNumberEmpty
@ eErr_SEQ_INST_HighNContentPercent
@ eErr_SEQ_DESCR_RefGeneTrackingOnNonRefSeq
@ eErr_SEQ_DESCR_BadCollectionDate
@ eErr_SEQ_FEAT_ImpCDShasTranslation
@ eErr_SEQ_FEAT_IdenticalGeneSymbolAndSynonym
@ eErr_SEQ_FEAT_MultipleEquivBioSources
@ eErr_SEQ_FEAT_ProductLength
@ eErr_SEQ_FEAT_CdTransFail
@ eErr_SEQ_FEAT_BadCDScomment
@ eErr_SEQ_INST_HighNcontent5Prime
@ eErr_SEQ_DESCR_StrainContainsTaxInfo
@ eErr_SEQ_FEAT_CDSwithNoMRNAOverlap
@ eErr_SEQ_DESCR_BadInstitutionCode
@ eErr_SEQ_FEAT_NoProtein
@ eErr_SEQ_FEAT_MultipleCDSproducts
@ eErr_SEQ_FEAT_PeptideFeatOutOfFrame
@ eErr_SEQ_INST_TSAshouldBNotBeDNA
@ eErr_SEQ_DESCR_MissingChromosome
@ eErr_SEQ_FEAT_ProteinNameHasPMID
@ eErr_SEQ_FEAT_ImpFeatBadLoc
@ eErr_SEQ_FEAT_EcNumberInCDSComment
@ eErr_SEQ_DESCR_MoltypeUnknown
@ eErr_SEQ_FEAT_MissingQualOnFeature
@ eErr_SEQ_FEAT_ShortExon
@ eErr_SEQ_INST_BadProteinMoltype
@ eErr_SEQ_FEAT_PolyAsiteNotPoint
@ eErr_SEQ_FEAT_RepeatRegionNeedsNote
@ eErr_SEQ_DESCR_BadAltitude
@ eErr_SEQ_FEAT_StartCodon
@ eErr_SEQ_FEAT_FeatureLocationIsGi0
@ eErr_SEQ_DESCR_NucleotideTechniqueOnProtein
@ eErr_SEQ_PKG_InconsistentAutodef
@ eErr_SEQ_FEAT_SuspiciousQualifierValue
@ eErr_SEQ_FEAT_GeneXrefStrandProblem
@ eErr_SEQ_FEAT_NotSpliceConsensus
@ eErr_GENERIC_BarcodeFrameShift
@ eErr_SEQ_INST_CompleteCircleProblem
@ eErr_SEQ_DESCR_LatLonGeoLocName
@ eErr_SEQ_FEAT_PolyATail
@ eErr_SEQ_FEAT_MissingTrnaAA
@ eErr_SEQ_DESCR_TaxonomyNoCommonAncestor
@ eErr_GENERIC_NonAsciiAsn
@ eErr_SEQ_FEAT_CDSwithMultipleMRNAs
@ eErr_SEQ_FEAT_CDSmRNAMismatchProteinIDs
@ eErr_SEQ_GRAPH_GraphNScoreMany
@ eErr_SEQ_FEAT_InvalidOperonMatchesGene
@ eErr_SEQ_FEAT_UnparsedtRNAAnticodon
@ eErr_SEQ_FEAT_CollidingFeatureIDs
@ eErr_SEQ_DESCR_TitleHasPMID
@ eErr_SEQ_FEAT_RefSeqInText
@ eErr_SEQ_DESCR_IncorrectlyFormattedVoucherID
@ eErr_SEQ_DESCR_StrainWithEnvironSample
@ eErr_SEQ_FEAT_OrfCdsHasProduct
@ eErr_SEQ_DESCR_BadStrucCommMultipleFields
@ eErr_SEQ_FEAT_CDSmRNAMismatchTranscriptIDs
@ eErr_SEQ_FEAT_PartialProblemOrganelle3Prime
@ eErr_SEQ_ALIGN_AlignDimOne
@ eErr_SEQ_FEAT_ErroneousException
@ eErr_SEQ_FEAT_ImproperBondLocation
@ eErr_SEQ_FEAT_InvalidPseudoQualifier
@ eErr_SEQ_PKG_GraphPackagingProblem
@ eErr_SEQ_FEAT_ExtendablePartialProblem
@ eErr_SEQ_FEAT_FeatureSeqIDCaseDifference
@ eErr_SEQ_DESCR_BadNullCollectionDate
@ eErr_SEQ_FEAT_SeqFeatXrefFeatureMissing
@ eErr_SEQ_INST_OverlappingDeltaRange
@ eErr_SEQ_FEAT_BadProductSeqId
@ eErr_SEQ_FEAT_PeptideFeatureLacksCDS
@ eErr_SEQ_FEAT_InvalidCompareRefSeqAccession
@ eErr_SEQ_FEAT_OverlappingPeptideFeat
@ eErr_SEQ_DESCR_BadKeywordNoTechnique
@ eErr_SEQ_DESCR_OrganismNotFound
@ eErr_SEQ_FEAT_BadTranssplicedInterval
@ eErr_SEQ_FEAT_InvalidReplace
@ eErr_SEQ_FEAT_ExtraProteinFeature
@ eErr_SEQ_INST_SeqLocLength
@ eErr_SEQ_INST_FarLocationExcludesFeatures
@ eErr_SEQ_DESCR_InconsistentVirusMoltype
@ eErr_SEQ_ALIGN_SegsDimOne
@ eErr_SEQ_DESCR_MultipleTaxonIDs
@ eErr_SEQ_INST_IdOnMultipleBioseqs
@ eErr_SEQ_FEAT_GeneOnNucPositionOfPeptide
@ eErr_SEQ_DESCR_MoltypeOtherGenetic
@ eErr_SEQ_DESCR_BadKeyword
@ eErr_SEQ_INST_HighNpercent3Prime
@ eErr_SEQ_INST_SeqPortFail
@ eErr_SEQ_FEAT_UnknownImpFeatKey
@ eErr_SEQ_FEAT_DuplicateTranslExcept
@ eErr_SEQ_INST_BadSecondaryAccn
@ eErr_SEQ_DESCR_NoPubFound
@ eErr_SEQ_DESCR_BadInstitutionCountry
@ eErr_SEQ_DESCR_MissingPlasmidName
@ eErr_SEQ_INST_InvalidAlphabet
@ eErr_SEQ_FEAT_IdenticalMRNAtranscriptIDs
@ eErr_SEQ_ALIGN_LenMorethanBiolen
@ eErr_SEQ_FEAT_CDSonMinusStrandMRNA
@ eErr_SEQ_DESCR_UnculturedNeedsEnvSample
@ eErr_SEQ_DESCR_BadTentativeName
@ eErr_SEQ_PKG_SegSetNotParts
@ eErr_SEQ_INST_MolNuclAcid
@ eErr_SEQ_DESCR_MoltypeOther
@ eErr_SEQ_DESCR_BadPlasmidChromosomeLinkageName
@ eErr_SEQ_GRAPH_GraphSeqLitLen
@ eErr_SEQ_DESCR_Inconsistent
@ eErr_SEQ_INST_ExtNotAllowed
@ eErr_SEQ_DESCR_BadTextInSourceQualifier
@ eErr_SEQ_DESCR_SuspectedContaminatedCellLine
@ eErr_SEQ_DESCR_InconsistentRefSeqMoltype
@ eErr_SEQ_PKG_ArchaicFeatureLocation
@ eErr_SEQ_GRAPH_GraphMax
@ eErr_SEQ_FEAT_PartialProblemHasStop
@ eErr_SEQ_DESCR_AmbiguousSpecificHost
@ eErr_SEQ_DESCR_StrucCommMissingPrefixOrSuffix
@ eErr_SEQ_DESCR_TaxonomyNoValidTaxids
@ eErr_SEQ_DESCR_BadGeoLocNameCapitalization
@ eErr_SEQ_FEAT_AssemblyGapCoversSequence
@ eErr_GENERIC_BarcodeTestFails
@ eErr_SEQ_FEAT_PseudoCdsViaGeneHasProduct
@ eErr_SEQ_FEAT_CodonQualifierUsed
@ eErr_SEQ_FEAT_PartialProblem5Prime
@ eErr_SEQ_FEAT_NestedSeqLocMix
@ eErr_SEQ_FEAT_ShortIntron
@ eErr_SEQ_ALIGN_BlastAligns
@ eErr_SEQ_INST_LongHtgsSequence
@ eErr_SEQ_ALIGN_SegsNumsegMismatch
@ eErr_SEQ_FEAT_SplitEcNumber
@ eErr_SEQ_FEAT_AssemblyGapAdjacentToNs
@ eErr_SEQ_FEAT_InvalidPunctuation
@ eErr_SEQ_FEAT_RareSpliceConsensusDonor
@ eErr_SEQ_FEAT_LocusTagProductMismatch
@ eErr_SEQ_FEAT_CDSmRNAMismatchLocation
@ eErr_SEQ_FEAT_UnknownFeatureQual
@ eErr_SEQ_DESCR_ChromosomeWithoutLocation
@ eErr_SEQ_ALIGN_UnexpectedAlignmentType
@ eErr_SEQ_DESCR_MultipleChromosomes
@ eErr_SEQ_FEAT_ExceptionRequiresLocusTag
@ eErr_SEQ_GRAPH_GraphLocInvalid
@ eErr_SEQ_DESCR_StructuredSourceNote
@ eErr_GENERIC_BarcodeBadCollectionDate
@ eErr_SEQ_FEAT_TranscriptMismatches
@ eErr_SEQ_FEAT_InconsistentGeneOntologyTermAndId
@ eErr_SEQ_INST_TrailingX
@ eErr_SEQ_DESCR_InvalidMatingType
@ eErr_SEQ_PKG_MisplacedMolInfo
@ eErr_GENERIC_EmbeddedScript
@ eErr_SEQ_DESCR_InconsistentDates
@ eErr_GENERIC_BarcodeTestPasses
@ eErr_SEQ_GRAPH_GraphAbove
@ eErr_SEQ_ALIGN_SegmentGap
@ eErr_SEQ_FEAT_IncorrectQualifierCapitalization
@ eErr_SEQ_FEAT_InvalidNumberQualifier
@ eErr_SEQ_GRAPH_GraphBioseqLen
@ eErr_SEQ_INST_CircularProtein
@ eErr_SEQ_DESCR_WrongBiomolForTSA
@ eErr_SEQ_INST_NoIdOnBioseq
@ eErr_SEQ_FEAT_FeatureInsideGap
@ eErr_SEQ_DESCR_AmbiguousModForward
@ eErr_SEQ_FEAT_DifferntIdTypesInSeqLoc
@ eErr_SEQ_DESCR_BadStrucCommMissingField
@ eErr_SEQ_DESCR_BadSubSource
@ eErr_SEQ_FEAT_InvalidRNAFeature
@ eErr_SEQ_FEAT_tRNArange
@ eErr_SEQ_FEAT_GeneIdMismatch
@ eErr_SEQ_ALIGN_SumLenStart
@ eErr_SEQ_INST_PartsOutOfOrder
@ eErr_GENERIC_StructuredCitGenCit
@ eErr_SEQ_FEAT_MissingMRNAproduct
@ eErr_SEQ_FEAT_tRNAmRNAmixup
@ eErr_SEQ_DESCR_DBLinkOnSet
@ eErr_SEQ_FEAT_BadFullLengthFeature
@ eErr_SEQ_ALIGN_NullSegs
@ eErr_SEQ_FEAT_LocOnSegmentedBioseq
@ eErr_SEQ_DESCR_InconsistentGenBankblocks
@ eErr_SEQ_FEAT_BadCharInAuthorName
@ eErr_SEQ_DESCR_MultipleStrains
@ eErr_SEQ_ALIGN_StrandRev
@ eErr_SEQ_FEAT_UndesiredProteinName
@ eErr_SEQ_FEAT_MissingGeneLocusTag
@ eErr_GENERIC_BarcodeMissingOrderAssignment
@ eErr_SEQ_FEAT_FarLocation
@ eErr_SEQ_INST_MolinfoOther
@ eErr_SEQ_FEAT_SgmlPresentInText
@ eErr_SEQ_DESCR_BadGeoLocNameCode
@ eErr_SEQ_INST_BadSeqIdLength
@ eErr_SEQ_FEAT_MrnaTransFail
@ eErr_SEQ_INST_SeqDataNotAllowed
@ eErr_SEQ_GRAPH_GraphStopPhase
@ eErr_SEQ_GRAPH_GraphStartPhase
@ eErr_SEQ_INST_BadHTGSeq
@ eErr_SEQ_DESCR_InvalidSexQualifier
@ eErr_SEQ_FEAT_InvalidFuzz
@ eErr_SEQ_FEAT_InvalidInferenceValue
@ eErr_SEQ_FEAT_GeneXrefNeeded
@ eErr_SEQ_FEAT_PartialProblemOrganelle5Prime
@ eErr_SEQ_FEAT_InvalidType
@ eErr_SEQ_FEAT_BadAuthorSuffix
@ eErr_SEQ_DESCR_TaxonomyAmbiguousName
@ eErr_SEQ_FEAT_SerialInComment
@ eErr_SEQ_DESCR_NoKeywordHasTechnique
@ eErr_SEQ_INST_UnexpectedIdentifierChange
@ eErr_SEQ_INST_WGSseqGapProblem
@ eErr_SEQ_DESCR_TitleNotAppropriateForSet
@ eErr_SEQ_DESCR_MultipleStrucComms
@ eErr_SEQ_FEAT_InconsistentRRNAstrands
@ eErr_SEQ_FEAT_PartialProblemNotSpliceConsensus5Prime
@ eErr_SEQ_FEAT_AltStartCodonException
@ eErr_SEQ_DESCR_LatLonState
@ eErr_SEQ_PKG_ArchaicFeatureProduct
@ eErr_GENERIC_UnexpectedPubStatusComment
@ eErr_SEQ_DESCR_MultipleSourceQualifiers
@ eErr_SEQ_FEAT_WrongQualOnCDS
@ eErr_SEQ_FEAT_BadRRNAcomponentOverlapAndOrder
@ eErr_SEQ_FEAT_LocusTagHasSpace
@ eErr_SEQ_INST_LongLiteralSequence
@ eErr_SEQ_FEAT_BadRRNAcomponentOverlap
@ eErr_SEQ_FEAT_BadTrailingCharacter
@ eErr_SEQ_GRAPH_GraphACGTScore
@ eErr_SEQ_DESCR_DBLinkBadFormat
@ eErr_SEQ_PKG_ConSetProblem
@ eErr_SEQ_FEAT_InvalidForType
@ eErr_SEQ_FEAT_IntervalBeginsOrEndsInGap
@ eErr_SEQ_FEAT_GeneLocusCollidesWithLocusTag
@ eErr_SEQ_ALIGN_NucProtMixture
@ eErr_SEQ_FEAT_ProteinNameEndsInBracket
@ eErr_SEQ_DESCR_UserObjectNoType
@ eErr_SEQ_DESCR_WrongVoucherType
@ eErr_SEQ_FEAT_CDSgeneRange
@ eErr_SEQ_INST_MitoMetazoanTooLong
@ eErr_SEQ_INST_ProteinsHaveGeneralID
@ eErr_SEQ_GRAPH_GraphOutOfOrder
@ eErr_SEQ_FEAT_BadInternalCharacter
@ eErr_SEQ_FEAT_TranslExceptIsPartial
@ eErr_GENERIC_BarcodeMissingGeoLocName
@ eErr_SEQ_DESCR_CompleteGenomeLacksBioProject
@ eErr_SEQ_DESCR_NoSourceDescriptor
@ eErr_SEQ_DESCR_CollidingPubMedID
@ eErr_SEQ_FEAT_DuplicateFeat
@ eErr_SEQ_FEAT_PseudoCdsHasProtXref
@ eErr_SEQ_DESCR_BadCollectionCode
@ eErr_SEQ_FEAT_BadProteinName
@ eErr_SEQ_INST_ExtBadOrMissing
@ eErr_SEQ_FEAT_FeatureProductInconsistency
@ eErr_SEQ_DESCR_SyntheticConstructWrongMolType
@ eErr_GENERIC_PublicationInconsistency
@ eErr_GENERIC_BadSubmissionAuthorName
@ eErr_GENERIC_CollidingSerialNumbers
@ eErr_SEQ_PKG_ComponentMissingTitle
@ eErr_SEQ_FEAT_DuplicateGeneConflictingLocusTag
@ eErr_SEQ_DESCR_DBLinkMissingUserObject
@ eErr_SEQ_INST_TSAHistAssemblyMissing
@ eErr_SEQ_FEAT_MissingLocation
@ eErr_SEQ_DESCR_TaxonomyLookupProblem
@ eErr_SEQ_DESCR_FileOpenCollision
@ eErr_SEQ_DESCR_AmbiguousName
@ eErr_SEQ_ALIGN_SegsPresentMismatch
@ eErr_SEQ_PKG_InternalGenBankSet
@ eErr_SEQ_DESCR_BadStrucCommFieldOutOfOrder
@ eErr_SEQ_DESCR_BadStrucCommInvalidPrefix
@ eErr_SEQ_DESCR_DBLinkBadBioProject
@ eErr_SEQ_FEAT_MultiIntervalGene
@ eErr_SEQ_DESCR_BioSourceMissing
@ eErr_SEQ_FEAT_ExceptionMissingText
@ eErr_SEQ_FEAT_BadAnticodonCodon
@ eErr_SEQ_FEAT_BadTrailingHyphen
@ eErr_SEQ_FEAT_OldLocusTagMismtach
@ eErr_SEQ_DESCR_MolInfoConflictsWithBioSource
@ eErr_SEQ_INST_InstantiatedGapMismatch
@ eErr_SEQ_FEAT_UTRdoesNotAbutCDS
@ eErr_SEQ_ALIGN_FastaLike
@ eErr_SEQ_INST_PartialInconsistent
@ eErr_SEQ_FEAT_PseudoRnaViaGeneHasProduct
@ eErr_SEQ_DESCR_BadNullGeoLocName
@ eErr_SEQ_DESCR_NoTaxonID
@ eErr_SEQ_FEAT_ConflictFlagSet
@ eErr_SEQ_FEAT_FeatureBeginsOrEndsWithN
@ eErr_SEQ_DESCR_LatLonFormat
@ eErr_SEQ_FEAT_StrandOther
@ eErr_SEQ_FEAT_UnnecessaryGeneXref
@ eErr_SEQ_FEAT_CollidingLocusTags
@ eErr_SEQ_PKG_FeaturePackagingProblem
@ eErr_SEQ_DESCR_MultipleNames
@ eErr_SEQ_FEAT_PartialProblemNotSpliceConsensus3Prime
@ eErr_SEQ_FEAT_DeletedEcNumber
@ eErr_SEQ_FEAT_FeatureIsMostlyNs
@ eErr_SEQ_ALIGN_SegsDimMismatch
@ eErr_SEQ_INST_BadSeqIdFormat
@ eErr_SEQ_FEAT_InvalidMatchingReplace
@ eErr_SEQ_PKG_GenomicProductPackagingProblem
@ eErr_SEQ_INST_CaseDifferenceInSeqID
@ eErr_SEQ_PKG_SegSetMixedBioseqs
@ eErr_SEQ_FEAT_NoCDSbetweenUTRs
@ eErr_SEQ_INST_ZeroGiNumber
@ eErr_INTERNAL_Exception
@ eErr_SEQ_FEAT_BadEcNumberFormat
@ eErr_SEQ_DESCR_DBLinkBadSRAaccession
@ eErr_SEQ_DESCR_MissingText
@ eErr_SEQ_FEAT_BothStrands
@ eErr_SEQ_INST_ConflictingIdsOnBioseq
@ eErr_SEQ_FEAT_UnindexedFeature
@ eErr_SEQ_FEAT_CDSonMinusStrandTranscribedRNA
@ eErr_SEQ_DESCR_WrongOrganismFor16SrRNA
@ eErr_SEQ_INST_HistAssemblyMissing
@ eErr_SEQ_FEAT_ExceptionProblem
@ eErr_SEQ_FEAT_CDSproductPackagingProblem
@ eErr_SEQ_DESCR_FakeStructuredComment
@ eErr_SEQ_FEAT_OldLocusTagBadFormat
@ eErr_SEQ_DESCR_MissingLineage
@ eErr_SEQ_FEAT_RedundantFields
@ eErr_SEQ_PKG_NoCdRegionPtr
@ eErr_SEQ_INST_InternalNsInSeqRaw
@ eErr_SEQ_DESCR_BadOrgMod
@ eErr_SEQ_DESCR_BadSpecificHost
@ eErr_SEQ_INST_TerminalNs
@ eErr_SEQ_DESCR_BadPCRPrimerName
@ eErr_SEQ_ALIGN_StartLessthanZero
@ eErr_SEQ_FEAT_ColdShockProteinProblem
@ eErr_SEQ_DESCR_OrgModValueInvalid
@ eErr_GENERIC_BarcodeMissingPrimers
@ eErr_SEQ_DESCR_BadOrganelleLocation
@ eErr_SEQ_FEAT_TrnaCodonWrong
@ eErr_SEQ_FEAT_NoNameForProtein
@ eErr_SEQ_FEAT_SeqFeatXrefProblem
@ eErr_SEQ_ALIGN_StartMorethanBiolen
@ eErr_SEQ_FEAT_RptUnitRangeProblem
@ eErr_SEQ_FEAT_InvalidVariationReplace
@ eErr_SEQ_FEAT_SeqFeatXrefNotReciprocal
@ eErr_SEQ_DESCR_BadKeywordForStrucComm
@ eErr_SEQ_FEAT_SeqLocOrder
@ eErr_SEQ_DESCR_TaxonomyIsSpeciesProblem
@ eErr_SEQ_DESCR_EnvironSampleMissingQualifier
@ eErr_SEQ_FEAT_CDSdoesNotMatchVDJC
@ eErr_SEQ_FEAT_CDSmRNAXrefLocationProblem
@ eErr_SEQ_FEAT_AnticodonStrandConflict
@ eErr_SEQ_DESCR_InconsistentTaxNameSet
@ eErr_SEQ_PKG_SingleItemSet
@ eErr_GENERIC_BarcodeTooShort
@ eErr_SEQ_DESCR_MultipleIsolates
@ eErr_SEQ_DESCR_BadCountryCode
@ eErr_SEQ_ALIGN_SegsPresentStartsMismatch
@ eErr_SEQ_FEAT_InvalidRepeatUnitLength
@ eErr_SEQ_DESCR_ChromosomeLocation
@ eErr_SEQ_DESCR_InconsistentMolType
@ eErr_SEQ_FEAT_CDSmRNAMissingProteinIDs
@ eErr_SEQ_DESCR_BioSourceNeedsChromosome
@ eErr_SEQ_DESCR_WGSmasterLacksBioSample
@ eErr_SEQ_FEAT_VectorContamination
@ eErr_SEQ_FEAT_AbuttingIntervals
@ eErr_SEQ_FEAT_BadConflictFlag
@ eErr_SEQ_FEAT_EcNumberInProteinComment
@ eErr_SEQ_FEAT_MultiIntervalIntron
@ eErr_SEQ_DESCR_InconsistentTPA
@ eErr_SEQ_FEAT_LocusTagProblem
@ eErr_SEQ_DESCR_AmbiguousTypeMaterial
@ eErr_SEQ_DESCR_BioSourceInconsistency
@ eErr_SEQ_GRAPH_GraphMin
@ eErr_SEQ_FEAT_CDSmRNArange
@ eErr_SEQ_DESCR_TaxonomyEmptyInput
@ eErr_SEQ_FEAT_OnlyGeneXrefs
@ eErr_SEQ_DESCR_ModifierTypeConflict
@ eErr_SEQ_FEAT_UnnecessaryCitPubEquiv
@ eErr_SEQ_INST_HighNpercent5Prime
@ eErr_SEQ_FEAT_TranslExcept
@ eErr_SEQ_DESCR_HostIdenticalToOrganism
@ eErr_SEQ_FEAT_ExceptInconsistent
@ eErr_SEQ_DESCR_BadBioSourceFrequencyValue
@ eErr_SEQ_DESCR_ScaffoldLacksBioProject
@ eErr_SEQ_PKG_NucProtNotSegSet
@ eErr_SEQ_INST_InternalNsAdjacentToGap
@ eErr_SEQ_FEAT_PartialProblem
@ eErr_SEQ_DESCR_MultipleComments
@ eErr_SEQ_INST_SeqDataNotFound
@ eErr_SEQ_INST_InternalGapsInSeqRaw
@ eErr_SEQ_DESCR_ReplacedCountryCode
@ eErr_SEQ_FEAT_MultipleGeneOverlap
@ eErr_SEQ_FEAT_RegulatoryClassOtherNeedsNote
@ eErr_SEQ_FEAT_GeneRefHasNoData
@ eErr_SEQ_INST_DuplicateSegmentReferences
@ eErr_SEQ_FEAT_TooManyInferenceAccessions
@ eErr_SEQ_FEAT_LocusTagGeneLocusMatch
@ eErr_GENERIC_MissingVolumeEpub
@ eErr_SEQ_DESCR_InconsistentWGSFlags
@ eErr_SEQ_FEAT_TerminalXDiscrepancy
@ eErr_SEQ_DESCR_ReplacedGeoLocNameCode
@ eErr_SEQ_FEAT_CDSmRNAmismatchCount
@ eErr_SEQ_ALIGN_SegsPresentStrandsMismatch
@ eErr_SEQ_FEAT_MiscFeatureNeedsNote
@ eErr_SEQ_DESCR_UserObjectNoData
@ eErr_SEQ_FEAT_UTRdoesNotExtendToEnd
@ eErr_SEQ_DESCR_RegionMissingText
@ eErr_SEQ_INST_SeqLitGapLength0
@ eErr_SEQ_INST_SeqIdNameHasSpace
@ eErr_SEQ_DESCR_UnbalancedParentheses
@ eErr_SEQ_DESCR_RefGeneTrackingWithoutStatus
@ eErr_SEQ_DESCR_MultipleTitles
@ eErr_SEQ_FEAT_FocusOnBioSourceFeature
@ eErr_SEQ_DESCR_ProteinTechniqueOnNucleotide
@ eErr_SEQ_FEAT_PolyAsignalNotRange
@ eErr_SEQ_ALIGN_ShortAln
@ eErr_SEQ_DESCR_CommentMissingText
@ eErr_SEQ_PKG_RefSeqPopSet
@ eErr_SEQ_DESCR_BioSourceNeedsFocus
@ eErr_SEQ_DESCR_CollidingPublications
@ eErr_SEQ_FEAT_PartialProblemmRNASequence3Prime
@ eErr_SEQ_PKG_NucProtProblem
@ eErr_SEQ_FEAT_UndesiredGeneSynonym
@ eErr_SEQ_FEAT_GenomeSetMixedStrand
@ eErr_SEQ_INST_InternalNsInSeqLit
@ eErr_SEQ_FEAT_BadTrnaCodon
@ eErr_SEQ_FEAT_GenCodeInvalid
@ eErr_SEQ_INST_SeqDataLenWrong
@ eErr_SEQ_ALIGN_EndMorethanBiolen
@ eErr_SEQ_FEAT_PseudoCDSmRNArange
@ eErr_SEQ_ANNOT_AnnotLOCs
@ eErr_SEQ_INST_GapInProtein
@ eErr_SEQ_INST_SeqGapProblem
@ eErr_SEQ_INST_InvalidResidue
@ eErr_SEQ_FEAT_BadCharInAuthorLastName
@ eErr_SEQ_FEAT_PartialProblemmRNASequence5Prime
@ eErr_SEQ_GRAPH_GraphBelow
@ eErr_SEQ_INST_RnaDnaConflict
@ eErr_SEQ_FEAT_InvalidFeatureForMRNA
@ eErr_SEQ_FEAT_FeatureCrossesGap
@ eErr_SEQ_FEAT_SelfReferentialProduct
@ eErr_SEQ_DESCR_MissingMetagenomicQualifier
@ eErr_SEQ_FEAT_CDSwithNoMRNA
@ eErr_SEQ_FEAT_GapFeatureProblem
@ eErr_SEQ_FEAT_HypotheticalProteinMismatch
@ eErr_SEQ_DESCR_SyntheticConstructNeedsArtificial
@ eErr_SEQ_INST_TpaAssemblyProblem
@ eErr_SEQ_PKG_MissingAutodef
@ eErr_GENERIC_DeltaSeqError
@ eErr_SEQ_FEAT_MissingGeneXref
@ eErr_GENERIC_BarcodeMissingVoucher
@ eErr_SEQ_ALIGN_EndLessthanZero
@ eErr_SEQ_FEAT_RecombinationClassOtherNeedsNote
@ eErr_SEQ_DESCR_NonViralSegment
@ eErr_SEQ_FEAT_MissingExceptionFlag
@ eErr_SEQ_FEAT_TaxonDbxrefOnFeature
@ eErr_SEQ_FEAT_IntronIsStopCodon
#define ERR_CODE_BEGIN(x)
Base class for all serializable objects.
CConstRef< CSerialObject > m_Object
CConstRef< CSeq_entry > m_Ctx
CValidErrItem & operator=(const CValidErrItem &value)=delete
CValidErrItem(const CValidErrItem &value)=delete
void SetContext(CConstRef< CSeq_entry > ctx)
const CSeq_entry & GetContext() const
CValidErrItem_Base Tparent
EDiagSev GetSeverity() const
bool IsSetContext() const
CNetStorageException::EErrCode ConvertErrCode(CNetCacheException::TErrCode code)
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char * str(char *buf, int n)
EDiagSev
Severity level for the posted diagnostics.
bool NotEmpty(void) const THROWS_NONE
Check if CConstRef is not empty – pointing to an object and has a non-null value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_VALERR_EXPORT
TSev GetSev(void) const
Get the Sev member data.
const GenericPointer< typename T::ValueType > T2 value
Defines NCBI C++ diagnostic APIs, classes, and macros.
static wxString GetContext(const wxString &str, int pos)
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
static CS_CONTEXT * context