#include <blast_options_handle.hpp>
Inheritance diagram for CBlastOptionsHandle:


This abstract base class only defines those options that are truly "universal" BLAST options (they apply to all flavors of BLAST).
Definition at line 140 of file blast_options_handle.hpp.
Public Types | |
| typedef CBlastOptions::EAPILocality | EAPILocality |
| Convenience define. | |
Public Member Functions | |
| CBlastOptionsHandle (EAPILocality locality) | |
| Default c-tor. | |
| bool | Validate () const |
| Validate the options contained in this object. | |
| const CBlastOptions & | GetOptions () const |
| Return the object which this object is a handle for. | |
| CBlastOptions & | SetOptions () |
| Returns a reference to the internal options class which this object is a handle for. | |
| virtual void | SetDefaults () |
| Resets the state of the object to all default values. | |
| void | DoneDefaults () |
| Returns true if this object needs default values set. | |
| int | GetWindowSize () const |
| Returns WindowSize. | |
| void | SetWindowSize (int ws) |
| Sets WindowSize. | |
| int | GetOffDiagonalRange () const |
| void | SetOffDiagonalRange (int r) |
| void | ClearFilterOptions () |
| Clears the filtering options. | |
| char * | GetFilterString () const |
| Returns FilterString. | |
| void | SetFilterString (const char *f, bool clear=true) |
| Sets FilterString. | |
| bool | GetMaskAtHash () const |
| Returns whether masking should only be done for lookup table creation. | |
| void | SetMaskAtHash (bool m=true) |
| Sets MaskAtHash. | |
| double | GetGapXDropoff () const |
| Returns GapXDropoff. | |
| void | SetGapXDropoff (double x) |
| Sets GapXDropoff. | |
| double | GetGapTrigger () const |
| Returns GapTrigger. | |
| void | SetGapTrigger (double g) |
| Sets GapTrigger. | |
| double | GetGapXDropoffFinal () const |
| Returns GapXDropoffFinal. | |
| void | SetGapXDropoffFinal (double x) |
| Sets GapXDropoffFinal. | |
| int | GetHitlistSize () const |
| Returns HitlistSize. | |
| void | SetHitlistSize (int s) |
| Sets HitlistSize. | |
| int | GetMaxNumHspPerSequence () const |
| Returns MaxNumHspPerSequence. | |
| void | SetMaxNumHspPerSequence (int m) |
| Sets MaxNumHspPerSequence. | |
| double | GetEvalueThreshold () const |
| Returns EvalueThreshold. | |
| void | SetEvalueThreshold (double eval) |
| Sets EvalueThreshold. | |
| int | GetCutoffScore () const |
| Returns CutoffScore. | |
| void | SetCutoffScore (int s) |
| Sets CutoffScore. | |
| double | GetPercentIdentity () const |
| Returns PercentIdentity. | |
| void | SetPercentIdentity (double p) |
| Sets PercentIdentity. | |
| int | GetMinDiagSeparation () const |
| Returns MinDiagSeparation. | |
| void | SetMinDiagSeparation (int d) |
| Sets MinDiagSeparation. | |
| bool | GetGappedMode () const |
| Returns GappedMode. | |
| void | SetGappedMode (bool m=true) |
| Sets GappedMode. | |
| int | GetCullingLimit () const |
| Returns Culling limit. | |
| void | SetCullingLimit (int s) |
| Sets Culling limit. | |
| Int8 | GetDbLength () const |
| Returns DbLength. | |
| void | SetDbLength (Int8 len) |
| Sets DbLength. | |
| unsigned int | GetDbSeqNum () const |
| Returns DbSeqNum. | |
| void | SetDbSeqNum (unsigned int num) |
| Sets DbSeqNum. | |
| Int8 | GetEffectiveSearchSpace () const |
| Returns EffectiveSearchSpace. | |
| void | SetEffectiveSearchSpace (Int8 eff) |
| Sets EffectiveSearchSpace. | |
Protected Member Functions | |
| virtual void | SetRemoteProgramAndService_Blast3 ()=0 |
| Set the program and service name for remote blast. | |
| virtual void | SetLookupTableDefaults ()=0 |
| Sets LookupTableDefaults. | |
| virtual void | SetQueryOptionDefaults ()=0 |
| Sets QueryOptionDefaults. | |
| virtual void | SetInitialWordOptionsDefaults ()=0 |
| Sets InitialWordOptionsDefaults. | |
| virtual void | SetGappedExtensionDefaults ()=0 |
| Sets GappedExtensionDefaults. | |
| virtual void | SetScoringOptionsDefaults ()=0 |
| Sets ScoringOptionsDefaults. | |
| virtual void | SetHitSavingOptionsDefaults ()=0 |
| Sets HitSavingOptionsDefaults. | |
| virtual void | SetEffectiveLengthsOptionsDefaults ()=0 |
| Sets EffectiveLengthsOptionsDefaults. | |
| virtual void | SetSubjectSequenceOptionsDefaults ()=0 |
| Sets SubjectSequenceOptionsDefaults. | |
Protected Attributes | |
| CRef< CBlastOptions > | m_Opts |
| Data type this class controls access to. | |
| bool | m_DefaultsMode |
| Set to true when 'remote' options should ignore setters. | |
|
|
Convenience define.
Definition at line 145 of file blast_options_handle.hpp. |
|
|
Clears the filtering options.
Definition at line 189 of file blast_options_handle.hpp. References m_Opts. Referenced by CBlastOptionsFactory::CreateTask(). |
|
|
Returns true if this object needs default values set.
Definition at line 175 of file blast_options_handle.hpp. References m_Opts. |
|
|
Returns Culling limit.
Definition at line 267 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns CutoffScore.
Definition at line 243 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns DbLength.
Definition at line 274 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns DbSeqNum.
Definition at line 280 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns EffectiveSearchSpace.
Definition at line 286 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns EvalueThreshold.
Definition at line 238 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns GappedMode.
Definition at line 261 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns GapTrigger.
Definition at line 209 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns GapXDropoff.
Definition at line 203 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns GapXDropoffFinal.
Definition at line 215 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns HitlistSize.
Definition at line 224 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns whether masking should only be done for lookup table creation.
Definition at line 197 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns MaxNumHspPerSequence.
Definition at line 230 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns MinDiagSeparation.
Definition at line 255 of file blast_options_handle.hpp. References m_Opts. |
|
|
Definition at line 184 of file blast_options_handle.hpp. References m_Opts. |
|
|
Return the object which this object is a handle for. This method is intended to be used when one wants to INSPECT the values of options which are not exposed by the classes derived from CBlastOptionsHandle. Definition at line 159 of file blast_options_handle.hpp. References m_Opts. Referenced by Blast_FindWindowMaskerLoc_Fwd(), BOOST_AUTO_TEST_CASE(), CPsiBlastValidate::QueryFactory(), CBl2Seq::RunFullSearch(), CRedoAlignmentTestFixture::runRedoAlignmentCoreUnitTest(), and CRemoteBlast::x_Init(). |
|
|
Returns PercentIdentity.
Definition at line 249 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Returns WindowSize.
Definition at line 180 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Sets Culling limit.
Definition at line 270 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(). |
|
|
Sets CutoffScore.
Definition at line 246 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(), CBlastRPSOptionsHandle::SetHitSavingOptionsDefaults(), CBlastProteinOptionsHandle::SetHitSavingOptionsDefaults(), CBlastNucleotideOptionsHandle::SetHitSavingOptionsDefaults(), and CBlastNucleotideOptionsHandle::SetMBHitSavingOptionsDefaults(). |
|
|
Sets DbLength.
Definition at line 277 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(), CBlastRPSOptionsHandle::SetEffectiveLengthsOptionsDefaults(), CBlastProteinOptionsHandle::SetEffectiveLengthsOptionsDefaults(), and CBlastNucleotideOptionsHandle::SetEffectiveLengthsOptionsDefaults(). |
|
|
Sets DbSeqNum.
Definition at line 283 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(), CBlastRPSOptionsHandle::SetEffectiveLengthsOptionsDefaults(), CBlastProteinOptionsHandle::SetEffectiveLengthsOptionsDefaults(), and CBlastNucleotideOptionsHandle::SetEffectiveLengthsOptionsDefaults(). |
|
|
Sets EffectiveLengthsOptionsDefaults.
Implemented in CBlastNucleotideOptionsHandle, CBlastProteinOptionsHandle, and CBlastRPSOptionsHandle. Referenced by SetDefaults(). |
|
|
Sets EffectiveSearchSpace.
Definition at line 291 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(), CBlastRPSOptionsHandle::SetEffectiveLengthsOptionsDefaults(), CBlastProteinOptionsHandle::SetEffectiveLengthsOptionsDefaults(), and CBlastNucleotideOptionsHandle::SetEffectiveLengthsOptionsDefaults(). |
|
|
Sets EvalueThreshold.
Definition at line 241 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), CBlastOptionsFactory::CreateTask(), DoSearchWordSize4(), s_CreateRepeatsSearchOptions(), CBlastRPSOptionsHandle::SetHitSavingOptionsDefaults(), CBlastProteinOptionsHandle::SetHitSavingOptionsDefaults(), CBlastNucleotideOptionsHandle::SetHitSavingOptionsDefaults(), and CBlastNucleotideOptionsHandle::SetMBHitSavingOptionsDefaults(). |
|
|
Sets GappedExtensionDefaults.
Implemented in CBlastAdvancedProteinOptionsHandle, CBlastNucleotideOptionsHandle, CBlastProteinOptionsHandle, CBlastRPSOptionsHandle, CTBlastnOptionsHandle, and CTBlastxOptionsHandle. Referenced by SetDefaults(). |
|
|
Sets GappedMode.
Definition at line 264 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(), CBlastNucleotideOptionsHandle::SetMBScoringOptionsDefaults(), CBlastRPSOptionsHandle::SetScoringOptionsDefaults(), CBlastProteinOptionsHandle::SetScoringOptionsDefaults(), and CBlastNucleotideOptionsHandle::SetScoringOptionsDefaults(). |
|
|
Sets GapTrigger.
Definition at line 212 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(), CBlastRPSOptionsHandle::SetGappedExtensionDefaults(), CBlastProteinOptionsHandle::SetGappedExtensionDefaults(), CBlastNucleotideOptionsHandle::SetGappedExtensionDefaults(), CDiscNucleotideOptionsHandle::SetMBGappedExtensionDefaults(), and CBlastNucleotideOptionsHandle::SetMBGappedExtensionDefaults(). |
|
|
Sets GapXDropoff.
Definition at line 206 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), CBlastRPSOptionsHandle::SetGappedExtensionDefaults(), CBlastProteinOptionsHandle::SetGappedExtensionDefaults(), CBlastNucleotideOptionsHandle::SetGappedExtensionDefaults(), CDiscNucleotideOptionsHandle::SetMBGappedExtensionDefaults(), and CBlastNucleotideOptionsHandle::SetMBGappedExtensionDefaults(). |
|
|
Sets GapXDropoffFinal.
Definition at line 220 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), s_CreateRepeatsSearchOptions(), CBlastRPSOptionsHandle::SetGappedExtensionDefaults(), CBlastProteinOptionsHandle::SetGappedExtensionDefaults(), CBlastNucleotideOptionsHandle::SetGappedExtensionDefaults(), CDiscNucleotideOptionsHandle::SetMBGappedExtensionDefaults(), and CBlastNucleotideOptionsHandle::SetMBGappedExtensionDefaults(). |
|
|
Sets HitlistSize.
Definition at line 227 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_FIXTURE_TEST_CASE(), CBlastRPSOptionsHandle::SetHitSavingOptionsDefaults(), CBlastProteinOptionsHandle::SetHitSavingOptionsDefaults(), CBlastNucleotideOptionsHandle::SetHitSavingOptionsDefaults(), and CBlastNucleotideOptionsHandle::SetMBHitSavingOptionsDefaults(). |
|
|
Sets HitSavingOptionsDefaults.
Implemented in CBlastNucleotideOptionsHandle, CBlastProteinOptionsHandle, CBlastRPSOptionsHandle, CBlastxOptionsHandle, CTBlastnOptionsHandle, and CTBlastxOptionsHandle. Referenced by SetDefaults(). |
|
|
Sets InitialWordOptionsDefaults.
Implemented in CBlastNucleotideOptionsHandle, CBlastProteinOptionsHandle, and CBlastRPSOptionsHandle. Referenced by SetDefaults(). |
|
|
Sets LookupTableDefaults.
Implemented in CBlastNucleotideOptionsHandle, CBlastProteinOptionsHandle, CBlastRPSOptionsHandle, CBlastxOptionsHandle, CTBlastnOptionsHandle, and CTBlastxOptionsHandle. Referenced by SetDefaults(). |
|
|
Sets MaskAtHash.
Definition at line 200 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), and CBlastNucleotideOptionsHandle::SetQueryOptionDefaults(). |
|
|
Sets MaxNumHspPerSequence.
Definition at line 235 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), CBlastRPSOptionsHandle::SetHitSavingOptionsDefaults(), CBlastProteinOptionsHandle::SetHitSavingOptionsDefaults(), CBlastNucleotideOptionsHandle::SetHitSavingOptionsDefaults(), and CBlastNucleotideOptionsHandle::SetMBHitSavingOptionsDefaults(). |
|
|
Sets MinDiagSeparation.
Definition at line 258 of file blast_options_handle.hpp. References m_Opts. Referenced by CBlastRPSOptionsHandle::SetHitSavingOptionsDefaults(), CBlastProteinOptionsHandle::SetHitSavingOptionsDefaults(), CBlastNucleotideOptionsHandle::SetHitSavingOptionsDefaults(), and CBlastNucleotideOptionsHandle::SetMBHitSavingOptionsDefaults(). |
|
|
Definition at line 185 of file blast_options_handle.hpp. References m_Opts. Referenced by CBlastNucleotideOptionsHandle::SetInitialWordOptionsDefaults(). |
|
|
Returns a reference to the internal options class which this object is a handle for. Please note that using objects of type CBlastOptions directly allows one to set inconsistent combinations of options.
Definition at line 168 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_AUTO_TEST_CASE(), CBlastOptionsFactory::CreateTask(), and CBlastOptionsBuilder::x_ApplyInteractions(). |
|
|
Sets PercentIdentity.
Definition at line 252 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), CBlastRPSOptionsHandle::SetHitSavingOptionsDefaults(), CBlastProteinOptionsHandle::SetHitSavingOptionsDefaults(), CBlastNucleotideOptionsHandle::SetHitSavingOptionsDefaults(), and CBlastNucleotideOptionsHandle::SetMBHitSavingOptionsDefaults(). |
|
|
Sets QueryOptionDefaults.
Implemented in CBlastAdvancedProteinOptionsHandle, CBlastNucleotideOptionsHandle, CBlastProteinOptionsHandle, CBlastRPSOptionsHandle, CBlastxOptionsHandle, CPSIBlastOptionsHandle, CRPSTBlastnOptionsHandle, and CTBlastxOptionsHandle. Referenced by SetDefaults(). |
|
|
Set the program and service name for remote blast.
Implemented in CBlastNucleotideOptionsHandle, CBlastProteinOptionsHandle, CBlastRPSOptionsHandle, CBlastxOptionsHandle, CDiscNucleotideOptionsHandle, CPSIBlastOptionsHandle, CRPSTBlastnOptionsHandle, CTBlastnOptionsHandle, and CTBlastxOptionsHandle. |
|
|
Sets ScoringOptionsDefaults.
Implemented in CBlastNucleotideOptionsHandle, CBlastProteinOptionsHandle, CBlastRPSOptionsHandle, CBlastxOptionsHandle, CTBlastnOptionsHandle, and CTBlastxOptionsHandle. Referenced by SetDefaults(). |
|
|
Sets SubjectSequenceOptionsDefaults.
Implemented in CBlastNucleotideOptionsHandle, CBlastProteinOptionsHandle, CBlastRPSOptionsHandle, CTBlastnOptionsHandle, and CTBlastxOptionsHandle. Referenced by SetDefaults(). |
|
|
Sets WindowSize.
Definition at line 183 of file blast_options_handle.hpp. References m_Opts. Referenced by BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), CBlastRPSOptionsHandle::SetInitialWordOptionsDefaults(), CBlastProteinOptionsHandle::SetInitialWordOptionsDefaults(), CBlastNucleotideOptionsHandle::SetInitialWordOptionsDefaults(), CDiscNucleotideOptionsHandle::SetMBInitialWordOptionsDefaults(), and CBlastNucleotideOptionsHandle::SetMBInitialWordOptionsDefaults(). |
|
|
Set to true when 'remote' options should ignore setters.
Definition at line 303 of file blast_options_handle.hpp. |
|
1.4.6
Modified on Wed Dec 09 08:18:57 2009 by modify_doxy.py rev. 173732