X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitabundcommand.h;h=df925f34cc70bc405ac35e2302ecc49a8fd97872;hb=36a6b02cf7f09d2bc34376b588944a9ca73429c5;hp=2e409b2aedd7606b6c689f48cb9e0e58f7a0bcfe;hpb=0e40e23448c2ee274268d85e0d0e65cb9eaeee6f;p=mothur.git diff --git a/splitabundcommand.h b/splitabundcommand.h index 2e409b2..df925f3 100644 --- a/splitabundcommand.h +++ b/splitabundcommand.h @@ -21,6 +21,7 @@ also allow an option where a user can give a group file with the list or names f #include "groupmap.h" #include "inputdata.h" #include "listvector.hpp" +#include "sequence.hpp" /***************************************************************************************/ @@ -30,13 +31,16 @@ public: SplitAbundCommand(string); SplitAbundCommand(); ~SplitAbundCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); - + + vector setParameters(); + string getCommandName() { return "split.abund"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/Split.abund"; } + string getDescription() { return "split a list, name, group or fasta file based on abundance"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: int splitList(ListVector*); @@ -50,7 +54,6 @@ private: int createNameMap(ListVector*); vector outputNames; - map > outputTypes; ListVector* list; GroupMap* groupMap; InputData* input;