#include <blast_options_handle.hpp>
This factory is provided as a convenience to create CBlastOptionsHandles which are configured with default values for a given program/task and will NOT be modified before passing them to objects which will execute the BLAST algorithm. If you need to set options for the specific task at hand, please instantiate the appropriate CBlastOptionsHandle subclass.
... CRef<CBlastOptionsHandle> opts(CBlastOptionsFactory::Create(eBlastn)); CBl2Seq blaster(query, subject, *opts); TSeqAlignVector results = blaster.Run(); ... opts.Reset(CBlastOptionsFactory::Create(eMegablast)); blaster.SetOptionsHandle() = *opts; results = blaster.Run(); ... opts.Reset(CBlastOptionsFactory::Create(eDiscMegablast)); blaster.SetOptionsHandle() = *opts; results = blaster.Run(); ...
Definition at line 80 of file blast_options_handle.hpp.
Public Types | |
| typedef CBlastOptions::EAPILocality | EAPILocality |
| Convenience define. | |
| enum | ETaskSets { eNuclNucl, eProtProt, eAll } |
| Sets of tasks for the command line BLAST binaries. More... | |
Static Public Member Functions | |
| static CBlastOptionsHandle * | Create (EProgram program, EAPILocality locality=CBlastOptions::eLocal) |
| Creates an options handle object configured with default options for the requested program, throws an exception if an unsupported program is requested. | |
| static CBlastOptionsHandle * | CreateTask (string task, EAPILocality locality=CBlastOptions::eLocal) |
| Creates an options handle object configured with default options for the requested task, throws an exception if an unsupported task is requested. | |
| static set< string > | GetTasks (ETaskSets choice=eAll) |
| Retrieve the set of supported tasks. | |
| static string | GetDocumentation (const string &task_name) |
| Return the documentation for the provided task. | |
Private Member Functions | |
| CBlastOptionsFactory () | |
| Private c-tor. | |
|
|
Convenience define.
Definition at line 85 of file blast_options_handle.hpp. |
|
|
Sets of tasks for the command line BLAST binaries.
Definition at line 111 of file blast_options_handle.hpp. |
|
|
Private c-tor.
|
1.4.6
Modified on Wed Oct 08 07:26:29 2008 by modify_doxy.py rev. 117643