]> git.donarmstrong.com Git - mothur.git/blob - parselistscommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / parselistscommand.h
1 #ifndef PARSELISTCOMMAND_H
2 #define PARSELISTCOMMAND_H
3 /*
4  *  parselistcommand.h
5  *  Mothur
6  *
7  *  Created by westcott on 2/24/10.
8  *  Copyright 2010 Schloss Lab. All rights reserved.
9  *
10  */
11
12 #include "command.hpp"
13 #include "groupmap.h"
14 #include "inputdata.h"
15 #include "listvector.hpp"
16
17 /***************************************************************************************/
18
19 class ParseListCommand : public Command {
20         
21 public:
22         ParseListCommand(string);
23         ParseListCommand();     
24         ~ParseListCommand() {}
25         
26         vector<string> setParameters();
27         string getCommandName()                 { return "parse.list";                          }
28         string getCommandCategory()             { return "OTU-Based Approaches";        }
29         string getHelpString(); 
30         
31         int execute(); 
32         void help() { m->mothurOut(getHelpString()); }  
33         
34 private:
35         int parse(ListVector*);
36                 
37         ListVector* list;
38         GroupMap* groupMap;
39         InputData* input;
40         
41         ofstream out;
42         string outputDir, listfile, groupfile, label;
43         set<string> labels;
44         bool abort, allLines;
45         vector<string> outputNames;
46         
47         map<string, ofstream*> filehandles;
48         map<string, ofstream*>::iterator it3;
49
50 };
51
52 /***************************************************************************************/
53
54 #endif
55