]> git.donarmstrong.com Git - mothur.git/blob - getotuscommand.h
changed random forest output filename
[mothur.git] / getotuscommand.h
1 #ifndef GETOTUSCOMMAND_H
2 #define GETOTUSCOMMAND_H
3
4 /*
5  *  getotuscommand.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
15 #include "command.hpp"
16 #include "groupmap.h"
17 #include "listvector.hpp"
18
19 class GetOtusCommand : public Command {
20         
21 public:
22         
23         GetOtusCommand(string); 
24         GetOtusCommand();
25         ~GetOtusCommand(){}
26         
27         vector<string> setParameters();
28         string getCommandName()                 { return "get.otus";                            }
29         string getCommandCategory()             { return "OTU-Based Approaches";        }
30         
31         string getHelpString(); 
32     string getOutputPattern(string);    
33         string getCitation() { return "http://www.mothur.org/wiki/Get.otus"; }
34         string getDescription()         { return "outputs a new list file containing the otus containing sequences from the groups specified"; }
35
36         
37         int execute(); 
38         void help() { m->mothurOut(getHelpString()); }  
39         
40         
41 private:
42         string accnosfile, groupfile, listfile, outputDir, groups, label;
43         bool abort;
44         vector<string> outputNames, Groups;
45         GroupMap* groupMap;
46         
47         int readListGroup();
48         int processList(ListVector*&, GroupMap*&, ofstream&, ofstream&, bool&);
49         
50 };
51
52 #endif
53
54
55