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

NCBI C++ ToolKit: src/objtools/writers/genbank_id_resolve.cpp Source File

46

mThrowOnUnresolvedGi(

false

)

76  return

resolver.

Get

();

83  string

& best_id)

const 93  if

(best_idh.

IsGi

() && mThrowOnUnresolvedGi) {

95  string msg

(

"Unable to resolve GI number "

);

99  string

backup = best_id;

101

best_id = mfFormat(*(best_idh.

GetSeqId

()));

113  string

& best_id)

const 118  return GetBestId

(idh, mf.GetScope(), best_id);

120  const CSeq_loc

& loc = mf.GetLocation();

122  return GetBestId

(idh, mf.GetScope(), best_id);

134  "CGenbankIdResolve: Location without good ID"

);

static CGenbankIdResolve & Get()

std::function< string(const CSeq_id &)> FIdFormat

CRef< CScope > mpDefaultScope

FIdFormat & SetFormatter()

bool GetBestId(CSeq_id_Handle, CScope &, string &) const

CScope & xGetDefaultScope()

T & Get(void)

Create the variable if not created yet, return the reference.

#define NCBI_THROW(exception_class, err_code, message)

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

CConstRef< CSeq_id > GetSeqId(void) const

static CSeq_id_Handle GetHandle(const CSeq_id &id)

Normal way of getting a handle, works for any seq-id.

@ eContent

Untagged human-readable accession or the like.

const CSeq_id * GetId(void) const

Get the id of the location return NULL if has multiple ids or no id at all.

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,...

CSeq_id_Handle GetIdHandle(const CSeq_loc &loc, CScope *scope)

@ eGetId_Best

return the "best" gi (uses FindBestScore(), with CSeq_id::CalculateScore() as the score function

static CRef< CObjectManager > GetInstance(void)

Return the existing object manager or create one.

void AddDefaults(TPriority pri=kPriority_Default)

Add default data loaders from object manager.

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)

Convert numeric value to string.

static const char label[]

Static variables safety - create on demand, destroy on application termination.

CConstRef< CSeq_id > GetBestId(const CBioseq &bioseq)

static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)


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