Search Toolkit Book for CBlastInputSourceConfig
Class that centralizes the configuration data for sequences to be converted. More...
#include <algo/blast/blastinput/blast_input.hpp>
Class that centralizes the configuration data for sequences to be converted.
Definition at line 48 of file blast_input.hpp.
◆ CBlastInputSourceConfig()Constructor.
Definition at line 48 of file blast_input.cpp.
References eNa_strand_both, eNa_strand_other, and eNa_strand_unknown.
◆ ~CBlastInputSourceConfig() CBlastInputSourceConfig::~CBlastInputSourceConfig ( ) inline ◆ GetBelieveDeflines() bool CBlastInputSourceConfig::GetBelieveDeflines ( ) const inline ◆ GetConvertGapsToNs() bool CBlastInputSourceConfig::GetConvertGapsToNs ( void ) const inlineRetrieve gaps to Ns converstion option value.
Definition at line 203 of file blast_input.hpp.
◆ GetDataLoaderConfig() ◆ GetLocalIdCounterInitValue() int CBlastInputSourceConfig::GetLocalIdCounterInitValue ( ) const inline ◆ GetLocalIdPrefix() const string& CBlastInputSourceConfig::GetLocalIdPrefix ( ) const inline ◆ GetLowercaseMask() bool CBlastInputSourceConfig::GetLowercaseMask ( ) const inline ◆ GetRange() TSeqRange CBlastInputSourceConfig::GetRange ( ) const inline ◆ GetSeqLenThreshold2Guess() unsigned int CBlastInputSourceConfig::GetSeqLenThreshold2Guess ( ) const inline ◆ GetSkipSeqCheck() bool CBlastInputSourceConfig::GetSkipSeqCheck ( ) const inline ◆ GetStrand() ◆ IsProteinInput() bool CBlastInputSourceConfig::IsProteinInput ( ) const inlineDetermine if this object is for configuring reading protein sequences.
Definition at line 171 of file blast_input.hpp.
◆ RetrieveSeqData() bool CBlastInputSourceConfig::RetrieveSeqData ( ) const inline ◆ SetBelieveDeflines() void CBlastInputSourceConfig::SetBelieveDeflines ( bool believe ) inline ◆ SetConvertGapsToNs() void CBlastInputSourceConfig::SetConvertGapsToNs ( bool val ) inline ◆ SetDataLoaderConfig() ◆ SetLocalIdCounterInitValue() void CBlastInputSourceConfig::SetLocalIdCounterInitValue ( int val ) inline ◆ SetLocalIdPrefix() void CBlastInputSourceConfig::SetLocalIdPrefix ( const string & prefix ) inlineSet the custom prefix string used for generating local ids.
Definition at line 187 of file blast_input.hpp.
◆ SetLowercaseMask() void CBlastInputSourceConfig::SetLowercaseMask ( bool mask ) inline ◆ SetQueryLocalIdMode() void CBlastInputSourceConfig::SetQueryLocalIdMode ( ) inline ◆ SetRange() [1/2] ◆ SetRange() [2/2] TSeqRange& CBlastInputSourceConfig::SetRange ( void ) inlineSet range for all sequences.
Definition at line 159 of file blast_input.hpp.
◆ SetRetrieveSeqData() void CBlastInputSourceConfig::SetRetrieveSeqData ( bool value ) inline ◆ SetSeqLenThreshold2Guess() void CBlastInputSourceConfig::SetSeqLenThreshold2Guess ( unsigned int val ) inline ◆ SetSkipSeqCheck() void CBlastInputSourceConfig::SetSkipSeqCheck ( bool skip ) inlineTurn validation of sequence on/off.
Definition at line 152 of file blast_input.hpp.
◆ SetStrand() ◆ SetSubjectLocalIdMode() void CBlastInputSourceConfig::SetSubjectLocalIdMode ( ) inline ◆ kSeqLenThreshold2Guess const unsigned int CBlastInputSourceConfig::kSeqLenThreshold2Guess = 25 staticThis value and the seqlen_thresh2guess argument to this class' constructor are related as follows: if the default parameter value is used, then no sequence type guessing will occurs, instead the sequence type specified in CBlastInputSourceConfig::SDataLoader::m_IsLoadingProteins is assumed correct.
If an alternate value is specified, then any sequences shorter than that length will be treated as described above, otherwise those sequences will have their sequence type guessed (and be subject to validation between what is guessed by CFastaReader and what is expected by CBlastInputSource).
By design, the default setting should be fine for command line BLAST search binaries, but on the BLAST web pages we use kSeqLenThreshold2Guess to validate sequences longer than that length, and to accept sequences shorter than that length.
Definition at line 71 of file blast_input.hpp.
◆ m_BelieveDeflines bool CBlastInputSourceConfig::m_BelieveDeflines private ◆ m_DLConfig ◆ m_GapsToNs bool CBlastInputSourceConfig::m_GapsToNs private ◆ m_LocalIdCounter int CBlastInputSourceConfig::m_LocalIdCounter privateInitialization parameter to CSeqidGenerator.
Definition at line 228 of file blast_input.hpp.
◆ m_LocalIdPrefix string CBlastInputSourceConfig::m_LocalIdPrefix privateCustom prefix string passed to CSeqidGenerator.
Definition at line 232 of file blast_input.hpp.
◆ m_LowerCaseMask bool CBlastInputSourceConfig::m_LowerCaseMask private ◆ m_Range ◆ m_RetrieveSeqData bool CBlastInputSourceConfig::m_RetrieveSeqData private ◆ m_SeqLenThreshold2Guess unsigned int CBlastInputSourceConfig::m_SeqLenThreshold2Guess privateThe sequence length threshold to guess molecule type.
Definition at line 230 of file blast_input.hpp.
◆ m_SkipSeqCheck bool CBlastInputSourceConfig::m_SkipSeqCheck private ◆ m_StrandThe documentation for this class was generated from the following files:
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