#include "groupmap.h"
#include "inputdata.h"
#include "listvector.hpp"
+#include "sequence.hpp"
/***************************************************************************************/
SplitAbundCommand(string);
SplitAbundCommand();
~SplitAbundCommand();
- vector<string> getRequiredParameters();
- vector<string> getValidParameters();
- vector<string> getRequiredFiles();
- map<string, vector<string> > getOutputFiles() { return outputTypes; }
- int execute();
- void help();
-
+
+ vector<string> 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*);
int createNameMap(ListVector*);
vector<string> outputNames;
- map<string, vector<string> > outputTypes;
ListVector* list;
GroupMap* groupMap;
InputData* input;