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

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

Go to the documentation of this file.

Go to the SVN repository for this file.

43  for

(index = 0; index < num_queries; ++index) {

48

hsp_list->

hspcnt

= num_queries;

54  int

index,

int

nthreads,

int

total,

int

nqueries)

55

: m_ipHspStream(hsp_stream), m_iIndex(index), m_iNumThreads(nthreads),

56

m_iTotal(total), m_iNumQueries(nqueries)

66  const int

max_score = 100;

Structures and API used for saving BLAST hits.

BlastHSP * Blast_HSPNew(void)

Allocate and zeros out memory for an HSP structure.

BlastHSPList * Blast_HSPListNew(Int4 hsp_max)

Creates HSP list structure with a default size HSP array.

int BlastHSPStreamWrite(BlastHSPStream *hsp_stream, BlastHSPList **hsp_list)

Invokes the user-specified write function for this BlastHSPStream implementation.

const int kBlastHSPStream_Success

Standard success return value for BlastHSPStream methods.

virtual void * Main(void)

Derived (user-created) class must provide a real thread function.

BlastHSPStream * m_ipHspStream

virtual void OnExit(void)

Override this to execute finalization code.

CHspStreamWriteThread(BlastHSPStream *hsp_stream, int index, int nthreads, int total, int nqueries)

BlastHSPList * setupHSPList(int score, int num_queries, int oid)

Auxiliary utilities needed for testing HSP stream interface.

#define ASSERT

macro for assert.

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

Int4 oid

The ordinal id of the subject sequence this HSP list is for.

Int4 hspcnt

Number of HSPs saved.

BlastHSP ** hsp_array

Array of pointers to individual HSPs.

Default implementation of BlastHSPStream.

Int4 context

Context number of query.

Int4 score

This HSP's raw score.


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