1 #ifndef MERGEGROUPSCOMMAND_H
2 #define MERGEGROUPSCOMMAND_H
8 * Created by westcott on 1/24/11.
9 * Copyright 2011 Schloss Lab. All rights reserved.
13 #include "command.hpp"
14 #include "inputdata.h"
15 #include "sharedrabundvector.h"
17 class MergeGroupsCommand : public Command {
20 MergeGroupsCommand(string);
22 ~MergeGroupsCommand() {}
24 vector<string> setParameters();
25 string getCommandName() { return "merge.groups"; }
26 string getCommandCategory() { return "General"; }
27 string getHelpString();
30 void help() { m->mothurOut(getHelpString()); }
34 vector<SharedRAbundVector*> lookup;
36 bool abort, allLines, pickedGroups;
37 set<string> labels; //holds labels to be used
38 string groups, label, outputDir, inputDir, designfile, sharedfile;
39 vector<string> Groups, outputNames;
41 int process(vector<SharedRAbundVector*>&, ofstream&);