]> git.donarmstrong.com Git - mothur.git/blob - removeseqscommand.h
added checks for ^C to quit command instead of program
[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                 int execute();
22                 void help();    
23                 
24         private:
25                 set<string> names;
26                 string accnosfile, fastafile, namefile, groupfile, alignfile, listfile, outputDir;
27                 bool abort, dups;
28                 vector<string> outputNames;
29                 
30                 int readFasta();
31                 int readName();
32                 int readGroup();
33                 int readAlign();
34                 void readAccnos();
35                 int readList();
36                 
37 };
38
39 #endif
40