]> git.donarmstrong.com Git - mothur.git/blob - removelineagecommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / removelineagecommand.h
1 #ifndef REMOVELINEAGECOMMAND_H
2 #define REMOVELINEAGECOMMAND_H
3
4 /*
5  *  removelineagecommand.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 RemoveLineageCommand : public Command {
16         
17         public:
18         
19                 RemoveLineageCommand(string);
20                 RemoveLineageCommand();
21                 ~RemoveLineageCommand(){};
22         
23                 vector<string> setParameters();
24                 string getCommandName()                 { return "remove.lineage";                      }
25                 string getCommandCategory()             { return "Phylotype Analysis";          }
26                 string getHelpString(); 
27         
28                 int execute(); 
29                 void help() { m->mothurOut(getHelpString()); }  
30         
31         private:
32                 set<string> names;
33                 vector<string> outputNames;
34                 string fastafile, namefile, groupfile, alignfile, listfile, taxfile, outputDir, taxons;
35                 bool abort, dups;
36                 
37                 int readFasta();
38                 int readName();
39                 int readGroup();
40                 int readAlign();
41                 int readList();
42                 int readTax();  
43                 string removeConfidences(string);
44                 vector< map<string, float> > getTaxons(string);
45 };
46
47 #endif
48