]> git.donarmstrong.com Git - mothur.git/blob - rarefactcommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / rarefactcommand.h
1 #ifndef RAREFACTCOMMAND_H
2 #define RAREFACTCOMMAND_H
3 /*
4  *  rarefactcommand.h
5  *  Dotur
6  *
7  *  Created by Sarah Westcott on 1/2/09.
8  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
9  *
10  */
11
12 #include "command.hpp"
13 #include "ordervector.hpp"
14 #include "inputdata.h"
15 #include "rarefact.h"
16 #include "display.h"
17 #include "validcalculator.h"
18
19 class RareFactCommand : public Command {
20         
21 public:
22         RareFactCommand(string);
23         RareFactCommand();      
24         ~RareFactCommand(){}
25         
26         vector<string> setParameters();
27         string getCommandName()                 { return "rarefaction.single";          }
28         string getCommandCategory()             { return "OTU-Based Approaches";        }
29         string getHelpString(); 
30         
31         int execute(); 
32         void help() { m->mothurOut(getHelpString()); }  
33         
34 private:
35         
36         vector<Display*> rDisplays;
37         OrderVector* order;
38         InputData* input;
39         Rarefact* rCurve;
40         int nIters, abund, processors;
41         float freq;
42         
43         bool abort, allLines;
44         set<string> labels; //holds labels to be used
45         string label, calc, sharedfile, listfile, rabundfile, sabundfile, format, inputfile;
46         vector<string>  Estimators;
47         vector<string> inputFileNames, outputNames;
48         vector<string> groups;
49         string outputDir;
50         
51         vector<string> parseSharedFile(string);
52 };
53
54 #endif