]> git.donarmstrong.com Git - mothur.git/blob - phylotypecommand.h
added phylotype command which reads a taxonomy file and creates a .list, .rabund...
[mothur.git] / phylotypecommand.h
1 #ifndef PHYLOTYPECOMMAND_H
2 #define PHYLOTYPECOMMAND_H
3
4
5 /*
6  *  phylotypecommand.h
7  *  Mothur
8  *
9  *  Created by westcott on 11/20/09.
10  *  Copyright 2009 Schloss Lab. All rights reserved.
11  *
12  */
13
14 #include "taxonomyequalizer.h"
15 #include "command.hpp"
16
17 /*************************************************************************/
18
19 class PhylotypeCommand : public Command {
20         
21 public:
22         PhylotypeCommand(string);       
23         ~PhylotypeCommand();
24         int execute(); 
25         void help();    
26         
27 private:
28         bool abort, allLines;
29         string taxonomyFileName, label;
30         set<string> labels; //holds labels to be used
31         int cutoff;
32         
33         map<int, int> currentNodes;
34         map<int, int> parentNodes;
35         map<int, int>::iterator itCurrent;
36
37 };
38
39
40 /*************************************************************************/
41
42
43 #endif
44
45
46