1 #ifndef GETGROUPSCOMMAND_H
2 #define GETGROUPSCOMMAND_H
8 * Created by westcott on 11/10/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
14 #include "command.hpp"
17 class GetGroupsCommand : public Command {
21 GetGroupsCommand(string);
25 vector<string> setParameters();
26 string getCommandName() { return "get.groups"; }
27 string getCommandCategory() { return "OTU-Based Approaches"; }
28 string getHelpString();
29 string getCitation() { return "http://www.mothur.org/wiki/Get.groups"; }
30 string getDescription() { return "gets sequences from a list, fasta, name, group or taxonomy file from a given group or set of groups"; }
34 void help() { m->mothurOut(getHelpString()); }
39 map<string, string> uniqueToRedundant; //if a namefile is given and the first column name is not selected
40 //then the other files need to change the unique name in their file to match.
41 //only add the names that need to be changed to keep the map search quick
42 string accnosfile, fastafile, namefile, groupfile, listfile, taxfile, outputDir, groups, sharedfile;
44 vector<string> outputNames, Groups;