(
id.IsGeneral()) {
53id_str +=
id.GetGeneral().GetDb();
83 CNcbiIfstreamdump_index_stream( file_path.c_str(), std::ios::binary );
86 while( dump_index_stream ) {
99 if(entry->
IsSet()){
105 if(
id.
GetSeqId()->Match(**it)){
106bioseq = &entry->
GetSeq();
void ReadThroughFile(const std::string &file_path)
void GetNormalizedSeqId(const CSeq_id &id, string &id_str, Uint4 &version)
CConstRef< CBioseq > ExtractBioseq(CConstRef< CSeq_entry > entry, const CSeq_id_Handle &id)
Extract bioseq with given id from entry.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
@ fLabel_GeneralDbIsContent
For type general, use the database name as the tag and the (text or numeric) key as the content.
@ eContent
Untagged human-readable accession or the like.
@ eType
FASTA-style type, or database in GeneralDbIsContent mode.
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::ifstream CNcbiIfstream
Portable alias for ifstream.
static string & ToLower(string &str)
Convert string to lower case â string& version.
X * NotNull(X *object)
Check for not null value (after C malloc, strdup etc.).
TVersion GetVersion(void) const
Get the Version member data.
bool IsSetVersion(void) const
Check if a value has been assigned to Version data member.
const TSeq & GetSeq(void) const
Get the variant data.
const TSet & GetSet(void) const
Get the variant data.
bool IsSet(void) const
Check if variant Set is selected.
const TSeq_set & GetSeq_set(void) const
Get the Seq_set member data.
list< CRef< CSeq_entry > > TSeq_set
const TId & GetId(void) const
Get the Id member data.
list< CRef< CSeq_id > > TId
const string version
version string
const SIZE_TYPE kBufferSize
static bool GetSeqId(const T &d, set< string > &labels, const string name="", bool detect=false, bool found=false)
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