retval->SetLambda(kablk->
Lambda);
72retval->SetK(kablk->
K);
73retval->SetH(kablk->
H);
75retval->SetLambda(-1.0);
79retval->SetGapped(gapped);
85blast::CBlastOptionsHandle& options_handle,
94archive->SetRequest(*net_request);
95 boolisPsiblast =
false;
109list<CRef<CBlast4_mask> >& net_masks = net_results->SetMasks();
111 boolfirst_time =
true;
112 Int8effective_search_space = 0;
113 Int8length_adjustment = 0;
116(*result)->GetSeqAlign();
118seqalign_set->
Set().insert(seqalign_set->
Set().end(),
119result_set->
Get().begin(),
120result_set->
Get().end());
125list<CRef<CBlast4_ka_block> >& ka_list = net_results->SetKa_blocks();
136(*result)->GetMaskedQueryRegions(query_masks);
137mask_vector.push_back(query_masks);
139list<CRef<CBlast4_mask> > masks =
141net_masks.insert(net_masks.end(), masks.begin(), masks.end());
143list<string>& search_stats = net_results->SetSearch_stats();
144search_stats.push_back(
"Effective search space: "+
NStr::Int8ToString(effective_search_space));
145search_stats.push_back(
"Effective search space used: "+
NStr::Int8ToString(effective_search_space));
146search_stats.push_back(
"Length adjustment: "+
NStr::Int8ToString(length_adjustment));
148net_results->SetAlignments(*seqalign_set);
149archive->SetResults(*net_results);
157blast::CBlastOptionsHandle& options_handle,
160 unsigned intnum_iters)
177blast::CBlastOptionsHandle& options_handle,
179blast::IQueryFactory& subjects)
191blast::CBlastOptionsHandle& options_handle,
194 unsigned intnum_iters)
User-defined methods of the data storage class.
Declares singleton objects to store the version and reference for the BLAST engine.
Declares the CBlastOptionsBuilder class.
Definition of classes which constitute the results of running a BLAST search.
build_archive declarations
Keeps track of the version of the BLAST engine in the NCBI C++ toolkit.
Search Results for All Queries.
Collection of masked regions for a single query sequence.
const Blast_KarlinBlk * GetGappedKarlinBlk() const
Retrieve gapped Karlin parameters.
const Blast_KarlinBlk * GetPsiGappedKarlinBlk() const
Retrieve PSI-BLAST gapped Karlin parameters.
CRef< objects::CBlast4_archive > BlastBuildArchive(blast::IQueryFactory &queries, blast::CBlastOptionsHandle &options_handle, const CSearchResultSet &results, CRef< CSearchDatabase > search_db, unsigned int num_iters=0)
Returns a blast archive object.
static objects::CBlast4_get_search_results_reply::TMasks ConvertToRemoteMasks(const TSeqLocInfoVector &masking_locations, EBlastProgramType program, vector< string > *warnings=NULL)
Convert a TSeqLocInfoVector to a list< CRef<CBlast4_mask> > objects.
Int8 GetLengthAdjustment() const
Retrieve the length adjustment for boundary conditions.
const Blast_KarlinBlk * GetPsiUngappedKarlinBlk() const
Retrieve PSI-BLAST ungapped Karlin parameters.
static CRef< CBlast4_ka_block > s_Convert_to_CBlast_ka_block(const Blast_KarlinBlk *kablk, bool gapped)
static CRef< objects::CBlast4_archive > s_BuildArchiveAll(CRef< CExportStrategy > export_strategy, blast::CBlastOptionsHandle &options_handle, const CSearchResultSet &results)
const Blast_KarlinBlk * GetUngappedKarlinBlk() const
Retrieve ungapped Karlin parameters.
Int8 GetSearchSpace() const
Retrieve the search space for this query sequence.
virtual string Print(void) const
Print version information.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
void Reset(void)
Reset reference object.
bool NotEmpty(void) const THROWS_NONE
Check if CRef is not empty â pointing to an object and has a non-null value.
bool NotEmpty(void) const THROWS_NONE
Check if CConstRef is not empty â pointing to an object and has a non-null value.
int64_t Int8
8-byte (64-bit) signed integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define USING_SCOPE(ns)
Use the specified namespace.
#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 string Int8ToString(Int8 value, TNumToStringFlags flags=0, int base=10)
Convert Int8 to string.
void SetIdent(const TIdent &value)
Assign a value to Ident data member.
const TService & GetService(void) const
Get the Service member data.
bool IsQueue_search(void) const
Check if variant Queue_search is selected.
const TQueue_search & GetQueue_search(void) const
Get the variant data.
bool CanGetBody(void) const
Check if it is safe to call GetBody method.
const TBody & GetBody(void) const
Get the Body member data.
Tdata & Set(void)
Assign a value to data member.
const Tdata & Get(void) const
Get the member data.
Names used in blast4 network communications.
Declares the CRemoteBlast class.
Declares the CImportStrategy and CExportStrategy.
vector< TMaskedQueryRegions > TSeqLocInfoVector
Collection of masked regions for all queries in a BLAST search.
Structure to hold the Karlin-Altschul parameters.
double K
K value used in statistics.
double Lambda
Lambda value used in statistics.
double H
H value used in statistics.
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