(
const string&
id,
boolis_dead);
57 CPsgBlobId(
const string&
id,
const string& id2_info);
65 virtual string ToString(
void)
const override;
84 return!m_TSEName.empty();
93 returnm_HasBioseqIsDead;
97 returnm_BioseqIsDead;
101m_HasBioseqIsDead =
false;
102m_BioseqIsDead =
false;
106m_HasBioseqIsDead =
true;
107m_BioseqIsDead = is_dead;
110 boolGetSatSatkey(
int& sat,
int& satkey)
const;
118 boolm_HasBioseqIsDead =
false;
119 boolm_BioseqIsDead =
false;
136 TBlobIdGetBlobIdFromSatSatKey(
intsat,
138 intsub_sat)
const override;
140 TBlobIdGetBlobIdFromString(
const string&
str)
const override;
142 boolCanGetBlobById(
void)
const override;
154 voidGetChunk(
TChunkchunk)
override;
155 voidGetChunks(
const TChunkSet& chunks)
override;
174 const string& named_acc)
override;
180time_t
= 0)
override{}
183 voidGetBulkIds(
constTIds& ids, TLoaded& loaded, TBulkIds& ret)
override;
184 voidGetAccVers(
constTIds& ids, TLoaded& loaded, TIds& ret)
override;
185 voidGetGis(
constTIds& ids, TLoaded& loaded, TGis& ret)
override;
186 voidGetLabels(
constTIds& ids, TLoaded& loaded, TLabels& ret)
override;
187 voidGetTaxIds(
constTIds& ids, TLoaded& loaded, TTaxIds& ret)
override;
188 voidGetSequenceStates(
constTIds& ids, TLoaded& loaded, TSequenceStates& ret)
override;
189 voidGetSequenceHashes(
constTIds& ids, TLoaded& loaded, TSequenceHashes& ret, THashKnown& known)
override;
190 voidGetSequenceLengths(
constTIds& ids, TLoaded& loaded, TSequenceLengths& ret)
override;
191 voidGetSequenceTypes(
constTIds& ids, TLoaded& loaded, TSequenceTypes& ret)
override;
CReaderCacheManager::TCacheType TCacheType
void PurgeCache(TCacheType, time_t=0) override
void CloseCache(void) override
CRef< CPSGDataLoader_Impl > m_Impl
bool HaveCache(TCacheType) override
void SetBioseqIsDead(bool is_dead=true)
void SetId2Info(const string &id2_info)
const string & GetId2Info() const
bool HasBioseqIsDead() const
const string & GetTSEName() const
const string & ToPsgId() const
bool BioseqIsDead() const
void SetTSEName(const string &name)
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char * str(char *buf, int n)
unsigned int TSeqPos
Type for sequence locations and lengths.
SStrictId_Tax::TId TTaxId
Taxon id type.
ESNPScaleLimit
SNP annotation scale limits.
TTaxId GetTaxId(const CBioseq_Handle &handle)
return the tax-id associated with a given sequence.
vector< CTSE_Lock > TCDD_Locks
virtual bool operator<(const CBlobId &id) const =0
vector< CSeq_id_Handle > TIds
virtual string ToString(void) const =0
Get string representation of blob id.
EChoice
main blob is blob with sequence all other blobs are external and contain external annotations
vector< vector< CSeq_id_Handle > > TSeqIdSets
virtual bool operator==(const CBlobId &id) const
EIsDefault
Flag defining if the data loader is included in the "default" group.
vector< bool > TLoaded
Bulk loading interface for a small pieces of information per id.
vector< TChunk > TChunkSet
@ kPriority_NotSet
Deprecated: use kPriority_Default instead.
#define NCBI_XLOADER_GENBANK_EXPORT
const GenericPointer< typename T::ValueType > T2 value
static bool GetIds(const T &d, set< string > &labels, const string name="", bool detect=false, bool found=false)
CRef< objects::CObjectManager > om
Better replacement of GetAccVer(), this method should be defined in data loaders, GetAccVer() is left...
Better replacement of GetGi(), this method should be defined in data loaders, GetGi() is left for com...
Better replacement of GetSequenceHash(), this method should be defined in data loaders,...
Better replacement of GetSequenceType(), this method should be defined in data loaders,...
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