~SplitGroupCommand() {}
vector<string> setParameters();
- string getCommandName() { return "split.group"; }
+ string getCommandName() { return "split.groups"; }
string getCommandCategory() { return "Sequence Processing"; }
+
string getHelpString();
+ string getOutputPattern(string);
+ string getCitation() { return "http://www.mothur.org/wiki/Split.group"; }
+ string getDescription() { return "split a name or fasta file by group"; }
+
int execute();
void help() { m->mothurOut(getHelpString()); }
private:
- int readNames();
- int splitFasta();
-
vector<string> outputNames;
- map<string, vector<string> > nameMap;
- map<string, vector<string> >::iterator itNames;
- GroupMap* groupMap;
-
- string outputDir, namefile, groupfile, groups, fastafile;
+
+ string outputDir, namefile, groupfile, countfile, groups, fastafile;
vector<string> Groups;
bool abort;
+
+ int runNameGroup();
+ int runCount();
};
/***************************************************************************************/