]> git.donarmstrong.com Git - mothur.git/blob - removeseqscommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[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         
23                 vector<string> setParameters();
24                 string getCommandName()                 { return "remove.seqs";                         }
25                 string getCommandCategory()             { return "Sequence Processing";         }
26                 string getHelpString(); 
27         
28                 int execute(); 
29                 void help() { m->mothurOut(getHelpString()); }  
30         
31         
32         private:
33                 set<string> names;
34                 string accnosfile, fastafile, namefile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir;
35                 bool abort, dups;
36                 vector<string> outputNames;
37                 
38                 int readFasta();
39                 int readName();
40                 int readGroup();
41                 int readAlign();
42                 void readAccnos();
43                 int readList();
44                 int readTax();
45                 int readQual();
46                 
47 };
48
49 #endif
50