]> git.donarmstrong.com Git - mothur.git/blob - getrabundcommand.h
removing chime source files from mother project.
[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 "listvector.hpp"
17
18
19 class GetRAbundCommand : public Command {
20 public:
21         GetRAbundCommand(string);
22         GetRAbundCommand();
23         ~GetRAbundCommand(){}
24         
25         vector<string> setParameters();
26         string getCommandName()                 { return "get.rabund";                          }
27         string getCommandCategory()             { return "OTU-Based Approaches";        }
28         string getHelpString(); 
29         string getCitation() { return "http://www.mothur.org/wiki/Get.rabund"; }
30         string getDescription()         { return "creates a rabund file"; }
31
32         
33         int execute(); 
34         void help() { m->mothurOut(getHelpString()); }  
35         
36         
37 private:
38         
39         string filename, listfile, sabundfile, inputfile, format, outputDir;
40         ofstream out;
41         InputData* input;
42         RAbundVector* rabund;
43         vector<string> outputNames;
44
45         bool abort, allLines, sorted;
46         set<string> labels; //holds labels to be used
47         string label;
48
49         
50 };
51
52 #endif
53