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

NCBI C++ ToolKit: src/algo/blast/dbindex/sequence_istream_bdb.cpp Source File

49

std::vector< int > ids;

52  if

( std::find( ids.begin(), ids.end(),

id

) == ids.end() ) {

54  std::string

(

"unrecognized filter algorithm id"

) +

63  const string

&

dbname

,

bool

use_filter,

int

filter_algo_id )

65

filter_algo_id_( filter_algo_id ), use_filter_( use_filter )

72  const string

&

dbname

,

bool

use_filter,

73  string const

& filter_algo_name )

75

filter_algo_id_( 0 ), use_filter_( use_filter )

92  std::string

(

"unrecognised filter algorithm name"

) +

104  if

( oid_ < seqdb_->GetNumOIDs() ) {

116  i

!=

r

.end(); ++

i

) {

117

seqint_ranges.push_back(

132  data

->seq_entry_ = entry;

vector< CRange< TSeqPos > > TRanges

void GetAvailableMaskAlgorithms(vector< int > &algorithms)

Get a list of algorithm IDs for which mask data exists.

list< CRef< CSeq_id > > GetSeqIDs(int oid) const

Gets a list of sequence identifiers.

string GetAvailableMaskAlgorithmDescriptions()

Returns a formatted string with the list of available masking algorithms in this database for display...

CRef< CBioseq > GetBioseq(int oid, TGi target_gi=ZERO_GI, const CSeq_id *target_seq_id=NULL) const

Get a CBioseq for a sequence.

int GetMaskAlgorithmId(const string &algo_name) const

Get the numeric algorithm ID for a string.

void GetMaskData(int oid, const vector< int > &algo_ids, TSequenceRanges &ranges)

Get masked ranges of a sequence.

int filter_algo_id_

Filtering algorithm id.

virtual CRef< TSeqData > next()

Get next sequence data.

virtual void putback()

Roll back to the start of the previous sequence.

CSeqDB::TOID oid_

Current OID (to be read).

CRef< CSeqDB > seqdb_

BLAST database object.

CSequenceIStreamBlastDB(const string &dbname, bool use_filter, int filter_algo_id=0)

Object constructor.

bool use_filter_

Whether to extract mask from database.

Class representing error conditions in the sequence stream.

#define NCBI_THROW(exception_class, err_code, message)

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

#define NCBI_RETHROW(prev_exception, exception_class, err_code, message)

Generic macro to re-throw an exception.

void SetPacked_int(TPacked_int &v)

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define END_SCOPE(ns)

End the previously defined scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define BEGIN_SCOPE(ns)

Define a new scope.

static TNumeric StringToNumeric(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to a numeric value.

@ fConvErr_NoThrow

Do not throw an exception on error.

TSeq & SetSeq(void)

Select the variant.

char * dbname(DBPROCESS *dbproc)

Get name of current database.

double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)

Structure to represent a range.

List of sequence offset ranges.

Type containing the sequence itself along with the masking information.

std::vector< CConstRef< objects::CSeq_loc > > TMask

Type representing masked portions of a sequence.


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