]> git.donarmstrong.com Git - mothur.git/blob - getlineagecommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / getlineagecommand.h
1 #ifndef GETLINEAGECOMMAND_H
2 #define GETLINEAGECOMMAND_H
3
4 /*
5  *  getlineagecommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 9/24/10.
9  *  Copyright 2010 Schloss Lab. All rights reserved.
10  *
11  */
12  
13 #include "command.hpp"
14
15 class GetLineageCommand : public Command {
16         
17         public:
18         
19                 GetLineageCommand(string);
20                 GetLineageCommand();
21                 ~GetLineageCommand(){}
22         
23                 vector<string> setParameters();
24                 string getCommandName()                 { return "get.lineage";                         }
25                 string getCommandCategory()             { return "Phylotype Analysis";          }
26                 string getHelpString(); 
27         
28                 int execute(); 
29                 void help() { m->mothurOut(getHelpString()); }  
30         
31         
32         private:
33                 set<string> names;
34                 vector<string> outputNames;
35                 string fastafile, namefile, groupfile, alignfile, listfile, taxfile, outputDir, taxons;
36                 bool abort, dups;
37                 
38                 int readFasta();
39                 int readName();
40                 int readGroup();
41                 int readAlign();
42                 int readList();
43                 int readTax();  
44                 string removeConfidences(string);
45                 vector< map<string, float> > getTaxons(string);
46 };
47
48 #endif
49