1 #ifndef ALGO_BLAST_API___DISC_NUCL_OPTIONS__HPP
2 #define ALGO_BLAST_API___DISC_NUCL_OPTIONS__HPP
65 return m_Opts->GetMBTemplateLength();
71 m_Opts->SetMBTemplateLength(length);
76 return m_Opts->GetMBTemplateType();
81 m_Opts->SetMBTemplateType(
type);
87 if (ws == 11 || ws == 12) {
88 m_Opts->SetWordSize(ws);
91 "Word size must be 11 or 12 only");
98 void SetTraditionalBlastnDefaults();
104 m_Opts->SetRemoteProgramAndService_Blast3(
"blastn",
"megablast");
108 void SetMBLookupTableDefaults();
110 void SetMBInitialWordOptionsDefaults();
112 void SetMBGappedExtensionDefaults();
114 void SetMBScoringOptionsDefaults();
#define NCBI_XBLAST_EXPORT
NULL operations for other cases.
Declares the CBlastNucleotideOptionsHandle class.
Defines BLAST error codes (user errors included)
Handle to the nucleotide-nucleotide options to the BLAST algorithm.
EAPILocality
Enumerates the possible contexts in which objects of this type can be used.
@ eLocal
To be used for running BLAST locally.
Handle to the nucleotide-nucleotide options to the discontiguous BLAST algorithm.
virtual void SetRemoteProgramAndService_Blast3()
Set the program and service name for remote blast.
unsigned char GetTemplateType() const
Returns TemplateType.
CDiscNucleotideOptionsHandle & operator=(const CDiscNucleotideOptionsHandle &rhs)
Disallow assignment operator.
void SetWordSize(int ws)
Sets WordSize.
void SetTemplateType(unsigned char type)
Sets TemplateType.
unsigned char GetTemplateLength() const
Returns TemplateLength.
void SetTemplateLength(unsigned char length)
Sets TemplateLength.
CDiscNucleotideOptionsHandle(const CDiscNucleotideOptionsHandle &rhs)
Disallow copy constructor.
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
#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.