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/blast__seqinfosrc__aux_8cpp_source.html below:

NCBI C++ ToolKit: src/algo/blast/api/blast_seqinfosrc_aux.cpp Source File

57

list<CRef<CSeq_id> > seqid_list = seqinfo_src->GetId(oid);

60  if

(

id

.NotEmpty()) {

67

*length = seqinfo_src->GetLength(oid);

79

list<CRef<CSeq_id> > seqid_list = seqinfo_src->GetId(oid);

82  if

(

id

.NotEmpty()) {

86

*length = seqinfo_src->GetLength(oid);

101

list< CRef<CSeq_id> > seqid_list = seqinfo_src.

GetId

(oid);

102

gis.reserve(seqid_list.size());

106

gis.push_back((**id).GetGi());

110  sort

(gis.begin(), gis.end());

115

vector<string> & seqids,

124

list< CRef<CSeq_id> > seqid_list = seqinfo_src.

GetId

(oid);

131  string

sid_string =

"gi:"

+ (*id)->GetSeqIdString(

true

);

132

seqids.push_back(sid_string);

140  string

sid_string =

"seqid:"

+ (*id)->GetSeqIdString(

true

);

141

seqids.push_back(sid_string);

143  else if

((*id)->IsPdb())

145  string

sid_string =

"seqid:"

+ (*id)->GetSeqIdString(

true

);

146

seqids.push_back(sid_string);

Declarations of auxiliary functions using IBlastSeqInfoSrc to retrieve ids and related sequence infor...

Abstract base class to encapsulate retrieval of sequence identifiers.

virtual list< CRef< objects::CSeq_id > > GetId(Uint4 index) const =0

Method to retrieve a sequence identifier given its ordinal number.

void GetSequenceLengthAndId(const blast::IBlastSeqInfoSrc *seqinfo_src, int oid, CRef< CSeq_id > &seqid, TSeqPos *length)

void GetFilteredRedundantSeqids(const IBlastSeqInfoSrc &sisrc, int oid, vector< string > &seqids, bool use_gis=true)

Get Seqids for a sequence in a redundant database.

void GetFilteredRedundantGis(const IBlastSeqInfoSrc &sisrc, int oid, vector< TGi > &gis)

Get GIs for a sequence in a redundant database.

virtual bool HasGiList() const =0

Returns true if the subject is restricted by a GI list.

unsigned int TSeqPos

Type for sequence locations and lengths.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

C & SerialAssign(C &dest, const C &src, ESerialRecursionMode how=eRecursive)

Set object to copy of another one.

static int BestRank(const CRef< CSeq_id > &id)

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define USING_SCOPE(ns)

Use the specified namespace.

#define END_SCOPE(ns)

End the previously defined scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define BEGIN_SCOPE(ns)

Define a new scope.

C::value_type FindBestChoice(const C &container, F score_func)

Find the best choice (lowest score) for values in a container.

bool IsSetAccession(void) const

Check if a value has been assigned to Accession data member.

bool IsGi(void) const

Check if variant Gi is selected.

constexpr auto sort(_Init &&init)

Useful/utility classes and methods.


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