38 #ifndef OBJECTS_SEQ_BIOSEQ_HPP
39 #define OBJECTS_SEQ_BIOSEQ_HPP
110 const CSeq_id* GetFirstId()
const;
114 const CSeq_id* GetNonLocalId()
const;
117 const CSeq_id* GetLocalId()
const;
120 bool IsNa(
void)
const;
121 bool IsAa(
void)
const;
127 bool IsSetLength(
void)
const;
133 void PackAsDeltaSeq(
bool gaps_ok =
false);
@ eBoth
Both preliminary and traceback stages.
*** Sequence ******************************** *
CSeq_entry * m_ParentEntry
CSeq_entry * GetParentEntry(void) const
void SetParentEntry(CSeq_entry *entry)
static int sm_ConstructedId
CBioseq(const CBioseq &value)
CSeq_entry * m_ParentEntry
Base class for user-defined serializable classes to allow for objects assignment and comparison.
unsigned int TSeqPos
Type for sequence locations and lengths.
SStrictId_Tax::TId TTaxId
Taxon id type.
virtual bool UserOp_Equals(const CSerialUserOp &object) const =0
Will be called after comparing the datatool-generated members.
virtual void UserOp_Assign(const CSerialUserOp &source)=0
Will be called after copying the datatool-generated members.
string GetLabel(const CSeq_id &id)
ELabelType
For compatibility with legacy code.
TSeqPos GetLength(const CSeq_id &id, CScope *scope)
Get sequence length if scope not null, else return max possible TSeqPos.
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.
static const char label[]
CBioseq_Base & operator=(const CBioseq_Base &)
const GenericPointer< typename T::ValueType > T2 value
const CharType(& source)[N]