kProgram[] =
"blastn";
50 "Nucleotide-Nucleotide BLAST"));
51 const boolkQueryIsProtein =
false;
52m_Args.push_back(arg);
55 static const charkDefaultTask[] =
"megablast";
56SetTask(kDefaultTask);
59tasks.
erase(
"vecscreen");
61m_Args.push_back(arg);
64m_BlastDbArgs->SetDatabaseMaskingSupport(
true);
65arg.
Reset(m_BlastDbArgs);
66m_Args.push_back(arg);
69arg.
Reset(m_StdCmdLineArgs);
70m_Args.push_back(arg);
73m_Args.push_back(arg);
76m_Args.push_back(arg);
79m_Args.push_back(arg);
82m_Args.push_back(arg);
85m_Args.push_back(arg);
88arg.
Reset(m_HspFilteringArgs);
89m_Args.push_back(arg);
92m_Args.push_back(arg);
95m_Args.push_back(arg);
98m_Args.push_back(arg);
101arg.
Reset(m_QueryOptsArgs);
102m_Args.push_back(arg);
105arg.
Reset(m_FormattingArgs);
106m_Args.push_back(arg);
109arg.
Reset(m_MTArgs);
110m_Args.push_back(arg);
113arg.
Reset(m_RemoteArgs);
114m_Args.push_back(arg);
117arg.
Reset(m_DebugArgs);
118m_Args.push_back(arg);
Declares singleton objects to store the version and reference for the BLAST engine.
Declares the BLAST exception class.
Auxiliary classes/functions for BLAST input library.
int GetQueryBatchSize(EProgram program, bool is_ungapped=false, bool remote=false, bool use_default=true, string task="", bool mt_mode=false)
Retrieve the appropriate batch size for the specified task.
Main argument class for BLASTN application.
CRef< CRemoteArgs > m_RemoteArgs
remote vs. local execution options
string GetTask() const
Get the task for this object.
CRef< CBlastOptionsHandle > x_CreateOptionsHandleWithTask(CBlastOptions::EAPILocality locality, const string &task)
Creates the BLAST options handle based on the task argument.
bool m_IsUngapped
Is this application being run ungapped.
Argument class to collect database/subject arguments.
EAPILocality
Enumerates the possible contexts in which objects of this type can be used.
Keeps track of the version of the BLAST engine in the NCBI C++ toolkit.
Handles command line arguments for blastn binary.
virtual CRef< CBlastOptionsHandle > x_CreateOptionsHandle(CBlastOptions::EAPILocality locality, const CArgs &args)
@inheritDoc
virtual int GetQueryBatchSize() const
@inheritDoc
virtual CNcbiIstream & GetInputStream()
Get the input stream.
virtual int GetQueryBatchSize() const
@inheritDoc
CNcbiIstrstream * m_InputStream
virtual CNcbiOstream & GetOutputStream()
Get the output stream.
CBlastnNodeArgs(const string &input)
Constructor.
virtual CRef< CBlastOptionsHandle > x_CreateOptionsHandle(CBlastOptions::EAPILocality locality, const CArgs &args)
@inheritDoc
CNcbiStrstream m_OutputStream
virtual ~CBlastnNodeArgs()
Argument class to collect debugging options.
Argument class to retrieve discontiguous megablast arguments.
Argument class for collecting filtering options.
Argument class to collect formatting options, use this to create a CBlastFormat object.
Argument class for collecting gapped options.
Argument class for general search BLAST algorithm options: evalue, gap penalties, query filter string...
Argument class to retrieve options for filtering HSPs (e.g.
Argument class to collect multi-threaded arguments.
Argument class to retrieve megablast database indexing options.
Defines values for match and mismatch in nucleotide comparisons as well as non-greedy extension.
Argument class to retrieve and set the off-diagonal range used in 2-hit algorithm.
Argument class to populate an application's name and description.
Argument class to collect query options.
Argument class to collect remote vs. local execution.
bool ExecuteRemotely() const
Return whether the search should be executed remotely or not.
Argument class to retrieve input and output streams for a command line program.
Argument class to specify the supported tasks a given program.
Argument class to retrieve and set the window size BLAST algorithm option.
const string kTask
Task to perform.
Declares the CDiscNucleotideOptionsHandle class.
static set< string > GetTasks(ETaskSets choice=eAll)
Retrieve the set of supported tasks.
EProgram ProgramNameToEnum(const std::string &program_name)
Map a string into an element of the ncbi::blast::EProgram enumeration (except eBlastProgramMax).
virtual string Print(void) const
Print version information.
@ eNuclNucl
Nucleotide-nucleotide tasks.
bool Exist(const string &name) const
Check existence of argument description.
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.
#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.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
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