212 objects::CScope& scope,
int&
depth)
214 if (handle.IsSetDescr()) {
221 if (
id.IsStr() &&
id.GetStr() ==
"FeatureFetchPolicy") {
static bool IsRefSeq(const objects::CBioseq_Handle &handle)
static bool GetFeatFetchDepth(const objects::CBioseq_Handle &handle, objects::CScope &scope, int &depth)
static bool IsChromosome(const objects::CBioseq_Handle &handle, objects::CScope &scope)
static bool IsMitochondrion(const objects::CBioseq_Handle &handle)
static bool IsmRNA(const objects::CBioseq_Handle &handle, objects::CScope &scope)
static bool IsSegSet(const objects::CBioseq_Handle &handle, objects::CScope &scope)
static bool IsPlastid(const objects::CBioseq_Handle &handle)
static unsigned char depth[2 *(256+1+29)+1]
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
static EAccessionInfo IdentifyAccession(const CTempString &accession, TParseFlags flags=fParse_AnyRaw)
Deduces information from a bare accession a la WHICH_db_accession; may report false negatives on prop...
CConstRef< CSeq_id > GetSeqId(void) const
EAccessionInfo
For IdentifyAccession (below)
@ eAcc_refseq_mrna_predicted
@ eAcc_refseq_prot_predicted
@ eAcc_refseq_ncrna_predicted
@ eAcc_refseq_wgs_intermed
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
const CMolInfo * GetMolInfo(const CBioseq &bioseq)
Retrieve the MolInfo object for a given bioseq handle.
@ eGetId_Best
return the "best" gi (uses FindBestScore(), with CSeq_id::CalculateScore() as the score function
const CSeq_id_Handle & GetSeq_id_Handle(void) const
Get handle of id used to obtain this bioseq handle.
CConstRef< CSeq_id > GetSeqId(void) const
Get id which can be used to access this bioseq handle Throws an exception if none is available.
bool IsSetInst_Repr(void) const
TInst_Repr GetInst_Repr(void) const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TGenome GetGenome(void) const
Get the Genome member data.
bool IsStr(void) const
Check if variant Str is selected.
const TData & GetData(void) const
Get the Data member data.
bool IsInt(void) const
Check if variant Int is selected.
const TStr & GetStr(void) const
Get the variant data.
TInt GetInt(void) const
Get the variant data.
const TData & GetData(void) const
Get the Data member data.
const TLabel & GetLabel(void) const
Get the Label member data.
const TType & GetType(void) const
Get the Type member data.
vector< CRef< CUser_field > > TData
const TUser & GetUser(void) const
Get the variant data.
const TSource & GetSource(void) const
Get the variant data.
bool IsUser(void) const
Check if variant User is selected.
@ eRepr_seg
segmented sequence
@ eBiomol_pre_RNA
precursor RNA of any sort really
@ eBiomol_cRNA
viral RNA genome copy intermediate
@ eBiomol_snoRNA
small nucleolar RNA
@ e_User
user defined object
@ e_Source
source of materials, includes Org-ref