]> git.donarmstrong.com Git - mothur.git/blob - removeseqscommand.h
added set.dir command and modified commands to redirect input and output, removed...
[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;
28                 
29                 void readFasta();
30                 void readName();
31                 void readGroup();
32                 void readAlign();
33                 void readAccnos();
34                 void readList();
35                 
36 };
37
38 #endif
39