]> git.donarmstrong.com Git - mothur.git/blob - getrabundcommand.h
added pipeline commands which involved change to command factory and command class...
[mothur.git] / getrabundcommand.h
1 #ifndef GETRABUNDCOMMAND_H
2 #define GETRABUNDCOMMAND_H
3
4 /*
5  *  getrabundcommand.h
6  *  Mothur
7  *
8  *  Created by Sarah Westcott on 6/2/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13
14 #include "command.hpp"
15 #include "inputdata.h"
16 #include "readotu.h"
17 #include "listvector.hpp"
18
19 class GlobalData;
20
21 class GetRAbundCommand : public Command {
22 public:
23         GetRAbundCommand(string);
24         GetRAbundCommand();
25         ~GetRAbundCommand();
26         vector<string> getRequiredParameters();
27         vector<string> getValidParameters();
28         vector<string> getRequiredFiles();
29         map<string, vector<string> > getOutputFiles() { return outputTypes; }
30         int execute();
31         void help();
32         
33 private:
34         GlobalData* globaldata;
35         string filename;
36         ofstream out;
37         ReadOTUFile* read;
38         InputData* input;
39         ListVector* list;
40         RAbundVector* rabund;
41         vector<string> outputNames;
42         map<string, vector<string> > outputTypes;
43
44         bool abort, allLines, sorted;
45         set<string> labels; //holds labels to be used
46         string label;
47
48         
49 };
50
51 #endif
52