Go to the SVN repository for this file.
34 #include <wx/filename.h> 35 #include <wx/sstream.h> 36 #include <wx/txtstrm.h> 54 if(!wxFileName::FileExists(clustalwExe)) {
65wxStringOutputStream strstr;
66wxTextOutputStream os(strstr);
68 #if defined(__WINDOWS__) 69os <<
wxT(
"\"") << clustalwExe <<
wxT(
"\"")
71os <<
wxT(
"'") << clustalwExe <<
wxT(
"'")
75<<
wxT(
" -OUTPUT=FASTA")
79os <<
wxT(
" -OUTPUTTREE=nexus")
85moreParams.Trim(
true);
86moreParams.Trim(
false);
87 if(!moreParams.empty())
88os <<
wxT(
" ") << moreParams;
90wxString cmdline = strstr.GetString();
92 #if defined(__WINDOWS__) 93 returnstrstr.GetString();
95 return "sh -c \""+ strstr.GetString() +
"\"";
static SQLCHAR output[256]
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
CClustalwToolParams m_Params
wxString GetClustalWExecutable() const
virtual wxString x_GetCommandLine(const wxString &input, const wxString &output, bool is_nucleotide)
Returns the command line, that will be used to execute the third-party tool.
CClustalwToolJob(const CClustalwToolParams ¶ms)
CClustalwToolJob.
wxString GetCommandLine() const
bool GetGenerateTree() const
string m_Descr
mutex to sync our internals
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
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