A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/asn__index_8cpp_source.html below:

NCBI C++ ToolKit: src/objtools/data_loaders/asn_cache/asn_index.cpp Source File

185

ostr <<

info

.seq_id <<

" | " 186

<<

info

.version <<

" " 188

<<

info

.timestamp <<

" " 189

<<

info

.chunk <<

" " 192

<<

info

.sequence_length <<

" " 193

<<

info

.taxonomy_id;

205  size_t

seqid_count = 0;

212  ITERATE

(objects::CBioseq::TId, id_iter, bioseq.GetId()) {

228  std::string

error_string =

"Failed to add seq id "

;

230

error_string +=

" index at "

+ index.

GetFileName

();

249  if

(bioseq.CanGetInst() && bioseq.GetInst().CanGetLength())

250

seq_length = bioseq.GetInst().GetLength();

256

ancestor_set && !taxid;

257

ancestor_set = ancestor_set->GetParentSet())

259  if

(ancestor_set->IsSetDescr()) {

263  ITERATE

(objects::CBioseq_set::TDescr::Tdata, it,

264

ancestor_set->GetDescr().Get())

266  const

objects::CSeqdesc& desc = **it;

268

taxid_from_org = desc.GetOrg().GetTaxId();

269

}

else if

(desc.IsSource() && desc.GetSource().IsSetOrg()) {

284  ITERATE

(objects::CBioseq::TId, id_iter, bioseq.GetId()) {

285  if

((*id_iter)->IsGi()) {

void GetNormalizedSeqId(const objects::CSeq_id_Handle &id, string &id_str, Uint4 &version)

size_t IndexABioseq(const objects::CBioseq &bioseq, CAsnIndex &index, CAsnIndex::TTimestamp timestamp, CAsnIndex::TChunkId chunk_id, CAsnIndex::TOffset offset, CAsnIndex::TSize size)

void BioseqIndexData(const objects::CBioseq &bioseq, CAsnIndex::TGi &gi, CAsnIndex::TSeqLength &seq_length, CAsnIndex::TTaxId &taxid)

CNcbiOstream & operator<<(CNcbiOstream &ostr, const CAsnIndex::SIndexInfo &info)

This is a simple BDB structure holding information about a given accession and its indexed location.

TChunkId GetChunkId() const

SBDB_TypeTraits< TGi >::TFieldType m_Gi

associated gi

SBDB_TypeTraits< TChunkId >::TFieldType m_ChunkId

file chunk and offset

TOffset GetOffset() const

E_index_type m_type

Flag indicating which type of index this is.

void SetSeqId(TSeqId val)

E_index_type GetIndexType() const

CAsnIndex(E_index_type type)

void SetVersion(TVersion val)

SBDB_TypeTraits< TSeqId >::TFieldType m_SeqId

flattened, normalized seq-id representation

SBDB_TypeTraits< TVersion >::TFieldType m_Version

version (or 0 if not applicable)

void SetTaxId(TTaxId val)

void SetChunkId(TChunkId val)

SBDB_TypeTraits< TOffset >::TFieldType m_Offset

TTimestamp GetTimestamp() const

SBDB_TypeTraits< TSize >::TFieldType m_Size

SBDB_TypeTraits< TTimestamp >::TFieldType m_Timestamp

timestamp of update; this permist multiple gis and query by date

void SetOffset(TOffset val)

TVersion GetVersion() const

void SetSeqLength(TSeqLength val)

TSeqLength GetSeqLength() const

void SetTimestamp(TTimestamp val)

SBDB_TypeTraits< TSeqLength >::TFieldType m_SeqLength

sequence-specific data

SBDB_TypeTraits< TTaxId >::TFieldType m_TaxId

TSeqId GetSeqId() const

accessors

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define TAX_ID_TO(T, tax_id)

SStrictId_Tax::TId TTaxId

Taxon id type.

EBDB_ErrCode UpdateInsert(EAfterWrite write_flag=eDiscardData)

Update record corresponding to the current key value.

const string & GetFileName() const

Return file name.

void BindKey(const char *field_name, CBDB_Field *key_field, size_t buf_size=0)

void BindData(const char *field_name, CBDB_Field *data_field, size_t buf_size=0, ENullable is_null=eNullable)

void SetPageSize(unsigned int page_size)

#define NCBI_THROW(exception_class, err_code, message)

Generic macro to throw an exception, given the exception class, error code and message string.

uint32_t Uint4

4-byte (32-bit) unsigned integer

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

IO_PREFIX::ostream CNcbiOstream

Portable alias for ostream.

const string version

version string

const struct ncbi::grid::netcache::search::fields::SIZE size


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