]> git.donarmstrong.com Git - mothur.git/blob - collectsharedcommand.h
added citation function to commands
[mothur.git] / collectsharedcommand.h
1 #ifndef COLLECTSHAREDCOMMAND_H
2 #define COLLECTSHAREDCOMMAND_H
3 /*
4  *  collectsharedcommand.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
13 #include "command.hpp"
14 #include "sharedordervector.h"
15 #include "inputdata.h"
16 #include "collect.h"
17 #include "display.h"
18 #include "validcalculator.h"
19 #include "sharedutilities.h"
20
21
22 class CollectSharedCommand : public Command {
23         
24 public:
25         CollectSharedCommand(string);   
26         CollectSharedCommand(); 
27         ~CollectSharedCommand();
28         
29         vector<string> setParameters();
30         string getCommandName()                 { return "collect.shared";                      }
31         string getCommandCategory()             { return "OTU-Based Approaches";        }
32         string getHelpString(); 
33         string getCitation() { return "http://www.mothur.org/wiki/Collect.shared"; }
34         
35         int execute(); 
36         void help() { m->mothurOut(getHelpString()); }  
37         
38         
39 private:
40         SharedOrderVector* order;
41         InputData* input;
42         Collect* cCurve;
43         vector<Display*> cDisplays;
44         float freq;
45
46         bool abort, allLines, all;
47         set<string> labels; //holds labels to be used
48         string label, calc, groups, outputDir, sharedfile;
49         vector<string>  Estimators, Groups, outputNames;
50 };
51
52 #endif