1 #ifndef CATCHALLCOMMAND_H
2 #define CATCHALLCOMMAND_H
8 * Created by westcott on 5/11/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
13 #include "command.hpp"
14 #include "inputdata.h"
15 #include "sabundvector.hpp"
21 /****************************************************************************/
23 class CatchAllCommand : public Command {
27 CatchAllCommand(string);
31 vector<string> setParameters();
32 string getCommandName() { return "catchall"; }
33 string getCommandCategory() { return "OTU-Based Approaches"; }
34 string getHelpString();
37 void help() { m->mothurOut(getHelpString()); }
40 string outputDir, sharedfile, sabundfile, format, path, savedOutputDir;
43 vector<string> outputNames;
44 vector<string> groups;
46 string process(SAbundVector*, string);
47 int createSummaryFile(string, string, ofstream&);
48 vector<string> parseSharedFile(string);
49 string combineSummmary(vector<string>&);
52 /****************************************************************************/