(
void);
59 virtual int Run(
void);
60 virtual void Exit(
void);
75arg_desc->SetUsageContext(
GetArguments().GetProgramBasename(),
"VSRun demo to run vecscreen");
79 "gi",
"QuerySequenceID",
"GI of the query sequence",
83arg_desc->AddDefaultKey(
84 "out",
"OutputFile",
"File name for writing the vecscreen results",
114 autovs_list = vs_run.
GetList();
115 for(
const auto& v : vs_list) {
116cout << v.seqid->AsFastaString() <<
" " 117<< v.range.GetFrom() <<
" " 118<< v.range.GetTo() <<
" " 119<< v.match_type << endl;
138 #ifndef SKIP_DOXYGEN_PROCESSINGstatic TRegisterLoaderInfo RegisterInObjectManager(CObjectManager &om, CReader *reader=0, CObjectManager::EIsDefault is_default=CObjectManager::eDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet)
This class runs vecscreen.
list< SVecscreenSummary > GetList() const
Fetches summary list.
virtual void Init(void)
Initialize the application.
virtual int Run(void)
Run the application.
virtual void Exit(void)
Cleanup on application exit.
void HideStdArgs(THideStdArgs hide_mask)
Set the hide mask for the Hide Std Flags.
#define GI_FROM(T, value)
virtual const CArgs & GetArgs(void) const
Get parsed command line arguments.
int AppMain(int argc, const char *const *argv, const char *const *envp=0, EAppDiagStream diag=eDS_Default, const char *conf=NcbiEmptyCStr, const string &name=NcbiEmptyString)
Main function (entry point) for the NCBI application.
virtual void SetupArgDescriptions(CArgDescriptions *arg_desc)
Setup the command line argument descriptions.
const CNcbiArguments & GetArguments(void) const
Get the application's cached unprocessed command-line arguments.
@ fHideXmlHelp
Hide XML help description.
@ fHideLogfile
Hide log file description.
@ fHideFullVersion
Hide full version description.
@ fHideConffile
Hide configuration file description.
@ fHideVersion
Hide version description.
@ fPreOpen
Open file right away; for eInputFile, eOutputFile, eIOFile.
@ eIntId
Convertible to TIntId (int or Int8 depending on NCBI_INT8_GI)
@ eOutputFile
Name of file (must be writable)
static CRef< CObjectManager > GetInstance(void)
Return the existing object manager or create one.
void AddDefaults(TPriority pri=kPriority_Default)
Add default data loaders from object manager.
Defines the CNcbiApplication and CAppException classes for creating NCBI applications.
int NcbiSys_main(int argc, ncbi::TXChar *argv[])
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