]> git.donarmstrong.com Git - mothur.git/blob - countgroupscommand.h
working on pam
[mothur.git] / countgroupscommand.h
1 #ifndef COUNTGROUPSCOMMAND_H
2 #define COUNTGROUPSCOMMAND_H
3
4 /*
5  *  countgroupscommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 8/9/11.
9  *  Copyright 2011 Schloss Lab. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14
15 class CountGroupsCommand : public Command {
16         
17 public:
18         
19         CountGroupsCommand(string);
20         CountGroupsCommand();   
21         ~CountGroupsCommand(){}
22         
23         vector<string> setParameters();
24         string getCommandName()                 { return "count.groups";                        }
25         string getCommandCategory()             { return "Sequence Processing";         }
26         string getHelpString(); 
27     string getOutputPattern(string);    
28         string getCitation() { return "http://www.mothur.org/wiki/Count.groups"; }
29         string getDescription()         { return "counts the number of sequences in each group"; }
30         
31         int execute(); 
32         void help() { m->mothurOut(getHelpString()); }  
33         
34         
35 private:
36         string sharedfile, groupfile, countfile, outputDir, groups, accnosfile;
37         bool abort;
38         vector<string> Groups;
39     vector<string> outputNames;
40 };
41
42 #endif