39 #ifndef OBJECTS_GENERAL_DBTAG_HPP
40 #define OBJECTS_GENERAL_DBTAG_HPP
260 bool Match(
const CDbtag& dbt2)
const;
263 bool SetAsMatchingTo(
const CDbtag& dbt2);
283 bool IsApproved(EIsRefseq refseq = eIsRefseq_No, EIsSource is_source = eIsSource_No, EIsEstOrGss is_est_or_gss = eIsEstOrGss_No )
const;
286 const char* IsApprovedNoCase(EIsRefseq refseq = eIsRefseq_No, EIsSource is_source = eIsSource_No)
const;
288 bool IsApproved(TDbtagGroup group)
const;
291 bool IsSkippable(
void)
const;
294 EDbtagType GetType(
void)
const;
297 bool GetDBFlags (
bool& is_refseq,
bool& is_src,
string& correct_caps)
const;
299 TDbtagGroup GetDBFlags (
string& correct_caps)
const;
302 void InvalidateType(
void);
319 string GetUrl(
const string &taxname)
const;
333 const string & species,
334 const string & subspecies =
kEmptyStr )
const;
360 : m_Type(eDbtagType_bad)
Dbtag is generalized for tagging eg.
static bool x_LooksLikeAccession(const string &tag, int &out_num_alpha, int &out_num_digit, int &out_num_unscr)
string GetUrl(TTaxId taxid) const
string GetUrl(void) const
string GetUrl(const string &taxname) const
int TDbtagGroup
holds bitwise OR of "EDbtagGroup"
@ eDbtagType_EnsemblGenomes_Gn
@ eDbtagType_EnsemblGenomes_Tr
@ eDbtagType_EnsemblRapid
@ eDbtagType_AceView_WormGenes
@ eDbtagType_UniProt_SwissProt
@ eDbtagType_PeptideAtlas
@ eDbtagType_RBGE_herbarium
@ eDbtagType_ApiDB_ToxoDB
@ eDbtagType_AllianceGenome
@ eDbtagType_PiroplasmaDB
@ eDbtagType_EnsemblGenomes
@ eDbtagType_UniProt_TrEMBL
@ eDbtagType_ApiDB_CryptoDB
@ eDbtagType_MicrosporidiaDB
@ eDbtagType_ApiDB_PlasmoDB
@ eDbtagType_ATCC_in_host
string GetUrl(const string &genus, const string &species, const string &subspecies=kEmptyStr) const
SStrictId_Tax::TId TTaxId
Taxon id type.
string GetLabel(const CSeq_id &id)
sequence::ECompare Compare(const CSeq_loc &loc1, const CSeq_loc &loc2, CScope *scope)
Returns the sequence::ECompare containment relationship between CSeq_locs.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GENERAL_EXPORT
static const char label[]
CDbtag_Base & operator=(const CDbtag_Base &)