1 #ifndef SPLITGROUPSCOMMAND_H
2 #define SPLITGROUPSCOMMAND_H
8 * Created by westcott on 9/20/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
14 /* split.groups - given a group file, split sequences and names files in to separate files *.group1.fasta and .group1.names. */
17 #include "command.hpp"
19 #include "sequence.hpp"
21 /***************************************************************************************/
23 class SplitGroupCommand : public Command {
26 SplitGroupCommand(string);
28 ~SplitGroupCommand() {}
30 vector<string> setParameters();
31 string getCommandName() { return "split.group"; }
32 string getCommandCategory() { return "Sequence Processing"; }
33 string getHelpString();
34 string getCitation() { return "http://www.mothur.org/wiki/Split.group"; }
37 void help() { m->mothurOut(getHelpString()); }
43 vector<string> outputNames;
44 map<string, vector<string> > nameMap;
45 map<string, vector<string> >::iterator itNames;
48 string outputDir, namefile, groupfile, groups, fastafile;
49 vector<string> Groups;
53 /***************************************************************************************/