shared_ptr<SValidatorContext> pContext,
142 voidSetOptions(
Uint4options);
144 voidReset(
size_tinitialInferenceCount,
boolnotJustLocalOrGeneral,
boolhasRefSeq);
148 CScope* scope =
nullptr);
157 voidValidate(
const CPubdesc& pubdesc,
CScope* scope =
nullptr);
165 boolGetTSANStretchErrors(
const CBioseq& seq);
167 boolGetTSAConflictingBiomolTechErrors (
const CBioseq& seq);
175 bool ShouldSubdivide()
const{
if(m_NumTopSetSiblings > 1000)
return true;
else return false; }
180 boolIsHugeFileMode()
const;
181 boolIsHugeSet(
const CBioseq_set& bioseqSet)
const;
227 boolRaiseGenomeSeverity(
EErrTypeet);
233 voidValidateSubSource(
const CSubSource& subsrc,
const CSerialObject& obj,
const CSeq_entry*
ctx=
nullptr,
const boolisViral =
false,
const boolisInfluenzaOrSars2 =
false);
234 voidValidateOrgRef(
const COrg_ref& orgref,
const CSerialObject& obj,
const CSeq_entry*
ctx,
const boolcheckForUndefinedSpecies =
false,
const boolis_single_cell_amplification =
false);
242 boolIsSyntheticConstruct (
const CBioSource& src);
246 const string& prefix,
const CSerialObject& obj,
boollowerSev =
false);
249 NCBI_STD_DEPRECATED(
"Please use corresponding function in objtools/validator/utilities.hpp")
313 boolIsNoPubs()
const;
314 boolIsNoCitSubPubs()
const;
315 boolIsNoBioSource()
const;
319 boolIsPatent()
const;
320 boolIsRefSeq()
const;
321 boolIsEmbl()
const;
322 boolIsDdbj()
const;
336 boolIsGpipe()
const;
338 boolIsLocalGeneralOnly()
const;
339 boolHasGiOrAccnVer()
const;
340 boolIsGenomic()
const;
341 boolIsSeqSubmit()
const;
342 boolIsSmallGenomeSet()
const;
344 boolIsGenbank()
const;
345 boolDoesAnyFeatLocHaveGI()
const;
346 boolDoesAnyProductLocHaveGI()
const;
347 boolDoesAnyGeneHaveLocusTag()
const;
348 boolDoesAnyProteinHaveGeneralID()
const;
349 boolIsINSDInSep()
const;
350 boolIsGeneious()
const;
352 inline bool HasRefSeq(
void)
const{
returnm_HasRefSeq; }
404 boolIsFarSequence(
const CSeq_id&
id);
416 voidAddBioseqWithNoPub(
const CBioseq& seq);
417 voidAddBioseqWithNoBiosource(
const CBioseq& seq);
419 static boolIsWGSIntermediate(
const CBioseq& seq);
420 static boolIsTSAIntermediate(
const CBioseq& seq);
422 voidReportMissingBiosource(
const CSeq_entry& se);
428 boolIsSerialNumberInComment(
const string& comment);
432 boolRequireLocalProduct(
const CSeq_id* sid)
const;
440 voidx_Init(
Uint4options,
size_tinitialInferenceCount,
boolnotJustLocalOrGeneral,
boolhasRefSeq);
447m_scopeToRestore(scope), m_scopeOriginalValue(scope) { }
466 voidx_AddValidErrItem(
EDiagSevsev,
471 const string& accession,
476 voidInitializeSourceQualTags();
479 boolIsMixedStrands(
const CSeq_loc& loc);
490 boolHasTitle(
const CTitle& title);
491 boolHasIsoJTA(
const CTitle& title);
495 voidFindCollidingSerialNumbers (
const CSerialObject& obj);
500 static bools_IsSalmonellaGenus(
const string& taxname);
518 voidx_InitLocCheck(SLocCheck&
lc,
const string& prefix);
519 voidx_CheckForStrandChange(SLocCheck&
lc);
531 voidx_ReportPCRSeqProblem(
const string& primer_kind,
535 voidx_CheckPCRPrimer(
const CPCRPrimer& primer,
536 const string& primer_kind,
542 boolx_DowngradeForMissingAffil(
const CCit_sub& cs);
649unique_ptr<CTaxValidationAndCleanup> x_CreateTaxValidator()
const;
652unique_ptr<CValidatorEntryInfo> m_pEntryInfo = make_unique<CValidatorEntryInfo>();
static CRef< CScope > m_Scope
User-defined methods of the data storage class.
User-defined methods of the data storage class.
@Affil.hpp User-defined methods of the data storage class.
@Auth_list.hpp User-defined methods of the data storage class.
@Imp_feat.hpp User-defined methods of the data storage class.
@Name_std.hpp User-defined methods of the data storage class.
@OrgMod.hpp User-defined methods of the data storage class.
@Pubdesc.hpp User-defined methods of the data storage class.
@RNA_ref.hpp User-defined methods of the data storage class.
namespace ncbi::objects::
Base class for all serializable objects.
CScopeRestorer(CRef< CScope > &scope)
CRef< CScope > & m_scopeToRestore
CRef< CScope > m_scopeOriginalValue
CRef< CObjectManager > m_ObjMgr
bool DoRubiscoTest() const
void PostErr(EDiagSev sv, EErrType et, const string &msg, TDesc ds)
const CSeq_entry_Handle & GetTSEH()
bool ReportSpliceAsError() const
void AddToPseudoCount(size_t num)
bool m_NewStrainValidation
bool IsLatLonCheckState() const
size_t GetGeneCount(void) const
bool m_ValidateAlignments
void IncrementGeneCount()
bool IsRemoteFetch() const
void AddToTpaWithHistoryCount(size_t num)
bool IsSuppressContext() const
bool m_FarFetchCDSproducts
CValidator::TProgressCallback m_PrgCallback
bool m_GenerateGoldenFile
IValidError * m_ErrRepository
size_t m_NumMisplacedGraphs
bool m_NotJustLocalOrGeneral
void AddToMisplacedFeatureCount(size_t num)
void IncrementMisplacedFeatureCount()
bool IsValidateAlignments() const
size_t m_NumTopSetSiblings
const CConstRef< CSeq_annot > & GetSeqAnnot()
void ResetSmallGenomeSetMisplacedCount()
void ResetTpaWithoutHistoryCount()
bool GenerateGoldenFile() const
bool IsStandaloneAnnot() const
CConstRef< CSeq_feat > GetCachedGene(const CSeq_feat *f)
CConstRef< CSeq_annot > m_SeqAnnot
bool IsValidateIdSet() const
TSuppressed m_SuppressedErrors
bool IsLocusTagGeneralMatch() const
bool IgnoreInferences() const
CValidator::CProgressInfo m_PrgInfo
void AddToGeneXrefCount(size_t num)
bool ForceInferences() const
const CTSE_Handle & GetTSE_Handle()
bool ValidateInferenceAccessions() const
size_t m_NumMisplacedFeatures
void IncrementMisplacedGraphCount()
void IncrementPseudogeneCount()
bool m_ValidateInferenceAccessions
bool m_LocusTagGeneralMatch
vector< CConstRef< CBioseq > > m_BioseqWithNoSource
const CSeq_annot & TAnnot
bool IsRequireTaxonID() const
void ResetGeneXrefCount()
bool IsSeqSubmitParent() const
size_t m_NumTpaWithHistory
const CSeq_graph & TGraph
void AddToMisplacedGraphCount(size_t num)
size_t m_NumTpaWithoutHistory
bool NewStrainValidation() const
bool IsGenomeSubmission() const
void ResetPseudogeneCount()
void AddToGeneCount(size_t num)
void IncrementGeneXrefCount()
void AddToSmallGenomeSetMisplacedCount(size_t num)
bool IsLatLonIgnoreWater() const
bool m_ReportSpliceAsError
bool IsFarFetchCDSproducts() const
void ResetTpaWithHistoryCount()
void AddToTpaWithoutHistoryCount(size_t num)
void IncrementTpaWithHistoryCount()
bool IsValidateExons() const
size_t GetCumulativeInferenceCount(void) const
size_t m_NumSmallGenomeSetMisplaced
map< CSubSource::TSubtype, int > TCount
bool IgnoreExceptions() const
vector< CConstRef< CSeq_id > > m_InitialSeqIds
bool m_FarFetchMRNAproducts
void ResetCumulativeInferenceCount()
void SetFarFetchFailure()
CBioSourceKind m_biosource_kind
CConstRef< CSeq_entry > m_TSE
void IncrementTpaWithoutHistoryCount()
bool IsRefSeqConventions() const
bool IsIndexerVersion() const
bool IsRequireISOJTA() const
CGeneCache & GetGeneCache()
map< const CSeq_feat *, const CSeq_annot * > & TFeatAnnotMap
void AddToCumulativeInferenceCount(size_t num)
void IncrementSmallGenomeSetMisplacedCount()
size_t m_CumulativeInferenceCount
const CSeq_align & TAlign
void IncrementPseudoCount()
vector< int > m_PubSerialNumbers
void AddToPseudogeneCount(size_t num)
bool HasRefSeq(void) const
void ResetMisplacedGraphCount()
const CSeq_entry & TEntry
shared_ptr< SValidatorContext > m_pContext
const CSeq_entry & GetTSE() const
bool IsFarFetchMRNAproducts() const
bool DoCompareVDJCtoCDS() const
bool ShouldSubdivide() const
void IncrementCumulativeInferenceCount()
void ResetMisplacedFeatureCount()
size_t GetGeneXrefCount(void) const
CValidError_imp(const CValidError_imp &)
Cache various information for one validation run.
static const CTSE_Handle kEmptyTSEHandle
bool(* TProgressCallback)(CProgressInfo *)
Include a standard set of the NCBI C++ Toolkit most basic headers.
API (CDeflineGenerator) for computing sequences' titles ("definitions").
static const struct name_t names[]
static const char * str(char *buf, int n)
SStrictId_Entrez::TId TEntrezId
TEntrezId type for entrez ids which require the same strictness as TGi.
SStrictId_Tax::TId TTaxId
Taxon id type.
EDiagSev
Severity level for the posted diagnostics.
#define NCBI_STD_DEPRECATED(message)
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_VALIDATOR_EXPORT
ENa_strand
strand of nucleic acid
const string version
version string
std::istream & in(std::istream &in_, double &x_)
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)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4