]> git.donarmstrong.com Git - mothur.git/blob - listseqscommand.h
added pipeline commands which involved change to command factory and command class...
[mothur.git] / listseqscommand.h
1 #ifndef LISTSEQSCOMMAND_H
2 #define LISTSEQSCOMMAND_H
3
4 /*
5  *  listseqscommand.h
6  *  Mothur
7  *
8  *  Created by Sarah Westcott on 7/8/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14
15 class ListSeqsCommand : public Command {
16         
17         public:
18         
19                 ListSeqsCommand(string);
20                 ListSeqsCommand();      
21                 ~ListSeqsCommand(){}
22                 vector<string> getRequiredParameters();
23                 vector<string> getValidParameters();
24                 vector<string> getRequiredFiles();
25                 map<string, vector<string> > getOutputFiles() { return outputTypes; }
26                 int execute();
27                 void help();    
28                 
29         private:
30                 vector<string> names, outputNames;
31                 map<string, vector<string> > outputTypes;
32                 string fastafile, namefile, groupfile, alignfile, inputFileName, outputDir, listfile, taxfile;
33                 bool abort;
34                 
35                 int readFasta();
36                 int readName();
37                 int readGroup();
38                 int readAlign();
39                 int readList();
40                 int readTax();
41                 
42 };
43
44 #endif
45