]> git.donarmstrong.com Git - mothur.git/blob - otuhierarchycommand.h
added citation function to commands
[mothur.git] / otuhierarchycommand.h
1 #ifndef OTUHIERARCHYCOMMAND_H
2 #define OTUHIERARCHYCOMMAND_H
3 /*
4  *  otuhierarchycommand.h
5  *  Mothur
6  *
7  *  Created by westcott on 1/19/10.
8  *  Copyright 2010 Schloss Lab. All rights reserved.
9  *
10  */
11
12 #include "command.hpp"
13 #include "listvector.hpp"
14
15 //**********************************************************************************************************************
16
17 class OtuHierarchyCommand : public Command {
18
19 public:
20         OtuHierarchyCommand(string);
21         OtuHierarchyCommand();
22         ~OtuHierarchyCommand(){}
23         
24         vector<string> setParameters();
25         string getCommandName()                 { return "otu.hierarchy";                       }
26         string getCommandCategory()             { return "OTU-Based Approaches";        }
27         string getHelpString(); 
28         string getCitation() { return "http://www.mothur.org/wiki/Otu.hierarchy"; }
29         
30         int execute(); 
31         void help() { m->mothurOut(getHelpString()); }  
32         
33         
34 private:
35         bool abort;
36         set<string> labels; //holds labels to be used
37         string label, listFile, outputDir, output;
38         vector<string> outputNames;
39         
40         vector<ListVector> getListVectors();
41                 
42 };
43
44 //**********************************************************************************************************************
45
46 #endif
47
48