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