]> git.donarmstrong.com Git - mothur.git/blob - removeseqscommand.h
fixed metastats, added resize to cluster.classic, added code to kill children if...
[mothur.git] / removeseqscommand.h
1 #ifndef REMOVESEQSCOMMAND_H
2 #define REMOVESEQSCOMMAND_H
3
4 /*
5  *  removeseqscommand.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 RemoveSeqsCommand : public Command {
16         
17         public:
18         
19                 RemoveSeqsCommand(string);      
20                 RemoveSeqsCommand();
21                 ~RemoveSeqsCommand(){}
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                 set<string> names;
31                 string accnosfile, fastafile, namefile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir;
32                 bool abort, dups;
33                 vector<string> outputNames;
34                 map<string, vector<string> > outputTypes;
35                 
36                 int readFasta();
37                 int readName();
38                 int readGroup();
39                 int readAlign();
40                 void readAccnos();
41                 int readList();
42                 int readTax();
43                 int readQual();
44                 
45 };
46
47 #endif
48