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

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

45 using namespace ncbi

;

58

BOOST_REQUIRE_EQUAL((

Int4

)24,

63

BOOST_REQUIRE(hsp_list);

64

BOOST_REQUIRE_EQUAL((

Int4

)0, hsp_list[0].oid);

65

BOOST_REQUIRE_EQUAL((

Int4

)1, hsp_list[0].hspcnt);

66

BOOST_REQUIRE(hsp_list[0].hsp_array[0]);

67

BOOST_REQUIRE_EQUAL((

Int4

)103, hsp_list[0].hsp_array[0]->score);

68

BOOST_REQUIRE_EQUAL((

Int4

)0, hsp_list[0].hsp_array[0]->

query

.offset);

69

BOOST_REQUIRE_EQUAL((

Int4

)21, hsp_list[0].hsp_array[0]->

query

.end);

70

BOOST_REQUIRE_EQUAL((

Int4

)0,

71

hsp_list[0].hsp_array[0]->

subject

.offset);

72

BOOST_REQUIRE_EQUAL((

Int4

)21,

73

hsp_list[0].hsp_array[0]->

query

.end);

99

BOOST_REQUIRE(

results

.GetPointer() != 0);

101

BOOST_REQUIRE(

results

->m_HspStream != 0);

102

BOOST_REQUIRE(

results

->m_Diagnostics != 0);

105

(prelim_search,

results

->m_HspStream->GetPointer(), options);

129

BOOST_REQUIRE(

results

.GetPointer() != 0);

131

BOOST_REQUIRE(

results

->m_HspStream != 0);

132

BOOST_REQUIRE(

results

->m_Diagnostics != 0);

135

(prelim_search,

results

->m_HspStream->GetPointer(), options);

146

q_tsl.push_back(*q_ssl);

164

BOOST_REQUIRE(

results

.GetPointer() != 0);

165

BOOST_REQUIRE(

results

->m_HspStream != 0);

166

BOOST_REQUIRE(

results

->m_Diagnostics != 0);

175

q_tsl.push_back(*q_ssl);

188

std::vector<std::list<CRef<CStd_seg> > >

l

;

189

prelim_search.

Run

(

l

);

191

BOOST_REQUIRE(

l

.size() == 1);

192

BOOST_REQUIRE(

l

[0].

size

() >= 1);

194

BOOST_REQUIRE(seg->GetSeqStart(0) == 0);

195

BOOST_REQUIRE(seg->GetSeqStop(0) == 506);

196

BOOST_REQUIRE(seg->GetSeqStart(1) == 54);

197

BOOST_REQUIRE(seg->GetSeqStop(1) == 560);

198  const

vector<CRef<CSeq_id> > &

id

= seg->GetIds();

200  const

vector<CRef<CSeq_loc> > & loc = seg->GetLoc();

212

q_tsl.push_back(*q_ssl);

225

std::vector<std::list<CRef<CStd_seg> > >

l

;

226

prelim_search.

Run

(

l

);

228

BOOST_REQUIRE(

l

.size() == 1);

229

BOOST_REQUIRE(

l

[0].

size

() > 1);

231

BOOST_REQUIRE(seg->GetSeqStart(0) == 0);

232

BOOST_REQUIRE(seg->GetSeqStop(0) == 506);

233

BOOST_REQUIRE(seg->GetSeqStart(1) == 54);

234

BOOST_REQUIRE(seg->GetSeqStop(1) == 560);

235  const

vector<CRef<CSeq_id> > &

id

= seg->GetIds();

237  const

vector<CRef<CSeq_loc> > & loc = seg->GetLoc();

Declares the CBlastOptionsHandle and CBlastOptionsFactory classes.

@ eTblastx

Translated nucl-Translated nucl.

@ eBlastp

Protein-Protein.

@ eMegablast

Nucl-Nucl (traditional megablast)

BOOST_AUTO_TEST_SUITE_END() static int s_GetSegmentFlags(const CBioseq &bioseq)

CAutoEnvironmentVariable –.

Wrapper class for BlastHSPResults .

Search class to perform the preliminary stage of the BLAST search.

void AddQuery(CRef< CBlastSearchQuery > q)

Add a query to the set.

NCBI C++ Object Manager dependant implementation of IQueryFactory.

static CTestObjMgr & Instance()

string GetSeqIdString(const CSeq_id &id)

size_t GetNumberOfThreads(void) const

Accessor for the number of threads to use.

CRef< SInternalData > Run()

Borrow the internal data and results results.

bool IsMultiThreaded(void) const

Returns true if more than 1 thread is specified.

static CBlastOptionsHandle * Create(EProgram program, EAPILocality locality=CBlastOptions::eLocal)

Creates an options handle object configured with default options for the requested program,...

CBlastOptions & SetOptions()

Returns a reference to the internal options class which this object is a handle for.

virtual void SetNumberOfThreads(size_t nthreads)

@inheritDoc

void SetSegFiltering(bool val=true)

BlastHSPResults * ComputeBlastHSPResults(BlastHSPStream *stream, Uint4 max_num_hsps=0, bool *rm_hsps=NULL, vector< bool > *rm_hsps_info=NULL) const

Return HSPs in a structure other than the HSPStream? Provide conversion? How to combine this with CBl...

@ eBlastDbIsNucleotide

nucleotide

@ eBlastDbIsProtein

protein

ENa_strand GetStrand(const CSeq_loc &loc, CScope *scope=0)

Returns eNa_strand_unknown if multiple Bioseqs in loc Returns eNa_strand_other if multiple strands in...

int32_t Int4

4-byte (32-bit) signed integer

ENa_strand

strand of nucleic acid

@ e_Gi

GenInfo Integrated Database.

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

Magic spell ;-) needed for some weird compilers... very empiric.

NOTE: This file contains work in progress and the APIs are likely to change, please do not rely on th...

NOTE: This file contains work in progress and the APIs are likely to change, please do not rely on th...

void x_ValidateResultsForShortProteinSearch(CBlastPrelimSearch &blaster, BlastHSPStream *hsp_stream, CConstRef< CBlastOptions > options)

BOOST_AUTO_TEST_CASE(ShortProteinSearch)

BOOST_AUTO_TEST_SUITE(psiblast_iteration)

Implementation of the BlastSeqSrc interface using the C++ BLAST databases API.

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

vector< SSeqLoc > TSeqLocVector

Vector of sequence locations.

The structure to hold all HSPs for a given sequence after the gapped alignment.

BlastHitList ** hitlist_array

Array of results for individual query sequences.

Int4 num_queries

Number of query sequences.

Default implementation of BlastHSPStream.

BlastHSPList ** hsplist_array

Array of HSP lists for individual database hits.

Int4 hsplist_count

Filled size of the HSP lists array.

Utility stuff for more convenient using of Boost.Test library.

Uniform BLAST Search Interface.


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