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