]> git.donarmstrong.com Git - mothur.git/blob - removelineagecommand.h
added citation function to commands
[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                 string getCitation() { return "http://www.mothur.org/wiki/Remove.lineage"; }
28         
29                 int execute(); 
30                 void help() { m->mothurOut(getHelpString()); }  
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