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

NCBI C++ ToolKit: src/app/blastvdb/blast_vdb_app_util.cpp Source File

58

std::set<CSeq_id_Handle> seqids;

60  if

( !(*result)->HasAlignments() ) {

68

std::vector<CSeq_id_Handle> sorted_ids (seqids.begin(), seqids.end());

77

vector<string> sra_files;

78

vector<string> wgs_files;

79

list<string>::iterator itr=search_list.begin();

80  while

(itr != search_list.end()) {

82  if

(

f

.GetDir() == *s_itr) {

83  string

fname =

f

.GetName();

85

sra_files.push_back(

f

.GetName());

88

wgs_files.push_back(

f

.GetName());

90

itr = search_list.erase(itr);

95  if

(sra_files.size()) {

99  if

(wgs_files.size()) {

112

list<string> search_list;

115

vector<string> db_names;

117

list<string>::iterator sp=search_list.

begin

();

118  while

(sp != search_list.end()){

120  if

(

local

.Exists()) {

125

db_names.push_back(*sp);

126

sp = search_list.erase(sp);

132  om

->GetRegisteredNames(

names

);

134  om

->RevokeDataLoader(*it);

137

vector<string> dl_local;

138  if

(search_list.size() > 0) {

142  unsigned int

num_sra = 0;

143  for

(

unsigned int i

=0;

i

< db_names.size();

i

++) {

150  if

(num_sra < db_names.size()) {

159  for

(

unsigned int i

=0;

i

< dl_local.size();

i

++) {

CRef< CScope > GetVDBScope(string dbAllNames)

static void s_RegisterLocalDataLoader(list< string > &search_list, set< string > &local_paths, CRef< CObjectManager > &om, vector< string > &dl_local)

void SortAndFetchSeqData(const blast::CSearchResultSet &results, CRef< CScope > scope, CScope::TBioseqHandles &handles)

Utility functions for BLAST VDB command line applications.

static TRegisterLoaderInfo RegisterInObjectManager(CObjectManager &om, const SLoaderParams &params, CObjectManager::EIsDefault is_default=CObjectManager::eNonDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet)

static TRegisterLoaderInfo RegisterInObjectManager(CObjectManager &om, CReader *reader=0, CObjectManager::EIsDefault is_default=CObjectManager::eDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet)

static bool IsSRA(const string &db_name)

static TRegisterLoaderInfo RegisterInObjectManager(CObjectManager &om, const SLoaderParams &params, CObjectManager::EIsDefault is_default=CObjectManager::eNonDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet)

iterator_bool insert(const value_type &val)

const_iterator begin() const

const_iterator end() const

static const struct name_t names[]

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define NCBI_THROW(exception_class, err_code, message)

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

static CSeq_id_Handle GetHandle(const CSeq_id &id)

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

TLoader * GetLoader(void) const

Get pointer to the loader.

void AddDataLoader(const string &loader_name, TPriority pri=kPriority_Default)

Add data loader by name.

static CRef< CObjectManager > GetInstance(void)

Return the existing object manager or create one.

TBioseqHandles GetBioseqHandles(const TIds &ids)

Get bioseq handles for all ids.

vector< CBioseq_Handle > TBioseqHandles

vector< string > TRegisteredNames

@ kPriority_Loader

Default priority for main loaders.

@ kPriority_Local

Default priority for local data storage.

@ kPriority_Replace

Default priority for replacement loaders.

bool NotEmpty(void) const THROWS_NONE

Check if CRef is not empty – pointing to an object and has a non-null value.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static list< string > & Split(const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)

Split a string using specified delimiters.

@ fSplit_Tokenize

All delimiters are merged and trimmed, to get non-empty tokens only.

list< CRef< CSeq_align > > Tdata

CRef< objects::CObjectManager > om

Defines database alias file access classes.


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