]> git.donarmstrong.com Git - mothur.git/blob - getsabundcommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / getsabundcommand.h
1 #ifndef GETSABUNDCOMMAND_H
2 #define GETSABUNDCOMMAND_H
3
4 /*
5  *  getsabundcommand.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 "sabundvector.hpp"
17
18 class GetSAbundCommand : public Command {
19 public:
20         GetSAbundCommand(string);
21         GetSAbundCommand();
22         ~GetSAbundCommand() {}
23         
24         vector<string> setParameters();
25         string getCommandName()                 { return "get.sabund";                          }
26         string getCommandCategory()             { return "OTU-Based Approaches";        }
27         string getHelpString(); 
28         
29         int execute(); 
30         void help() { m->mothurOut(getHelpString()); }  
31         
32 private:
33         string filename, format, inputfile, listfile, rabundfile, outputDir;
34         ofstream out;
35         InputData* input;
36         SAbundVector* sabund;
37         vector<string> outputNames;
38
39         bool abort, allLines;
40         set<string> labels; //holds labels to be used
41         string label;
42
43 };
44
45 #endif