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