]> git.donarmstrong.com Git - mothur.git/blob - getrabundcommand.h
added load.logfile command. changed summary.single output for subsample=t.
[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 getOutputFileNameTag(string, string);
29         string getHelpString(); 
30         string getCitation() { return "http://www.mothur.org/wiki/Get.rabund"; }
31         string getDescription()         { return "creates a rabund file"; }
32
33         
34         int execute(); 
35         void help() { m->mothurOut(getHelpString()); }  
36         
37         
38 private:
39         
40         string filename, listfile, sabundfile, inputfile, format, outputDir;
41         ofstream out;
42         InputData* input;
43         RAbundVector* rabund;
44         vector<string> outputNames;
45
46         bool abort, allLines, sorted;
47         set<string> labels; //holds labels to be used
48         string label;
49
50         
51 };
52
53 #endif
54