]> git.donarmstrong.com Git - mothur.git/blob - getrelabundcommand.h
pca command
[mothur.git] / getrelabundcommand.h
1 #ifndef GETRELABUNDCOMMAND_H
2 #define GETRELABUNDCOMMAND_H
3
4 /*
5  *  getrelabundcommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 6/21/10.
9  *  Copyright 2010 Schloss Lab. All rights reserved.
10  *
11  */
12  
13 #include "command.hpp"
14 #include "inputdata.h"
15 #include "readotu.h"
16 #include "sharedrabundvector.h"
17
18 class GlobalData;
19
20 class GetRelAbundCommand : public Command {
21
22 public:
23         GetRelAbundCommand(string);
24         GetRelAbundCommand();
25         ~GetRelAbundCommand();
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         ReadOTUFile* read;
36         InputData* input;
37         vector<SharedRAbundVector*> lookup;
38         
39         bool abort, allLines, pickedGroups;
40         set<string> labels; //holds labels to be used
41         string groups, label, outputDir, scale;
42         vector<string> Groups, outputNames;
43         map<string, vector<string> > outputTypes;
44         
45         int getRelAbundance(vector<SharedRAbundVector*>&, ofstream&);
46
47 };
48
49 #endif
50