]> git.donarmstrong.com Git - mothur.git/blob - catchallcommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / catchallcommand.h
1 #ifndef CATCHALLCOMMAND_H
2 #define CATCHALLCOMMAND_H
3
4 /*
5  *  catchallcommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 5/11/10.
9  *  Copyright 2010 Schloss Lab. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14 #include "inputdata.h"
15 #include "sabundvector.hpp"
16
17 /* 
18  citation goes here
19  */ 
20
21 /****************************************************************************/
22
23 class CatchAllCommand : public Command {
24
25 public:
26
27         CatchAllCommand(string);
28         CatchAllCommand();
29         ~CatchAllCommand() {}
30         
31         vector<string> setParameters();
32         string getCommandName()                 { return "catchall";                    }
33         string getCommandCategory()             { return "Hypothesis Testing";  }
34         string getHelpString(); 
35         
36         int execute(); 
37         void help() { m->mothurOut(getHelpString()); }  
38         
39 private:
40         string outputDir, sharedfile, sabundfile, format, path, savedOutputDir;
41         bool abort, allLines;
42         set<string> labels;
43         vector<string> outputNames;
44         vector<string> groups;
45         
46         string process(SAbundVector*, string);
47         int createSummaryFile(string, string, ofstream&); 
48         vector<string> parseSharedFile(string);
49         string combineSummmary(vector<string>&);
50 };
51
52 /****************************************************************************/
53
54 #endif
55
56