*m_MainObject;
213 returnm_IdPrefixWithVersion;
223 static stringNormalizePathOrAccession(
CTempStringpath_or_acc,
228eRowType_scaffold =
'S',
229eRowType_protein =
'P' 233fAllowRowType_contig = 1<<0,
234fAllowRowType_scaffold = 1<<1,
235fAllowRowType_protein = 1<<2
242pair<TVDBRowId, ERowType> ParseRowType(
CTempStringacc,
243TAllowRowType allow);
253 returnParseRowType(acc, fAllowRowType_contig).first;
259 returnParseRowType(acc, fAllowRowType_scaffold).first;
265 returnParseRowType(acc, fAllowRowType_protein).first;
268 returnm_IdRowDigits;
271 boolIsTSA(
void)
const;
274fGnlId_NoWGSVersion = 1<<0,
275fGnlId_NoWGSId = 1<<1,
283TGnlIdFlags gnl_id_flags = fGnlId_Default)
const;
287TGnlIdFlags gnl_id_flags = fGnlId_Default)
const;
294 TGiGetMasterGi(
void)
const;
308 returnm_IsSetMasterDescr;
311 returnm_MasterDescr;
322 voidResetMasterDescr(
void);
323 voidSetMasterDescr(
const TMasterDescr& descr,
intfilter);
324 boolLoadMasterDescr(
intfilter);
337pair<TGi, TGi> GetNucGiRange(
void);
339pair<TGi, TGi> GetProtGiRange(
void);
342pair<TVDBRowId, bool> GetGiRowId(
TGigi);
349 TVDBRowIdGetContigNameRowId(
const string& name);
351 TVDBRowIdGetScaffoldNameRowId(
const string& name);
353 TVDBRowIdGetProteinNameRowId(
const string& name);
355 TVDBRowIdGetProductNameRowId(
const string& name);
375 stringGetAcc(
Uint4 id)
const;
380 if( m_IdLength !=
b.m_IdLength ) {
381 returnm_IdLength <
b.m_IdLength;
383 returnm_AccPrefix <
b.m_AccPrefix;
387 returnm_IdLength ==
b.m_IdLength &&
388m_AccPrefix ==
b.m_AccPrefix;
391 return!(*
this==
b);
406 boolHasStandardFeatLocIdType();
409 returnm_ProjectGBState;
415 return!m_ReplacedBy.empty();
420 returnm_HasCommonTaxId;
424 returnm_CommonTaxId;
430 structSAmbiguityInfo;
462 if( !m_ScfTableIsOpened.load(memory_order_acquire) ) {
468 if( !m_ProtTableIsOpened.load(memory_order_acquire) ) {
474 if( !m_FeatTableIsOpened.load(memory_order_acquire) ) {
480 if( !m_GiIdxTableIsOpened.load(memory_order_acquire) ) {
486 if( !m_ProtIdxTableIsOpened.load(memory_order_acquire) ) {
489 returnm_ProtIdxTable;
492 if( !m_ProtAccIndexIsOpened.load(memory_order_acquire) ) {
495 returnm_ProtAccIndex;
498 if( !m_ContigNameIndexIsOpened.load(memory_order_acquire) ) {
499OpenContigNameIndex();
501 returnm_ContigNameIndex;
504 if( !m_ScaffoldNameIndexIsOpened.load(memory_order_acquire) ) {
505OpenScaffoldNameIndex();
507 returnm_ScaffoldNameIndex;
510 if( !m_ProteinNameIndexIsOpened.load(memory_order_acquire) ) {
511OpenProteinNameIndex();
513 returnm_ProteinNameIndex;
516 if( !m_ProductNameIndexIsOpened.load(memory_order_acquire) ) {
517OpenProductNameIndex();
519 returnm_ProductNameIndex;
548 constSSeq0TableCursor& cur,
551 constSScfTableCursor& cur,
554 constSProt0TableCursor& cur,
560atomic<bool>& table_is_opened,
564atomic<Int1>& index_is_opened,
565 const char* index_name,
566 const char* backup_index_name = 0);
568 voidOpenScfTable(
void);
569 voidOpenProtTable(
void);
570 voidOpenFeatTable(
void);
571 voidOpenGiIdxTable(
void);
572 voidOpenProtIdxTable(
void);
573 voidOpenProtAccIndex(
void);
574 voidOpenContigNameIndex(
void);
575 voidOpenScaffoldNameIndex(
void);
576 voidOpenProteinNameIndex(
void);
577 voidOpenProductNameIndex(
void);
583 voidx_InitIdParams(
void);
584 voidx_LoadMasterDescr(
intfilter);
586 voidx_SortGiRanges(TGiRanges& ranges);
818fExcludeProjectGBState = 1 << 8,
819fIncludeDefault = fIncludeLive | fIncludeUnverified
842TIncludeFlags
flags,
846TIncludeFlags
flags,
850TIncludeFlags
flags,
854TIncludeFlags
flags,
892 returnm_FirstGoodId;
898 returnGetFirstBadRowId() - 1;
901 returnGetFirstBadRowId() - GetCurrentRowId();
904 returnGetFirstBadRowId() - GetFirstGoodRowId();
907 boolHasGi(
void)
const;
911 intGetLatestAccVersion(
void)
const;
912 unsignedGetAccVersionCount(
void)
const;
913 boolHasAccVersion(
int version)
const;
916 returnGetLatestAccVersion() + m_AccVersion.m_Offset;
930 voidSelectAccVersion(
int version);
932 boolHasTitle(
void)
const;
936 TSeqPosGetClipQualityLeft(
void)
const;
937 TSeqPosGetClipQualityLength(
void)
const;
941 returnGetClipQualityLeft() + GetClipQualityLength() - 1;
946 boolHasClippingInfo(
void)
const;
950 returnm_ClipByQuality && HasClippingInfo();
955 return!m_ClipByQuality && HasClippingInfo();
961 return(clip_type == eDefaultClip?
963clip_type == eClipByQuality);
967 TSeqPosGetRawSeqLength(
void)
const;
969 TSeqPosGetSeqOffset(EClipType clip_type = eDefaultClip)
const;
984 boolHasTaxId(
void)
const;
988 boolHasSeqHash(
void)
const;
989 THashGetSeqHash(
void)
const;
1015 if( gaps_linkage ) {
1030 return min(
len, GetToOpen()-pos);
1034 return!*
this?
len:
min(
len, GetFrom()-pos);
1036} TWGSContigGapInfo;
1038 boolHasGapInfo(
void)
const;
1039 voidGetGapInfo(TWGSContigGapInfo& gap_info)
const;
1040vector<Uint1> GetAmbiguityBytes()
const;
1046 boolHasSeqDescrBytes(
void)
const;
1049 boolHasNucProtDescrBytes(
void)
const;
1052 boolHasSeq_descr(TFlags
flags= fDefaultFlags)
const;
1056 boolHasAnnotSet(
void)
const;
1060 voidGetAnnotSet(
TAnnotSet& annot_set, TFlags
flags= fDefaultFlags)
const;
1063 boolCanHaveQualityGraph(
void)
const;
1065 boolHasQualityGraph(
void)
const;
1066 voidGetQualityVec(vector<INSDC_quality_phred>& quality_vec)
const;
1067 voidGetQualityAnnot(
TAnnotSet& annot_set,
1068TFlags
flags= fDefaultFlags)
const;
1069 stringGetQualityAnnotName(
void)
const;
1075 boolHasPublicComment(
void)
const;
1078 boolIsCircular(
void)
const;
1107GetSplitInfoAndVersion(TFlags
flags= fDefaultFlags)
const;
1109GetSplitInfoDataAndVersion(TFlags
flags= fDefaultFlags)
const;
1113TFlags
flags= fDefaultFlags)
const;
1116TFlags
flags= fDefaultFlags)
const;
1123fInst_MakeData = 1<<0,
1124fInst_MakeGaps = 1<<1,
1126fInst_Minimal = 1<<3
1131 voidx_Select(
const CWGSDb& wgs_db,
1132TIncludeFlags include_flags,
1134 voidx_Select(
const CWGSDb& wgs_db,
1135TIncludeFlags include_flags,
1138 voidx_Select(
const CWGSDb& wgs_db,
1139TIncludeFlags include_flags,
1143 voidx_Select(
const CWGSDb& wgs_db,
1144TIncludeFlags include_flags,
1148 voidx_Init(
const CWGSDb& wgs_db,
1149TIncludeFlags include_flags,
1154 returnm_Db.GetNCObject();
1157 voidx_Settle(
void);
1158 boolx_Excluded(
void)
const;
1160 voidx_ReportInvalid(
const char* method)
const;
1163x_ReportInvalid(method);
1168SVersionSelector x_GetAccVersionSelector(
int version)
const;
1178 unsignedindex)
const;
1180 unsignedindex)
const;
1182 unsignedindex)
const;
1184 unsignedindex)
const;
1186 TSeqPosx_GetQualityArraySize(
void)
const;
1188 voidx_GetQualityAnnot(TAnnotSet& annot_set,
1231TInstSegmentFlags
flags)
const;
1232 voidx_GetSegmentsWithRecoveredGaps(
TSegments& segments,
1278 returnm_FirstGoodId;
1281 returnm_FirstBadId;
1284 returnGetFirstBadRowId() - GetCurrentRowId();
1287 returnGetFirstBadRowId() - GetFirstGoodRowId();
1291 intGetAccVersion(
void)
const;
1310 boolHasSeq_descr(TFlags
flags= fDefaultFlags)
const;
1315 boolIsCircular(
void)
const;
1324 voidx_Init(
const CWGSDb& wgs_db);
1327 returnm_Db.GetNCObject();
1330 voidx_ReportInvalid(
const char* method)
const;
1333x_ReportInvalid(method);
1380 returnm_CurrSeqType;
1389 voidx_Init(
const CWGSDb& wgs_db, ESeqType seq_type);
1392 returnm_Db.GetNCObject();
1395 voidx_Settle(
void);
1396 boolx_Excluded(
void);
1432 returnm_FirstGoodId;
1435 returnm_FirstBadId;
1438 returnGetFirstBadRowId() - GetCurrentRowId();
1441 returnGetFirstBadRowId() - GetFirstGoodRowId();
1446 boolHasGi(
void)
const;
1450 intGetAccVersion(
void)
const;
1461 boolHasTaxId(
void)
const;
1465 boolHasSeqHash(
void)
const;
1466 THashGetSeqHash(
void)
const;
1469 size_tGetProductFeatCount(
void)
const;
1470 TVDBRowIdGetProductFeatRowId(
size_tindex)
const;
1472 TVDBRowIdGetBestProductFeatRowId(
void)
const;
1474 TVDBRowIdGetProductFeatRowId(
void)
const;
1476 TVDBRowIdGetReplacedByRowId(
void)
const;
1477 TVDBRowIdGetReplacesRowId(
void)
const;
1483 boolHasRefAcc(
void)
const;
1490 boolHasPublicComment(
void)
const;
1495 boolHasSeq_descr(TFlags
flags= fDefaultFlags)
const;
1498 boolHasTitle(
void)
const;
1501 boolHasAnnotSet(
void)
const;
1503 voidGetAnnotSet(
TAnnotSet& annot_set, TFlags
flags= fDefaultFlags)
const;
1515 voidx_Init(
const CWGSDb& wgs_db);
1516 voidx_Cur()
const;
1519 returnm_Db.GetNCObject();
1522 voidx_ReportInvalid(
const char* method)
const;
1525x_ReportInvalid(method);
1565 returnm_FirstGoodId;
1568 returnm_FirstBadId;
1571 returnGetFirstBadRowId() - GetCurrentRowId();
1574 returnGetFirstBadRowId() - GetFirstGoodRowId();
1586 TVDBRowIdGetProductRowId(
void)
const;
1588 TSeqPosGetLocStart(
void)
const;
1589 TSeqPosGetLocLength(
void)
const;
1597 returnm_Db.GetNCObject();
1600 voidx_Init(
const CWGSDb& wgs_db);
1602 voidx_ReportInvalid(
const char* method)
const;
1605x_ReportInvalid(method);
CRef< CSerialObject > m_MainObject
const CSerialObject & GetMainObject(void) const
CObjectOStreamAsnBinary â.
@Seq_descr.hpp User-defined methods of the data storage class.
namespace ncbi::objects::
Base class for all serializable objects.
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
CVDBTableIndex m_ProteinNameIndex
DECLARE_SAFE_FLAGS_TYPE(EGnlIdFlags, TGnlIdFlags)
const string & GetIdPrefixWithVersion(void) const
CVDBObjectCache< SProtIdxTableCursor > m_ProtIdx
map< SProtAccInfo, TIdRange > TProtAccRanges
CVDBObjectCache< SProt0TableCursor > m_Prot0
atomic< bool > m_GiIdxTableIsOpened
NCBI_gb_state m_ProjectGBState
const CVDBTableIndex & ContigNameIndex(void)
const CVDBTableIndex & ProductNameIndex(void)
pair< TGi, TGi > GetNucGiRange(void)
bool LoadMasterDescr(int filter)
const CVDBTable & GiIdxTable(void)
COpenRange< TIntId > TGiRange
static TVDBRowId ParseContigRow(CTempString acc)
DECLARE_SAFE_FLAGS_TYPE(EAllowRowType, TAllowRowType)
atomic< bool > m_FeatTableIsOpened
CVDBTableIndex m_ScaffoldNameIndex
atomic< bool > m_ScfTableIsOpened
string m_IdPrefixDbWithVersion
bool HasCommonTaxId(void) const
const string & GetReplacedBy() const
TAmbiguityCache m_AmbiguityCache
TVDBRowId GetNucGiRowId(TGi gi)
const CVDBTableIndex & ScaffoldNameIndex(void)
void SetMasterDescr(const TMasterDescr &descr, int filter)
TTaxId GetCommonTaxId(void) const
pair< TVDBRowId, bool > GetGiRowId(TGi gi)
const CVDBTable & ScfTable(void)
const CRef< CSeq_id > & GetPatentId(void) const
CVDBTableIndex m_ProtAccIndex
TMasterDescr m_MasterDescr
CRef< CSeq_entry > m_MasterEntry
TVDBRowId GetScaffoldNameRowId(const string &name)
TVDBRowId GetContigNameRowId(const string &name)
Uint4 GetIdRowDigits(void) const
CVDBObjectCache< SSeqTableCursor > m_Seq
COpenRange< Uint4 > TIdRange
atomic< Int1 > m_ScaffoldNameIndexIsOpened
atomic< bool > m_ProtIdxTableIsOpened
NCBI_gb_state GetProjectGBState() const
TVDBRowId GetProductNameRowId(const string &name)
TVDBRowId GetProtAccRowId(const string &acc, int version=-1)
CVDBObjectCache< SProtTableCursor > m_Prot
TVDBRowId GetProteinNameRowId(const string &name)
atomic< Int1 > m_ProductNameIndexIsOpened
vector< TGiRange > TGiRanges
list< CRef< CSeqdesc > > TMasterDescr
CSimpleBufferT< char > TMasterDescrBytes
TProtAccRanges GetProtAccRanges(void)
CFastMutex m_AmbiguityCacheMutex
const CVDBTableIndex & ProteinNameIndex(void)
TGiRanges GetProtGiRanges(void)
TVDBRowId ParseRow(CTempString acc, bool *is_scaffold) const
TGiRanges GetNucGiRanges(void)
limited_resource_map< TVDBRowId, CRef< SAmbiguityInfo >, size_t > TAmbiguityCache
CVDBObjectCache< SScfTableCursor > m_Scf
static TVDBRowId ParseScaffoldRow(CTempString acc)
bool IsSetMasterDescr(void) const
CVDBTableIndex m_ContigNameIndex
CVDBObjectCache< SSeq0TableCursor > m_Seq0
CRef< CSeq_id > m_PatentId
atomic< bool > m_ProtTableIsOpened
const CVDBTable & FeatTable(void)
const CVDBTableIndex & ProtAccIndex(void)
const CVDBTable & SeqTable(void)
pair< TGi, TGi > GetProtGiRange(void)
CSeq_inst::TMol m_ContigMolType
string m_IdPrefixWithVersion
atomic< Int1 > m_ProtAccIndexIsOpened
CSeq_id::E_Choice m_SeqIdType
const TMasterDescr & GetMasterDescr(void) const
atomic< EFeatLocIdType > m_FeatLocIdType
CVDBTableIndex m_ProductNameIndex
static TVDBRowId ParseProteinRow(CTempString acc)
CVDBObjectCache< SFeatTableCursor > m_Feat
const CVDBTable & ProtIdxTable(void)
const CVDBTable & ProtTable(void)
CVDBObjectCache< SGiIdxTableCursor > m_GiIdx
const string & GetIdPrefix(void) const
atomic< Int1 > m_ProteinNameIndexIsOpened
TVDBRowId GetProtGiRowId(TGi gi)
const string & GetWGSPath(void) const
atomic< Int1 > m_ContigNameIndexIsOpened
CWGSDb(CVDBMgr &mgr, CTempString path_or_acc, CTempString vol_path=CTempString())
TGiRanges GetProtGiRanges(void)
pair< TVDBRowId, bool > GetGiRowId(TGi gi) const
TVDBRowId GetProductNameRowId(const string &name) const
CWGSDb(CWGSDb_Impl *impl)
TGiRanges GetNucGiRanges(void) const
CWGSDb_Impl::SProtAccInfo SProtAccInfo
TProtAccRanges GetProtAccRanges(void)
static TVDBRowId ParseProteinRow(CTempString acc)
const string & GetWGSPath(void) const
static TVDBRowId ParseScaffoldRow(CTempString acc)
TVDBRowId GetContigNameRowId(const string &name) const
TVDBRowId GetNucGiRowId(TGi gi) const
void SetMasterDescr(const TMasterDescr &descr, EDescrFilter filter=eDescrDefaultFilter) const
CWGSDb_Impl::TIdRange TIdRange
pair< TGi, TGi > GetProtGiRange(void) const
pair< TGi, TGi > GetNucGiRange(void) const
CWGSDb_Impl::TGiRange TGiRange
CWGSDb_Impl::TProtAccRanges TProtAccRanges
TVDBRowId GetProteinNameRowId(const string &name) const
TVDBRowId GetProtAccRowId(const string &acc, int version=-1) const
list< CRef< CSeqdesc > > TMasterDescr
TVDBRowId ParseRow(CTempString acc, bool *is_scaffold=NULL) const
TVDBRowId GetProtGiRowId(TGi gi) const
bool LoadMasterDescr(EDescrFilter filter=eDescrDefaultFilter) const
static EDescrType GetMasterDescrType(const CSeqdesc &desc)
CWGSDb_Impl::TGiRanges TGiRanges
static TVDBRowId ParseContigRow(CTempString acc)
TVDBRowId GetScaffoldNameRowId(const string &name) const
CWGSDb_Impl & GetDb(void) const
TVDBRowCount GetSize(void) const
CWGSFeatureIterator & operator++(void)
TVDBRowId GetFirstBadRowId(void) const
DECLARE_OPERATOR_BOOL(m_CurrId< m_FirstBadId)
TVDBRowCount GetRemainingCount(void) const
TVDBRowId GetFirstGoodRowId(void) const
TVDBRowId GetCurrentRowId(void) const
CRef< CWGSDb_Impl::SFeatTableCursor > m_Cur
void x_CheckValid(const char *method) const
CWGSGiIterator & operator++(void)
ESeqType GetSeqType(void) const
TVDBRowId GetRowId(void) const
CRef< CWGSDb_Impl::SGiIdxTableCursor > m_Cur
CWGSDb_Impl & GetDb(void) const
DECLARE_OPERATOR_BOOL(m_CurrGi< m_FirstBadGi)
TVDBRowId GetFirstBadRowId(void) const
CBioseq::TAnnot TAnnotSet
TVDBRowId GetCurrentRowId(void) const
TVDBRowId GetFirstGoodRowId(void) const
DECLARE_OPERATOR_BOOL(m_CurrId< m_FirstBadId)
CWGSDb_Impl & GetDb(void) const
TVDBRowCount GetRemainingCount(void) const
void x_CheckValid(const char *method) const
CRef< CWGSDb_Impl::SProtTableCursor > m_Cur
TVDBRowCount GetSize(void) const
CWGSProteinIterator & operator++(void)
CRef< CWGSDb_Impl::SProt0TableCursor > m_Cur0
TVDBRowCount GetSize(void) const
TVDBRowId GetFirstBadRowId(void) const
TVDBRowCount GetRemainingCount(void) const
TVDBRowId GetFirstGoodRowId(void) const
CRef< CWGSDb_Impl::SScfTableCursor > m_Cur
void x_CheckValid(const char *method) const
CWGSDb_Impl & GetDb(void) const
CWGSScaffoldIterator & operator++(void)
TVDBRowId GetCurrentRowId(void) const
DECLARE_OPERATOR_BOOL(m_CurrId< m_FirstBadId)
TVDBRowId GetRemainingCount(void) const
TIncludeFlags m_IncludeFlags
TSeqPos x_Get4naLength(TSeqPos pos, TSeqPos len, SAmbiguityAccess &ambiguity) const
TSeqPos x_Get2naLength(TSeqPos pos, TSeqPos len, SAmbiguityAccess &ambiguity) const
DECLARE_SAFE_FLAGS_TYPE(EIncludeFlags, TIncludeFlags)
TSeqPos x_Get4naLengthExact(TSeqPos pos, TSeqPos len, TSeqPos stop_2na_len, TSeqPos stop_gap_len, SAmbiguityAccess &ambiguity) const
bool x_AmbiguousBlock(TSeqPos block_index, SAmbiguityAccess &ambiguity) const
CWGSDb_Impl::SAmbiguityInfo SAmbiguityInfo
TVDBRowId GetCurrentRowId(void) const
CRef< CWGSDb_Impl::SSeq0TableCursor > m_Cur0
bool IsClippedByQuality(void) const
int GetAccVersion(void) const
CRef< CDelta_ext > GetDelta(TSeqPos pos, TSeqPos len) const
TSeqPos x_GetGapLengthExact(TSeqPos pos, TSeqPos len, SAmbiguityAccess &ambiguity) const
CRef< CSeq_data > Get4na(TSeqPos pos, TSeqPos len, SAmbiguityAccess &ambiguity) const
TVDBRowId GetFirstBadRowId(void) const
CWGSDb_Impl::SSeq4naTableCursor SSeq4naTableCursor
CBioseq::TAnnot TAnnotSet
CRef< CWGSDb_Impl::SAmbiguityInfo > m_AmbiguityInfo
SVersionSelector m_AccVersion
CRef< CWGSDb_Impl::SSeqTableCursor > m_Cur
TVDBRowId GetSize(void) const
DECLARE_SAFE_FLAGS_TYPE(EInstSegmentFlags, TInstSegmentFlags)
TSeqPos x_Get2naLengthExact(TSeqPos pos, TSeqPos len, SAmbiguityAccess &ambiguity) const
CRef< CSeq_data > Get2na(TSeqPos pos, TSeqPos len, SAmbiguityAccess &ambiguity) const
vector< SSegment > TSegments
DECLARE_OPERATOR_BOOL(m_CurrId< m_FirstBadId)
bool ShouldBeClippedByQuality(void) const
TVDBRowId GetLastRowId(void) const
const Uint1 * x_GetUnpacked4na(TSeqPos pos, TSeqPos len, SAmbiguityAccess &ambiguity) const
bool GetClipByQualityFlag(EClipType clip_type=eDefaultClip) const
void x_CheckValid(const char *method) const
CRef< CDelta_ext > GetDelta(TSeqPos pos, TSeqPos len, TWGSContigGapInfo gap_info, vector< COpenRange< TSeqPos > > *split=0) const
CWGSDb_Impl & GetDb(void) const
TVDBRowId GetFirstGoodRowId(void) const
TSeqPos GetClipQualityRight(void) const
Include a standard set of the NCBI C++ Toolkit most basic headers.
int GetSeqLength(const CBioseq &bioseq)
std::ofstream out("events_result.xml")
main entry point for tests
static const char table_name[]
static const char * str(char *buf, int n)
unsigned int TSeqPos
Type for sequence locations and lengths.
SStrictId_Tax::TId TTaxId
Taxon id type.
const TSeqPos kInvalidSeqPos
Define special value for invalid sequence position.
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,...
TSeqPos GetLength(const CSeq_id &id, CScope *scope)
Get sequence length if scope not null, else return max possible TSeqPos.
string GetProteinName(const CBioseq_Handle &seq)
Return protein name from corresponding Prot-ref feature.
NCBI_XOBJUTIL_EXPORT string GetTitle(const CBioseq_Handle &hnd, TGetTitleFlags flags=0)
TTaxId GetTaxId(const CBioseq_Handle &handle)
return the tax-id associated with a given sequence.
CObject & operator=(const CObject &src) THROWS_NONE
Assignment operator.
TObjectType & GetObject(void)
Get object.
TObjectType & GetNCObject(void) const
Get object.
uint8_t Uint1
1-byte (8-bit) unsigned integer
uint32_t Uint4
4-byte (32-bit) unsigned integer
int8_t Int1
1-byte (8-bit) signed integer
#define NCBI_SRAREAD_EXPORT
E_Choice
Choice variants.
list< CRef< CSeq_id > > TId
EMol
molecule class in living organism
list< CRef< CSeq_annot > > TAnnot
<!DOCTYPE HTML >< html > n< header > n< title > PubSeq Gateway Help Page</title > n< style > n table
Generic map with additional resource limited by some value.
CSeq_entry_Info & GetSeq_entry(CTSE_Info &tse, const CBioObjectId &id)
CBioseq_Info & GetBioseq(CTSE_Info &tse, const CBioObjectId &id)
static string GetProductName(const CProt_ref &prot)
const string version
version string
Multi-threading â mutexes; rw-locks; semaphore.
void split(std::vector< std::string > *strVec, const std::string &str_, const std::string &split_)
const CConstRef< CSeq_id > GetAccession(const CSeq_id_Handle &id_handle)
static bool GetIds(const T &d, set< string > &labels, const string name="", bool detect=false, bool found=false)
#define row(bind, expected)
bool operator<(const SProtAccInfo &b) const
bool operator==(const SProtAccInfo &b) const
bool operator!=(const SProtAccInfo &b) const
DECLARE_OPERATOR_BOOL(m_IdLength !=0)
CRef< CSeq_literal > literal
COpenRange< TSeqPos > range
SVersionSelector(ELatest)
const INSDC_coord_len * gaps_len
bool IsInGap(TSeqPos pos) const
TSeqPos GetGapLength(TSeqPos pos, TSeqPos len) const
TSeqPos GetLength(void) const
TSeqPos GetToOpen(void) const
DECLARE_OPERATOR_BOOL(gaps_count > 0)
const NCBI_WGS_component_props * gaps_props
TSeqPos GetFrom(void) const
TSeqPos GetTo(void) const
const INSDC_coord_zero * gaps_start
TSeqPos GetDataLength(TSeqPos pos, TSeqPos len) const
const NCBI_WGS_gap_linkage * gaps_linkage
DECLARE_SAFE_FLAGS_TYPE(EFlags, TFlags)
@ eFeatLocIdUninitialized
static const TSplitVersion kDefaultSplitVersion
pair< TVDBRowId, TVDBRowCount > TVDBRowIdRange
void Serialize(CNcbiOstream &, const CRawScoreVector< Key, Score > &)
Generics These throw an exception; we must implement serialization for each type.
int32_t NCBI_WGS_gap_linkage
int16_t NCBI_WGS_component_props
void AddMasterDescr(CBioseq_Info &seq, const CSeq_descr &src, EDescrType type)
int32_t NCBI_WGS_gap_linkage
@ NCBI_gb_state_eWGSGenBankUnverified
@ NCBI_gb_state_eWGSGenBankReplaced
@ NCBI_gb_state_eWGSGenBankSuppressed
@ NCBI_gb_state_eWGSGenBankMissing
@ NCBI_gb_state_eWGSGenBankMigrated
@ NCBI_gb_state_eWGSGenBankLive
@ NCBI_gb_state_eWGSGenBankWithdrawn
DECLARE_SAFE_FLAGS(SWGSDb_Defs::EFlags)
@ NCBI_WGS_seqtype_scaffold
@ NCBI_WGS_seqtype_protein
@ NCBI_WGS_seqtype_contig
@ NCBI_WGS_loc_strand_both
@ NCBI_WGS_loc_strand_minus
@ NCBI_WGS_loc_strand_plus
@ NCBI_WGS_loc_strand_unknown
uint8_t INSDC_quality_phred
int16_t NCBI_WGS_component_props
uint8_t NCBI_WGS_loc_strand
uint8_t NCBI_WGS_feattype
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