kProgram(
"tblastn");
50 "Protein Query-Translated Subject BLAST"));
51 const boolkQueryIsProtein =
true;
52m_Args.push_back(arg);
55 static const charkDefaultTask[] =
"tblastn";
56SetTask(kDefaultTask);
58tasks.
insert(kDefaultTask);
59tasks.
insert(
"tblastn-fast");
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);
84m_Args.push_back(arg);
87m_Args.push_back(arg);
91m_Args.push_back(arg);
94m_Args.push_back(arg);
97m_Args.push_back(arg);
100arg.
Reset(m_HspFilteringArgs);
101m_Args.push_back(arg);
104m_Args.push_back(arg);
107arg.
Reset(m_QueryOptsArgs);
108m_Args.push_back(arg);
111arg.
Reset(m_FormattingArgs);
112m_Args.push_back(arg);
115arg.
Reset(m_MTArgs);
116m_Args.push_back(arg);
119arg.
Reset(m_RemoteArgs);
120m_Args.push_back(arg);
123m_Args.push_back(arg);
126arg.
Reset(m_PsiBlastArgs);
127m_Args.push_back(arg);
130arg.
Reset(m_DebugArgs);
131m_Args.push_back(arg);
143 if(args[
kTask].AsString() ==
"blastx-fast") {
Declares singleton objects to store the version and reference for the BLAST engine.
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.
@ eCompressedAaLookupTable
compressed alphabet (blastp) lookup table
@ eTblastn
Protein-Translated nucl.
CRef< CRemoteArgs > m_RemoteArgs
remote vs. local execution options
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.
Argument class for collecting composition based statistics options.
Argument class to collect debugging options.
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 collect the genetic code for all queries/subjects.
@ eDatabase
Database 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.
Handle to the protein-protein options to the BLAST algorithm.
Argument class to populate an application's name and description.
Argument class to collect options specific to PSI-BLAST.
@ eNucleotideDb
PSI-Tblastn, non-iterated.
CRef< objects::CPssmWithParameters > GetInputPssm() const
Get the PSSM read from checkpoint file.
void SetInputPssm(CRef< objects::CPssmWithParameters > pssm)
Set the PSSM read from saved search strategy.
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.
Handles command line arguments for Tblastn binary.
virtual int GetQueryBatchSize() const
Get the query batch size.
CRef< objects::CPssmWithParameters > GetInputPssm() const
Get the PSSM.
void SetInputPssm(CRef< objects::CPssmWithParameters > pssm)
Set the PSSM from the saved search strategy.
CRef< CPsiBlastArgs > m_PsiBlastArgs
PSI-BLAST specific argument class (for psi-tblastn)
virtual CRef< CBlastOptionsHandle > x_CreateOptionsHandle(CBlastOptions::EAPILocality locality, const CArgs &args)
Create the options handle based on the command line arguments.
virtual CRef< CBlastOptionsHandle > x_CreateOptionsHandle(CBlastOptions::EAPILocality locality, const CArgs &args)
@inheritDoc
virtual CNcbiOstream & GetOutputStream()
Get the output stream.
CNcbiStrstream m_OutputStream
CNcbiIstrstream * m_InputStream
virtual int GetQueryBatchSize() const
@inheritDoc
virtual CNcbiIstream & GetInputStream()
Get the input stream.
CTblastnNodeArgs(const string &input)
Constructor.
virtual ~CTblastnNodeArgs()
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 kArgPSIInputChkPntFile
Argument to specify a 'checkpoint' file to recover the PSSM from.
const string kTask
Task to perform.
void SetWordThreshold(double wt)
Sets WordThreshold.
void SetWordSize(int ws)
Sets WordSize.
CBlastOptions & SetOptions()
Returns a reference to the internal options class which this object is a handle for.
void SetPSITblastnDefaults()
Sets default options for psi tblastn search.
virtual string Print(void) const
Print version information.
void SetLookupTableType(ELookupTableType type)
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.
Declares the CPSIBlastOptionsHandle class.
Main argument class for TBLASTN application.
Declares the CTBlastnOptionsHandle class.
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