37 #ifndef OBJECTS_SEQFEAT_ORG_REF_HPP
38 #define OBJECTS_SEQFEAT_ORG_REF_HPP
56 eOrgref_taxname = 0x0010,
57 eOrgref_common = 0x0040,
61 eOrgref_db_taxid = 0x0001,
62 eOrgref_db_all = (eOrgref_db | eOrgref_db_taxid),
66 eOrgref_orgname = 0x0008,
67 eOrgref_on_name = 0x0080,
68 eOrgref_on_attr = 0x1000,
69 eOrgref_on_attr_spec = 0x00010000,
70 eOrgref_on_attr_nofwd = 0x00040000,
71 eOrgref_on_attr_uncult= 0x00080000,
72 eOrgref_on_attr_all = (eOrgref_on_attr | eOrgref_on_attr_spec | eOrgref_on_attr_nofwd | eOrgref_on_attr_uncult),
73 eOrgref_on_mod = 0x0200,
74 eOrgref_on_mod_nom = 0x00020000,
75 eOrgref_on_mod_oldname= 0x00100000,
76 eOrgref_on_mod_tm = 0x00200000,
77 eOrgref_on_mod_all = (eOrgref_on_mod | eOrgref_on_mod_nom | eOrgref_on_mod_oldname | eOrgref_on_mod_tm),
78 eOrgref_on_lin = 0x0020,
79 eOrgref_on_gc = 0x0002,
80 eOrgref_on_mgc = 0x0004,
81 eOrgref_on_pgc = 0x0400,
82 eOrgref_on_div = 0x0100,
83 eOrgref_on_all = (eOrgref_orgname | eOrgref_on_name | eOrgref_on_attr_all | eOrgref_on_mod_all |
84 eOrgref_on_lin | eOrgref_on_gc | eOrgref_on_mgc | eOrgref_on_pgc | eOrgref_on_div),
86 eOrgref_all = (eOrgref_taxname | eOrgref_common | eOrgref_mod | eOrgref_db_all | eOrgref_syn |
89 eOrgref_all_but_syn = (eOrgref_all ^ eOrgref_syn),
90 eOrgref_all_but_spec = (eOrgref_all ^ eOrgref_on_attr_spec),
92 eOrgref_default = eOrgref_all
112 bool IsSetLineage(
void)
const;
113 const string& GetLineage(
void)
const;
115 bool IsSetGcode(
void)
const;
118 bool IsSetMgcode(
void)
const;
119 int GetMgcode(
void)
const;
121 bool IsSetPgcode(
void)
const;
122 int GetPgcode(
void)
const;
124 bool IsSetDivision(
void)
const;
125 const string& GetDivision(
void)
const;
127 bool IsSetOrgMod(
void)
const;
129 bool IsVarietyValid(
const string& variety)
const;
130 bool HasValidVariety()
const;
131 bool IsSubspeciesValid(
const string& subspecies)
const;
136 static const vector<string>& GetTaxnameList();
137 bool UpdateFromTable();
139 void CleanForGenBank();
147 string x_GetTaxnameAfterFirstTwoWords()
const;
*** Org-ref *********************************************** * * Reference to an organism * defines on...
unsigned int fOrgref_parts
COrg_ref & operator=(const COrg_ref &value)
COrg_ref(const COrg_ref &value)
SStrictId_Tax::TId TTaxId
Taxon id type.
string GetLabel(const CSeq_id &id)
TTaxId GetTaxId(const CBioseq_Handle &handle)
return the tax-id associated with a given sequence.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_SEQFEAT_EXPORT
static const char label[]
const GenericPointer< typename T::ValueType > T2 value