47 static const string kProgram(
"blastx");
49 "Translated Query-Protein Subject BLAST"));
50 const bool kQueryIsProtein =
false;
51 m_Args.push_back(arg);
54 static const char kDefaultTask[] =
"blastx";
55 SetTask(kDefaultTask);
57 tasks.
insert(kDefaultTask);
58 tasks.
insert(
"blastx-fast");
60 m_Args.push_back(arg);
63 m_BlastDbArgs->SetDatabaseMaskingSupport(
true);
64 m_BlastDbArgs->SetIPGFilteringSupport(
true);
65 arg.
Reset(m_BlastDbArgs);
66 m_Args.push_back(arg);
69 arg.
Reset(m_StdCmdLineArgs);
70 m_Args.push_back(arg);
75 m_Args.push_back(arg);
83 m_Args.push_back(arg);
88 m_Args.push_back(arg);
91 m_Args.push_back(arg);
94 m_Args.push_back(arg);
97 arg.
Reset(m_HspFilteringArgs);
98 m_Args.push_back(arg);
101 m_Args.push_back(arg);
104 m_Args.push_back(arg);
107 arg.
Reset(m_QueryOptsArgs);
108 m_Args.push_back(arg);
111 m_Args.push_back(arg);
114 arg.
Reset(m_FormattingArgs);
115 m_Args.push_back(arg);
119 m_Args.push_back(arg);
122 arg.
Reset(m_RemoteArgs);
123 m_Args.push_back(arg);
126 m_Args.push_back(arg);
129 arg.
Reset(m_DebugArgs);
130 m_Args.push_back(arg);
146 bool is_default =
true;
184 bool split_by_query =
true;
185 bool use_default =
true;
Declares singleton objects to store the version and reference for the BLAST engine.
@ eBlastx
Translated nucl-Protein.
Main argument class for BLASTX application.
Declares the CBlastxOptionsHandle class.
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 blastx binary.
virtual int GetQueryBatchSize() const
@inheritDoc
virtual CRef< CBlastOptionsHandle > x_CreateOptionsHandle(CBlastOptions::EAPILocality locality, const CArgs &args)
@inheritDoc
virtual CNcbiIstream & GetInputStream()
Get the input stream.
virtual CRef< CBlastOptionsHandle > x_CreateOptionsHandle(CBlastOptions::EAPILocality locality, const CArgs &args)
@inheritDoc
virtual ~CBlastxNodeArgs()
virtual CNcbiOstream & GetOutputStream()
Get the output stream.
CNcbiStrstream m_OutputStream
virtual int GetQueryBatchSize() const
@inheritDoc
CBlastxNodeArgs(const string &input)
Constructor.
CNcbiIstrstream * m_InputStream
Argument class for collecting composition based statistics options.
Argument class to collect debugging options.
Argument class for collecting filtering options.
Argument class for collecting gapped options.
Argument class for general search BLAST algorithm options: evalue, gap penalties, query filter string...
Argument class to collect the genetic code for all queries/subjects.
@ eQuery
Query genetic code.
Argument class to retrieve options for filtering HSPs (e.g.
Argument class for collecting the largest intron size.
Argument class to collect multi-threaded arguments.
Argument class to retrieve and set the scoring matrix name BLAST algorithm option.
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.
Argument class to retrieve and set the word threshold BLAST algorithm option.
iterator_bool insert(const value_type &val)
const string kTask
Task to perform.
virtual string Print(void) const
Print version information.
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.