]> git.donarmstrong.com Git - mothur.git/blob - removeseqscommand.h
added count file to trim.seqs, get.groups, get.lineage, get.seqs, heatmap.sim, list...
[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 getOutputFileNameTag(string, string);
27         string getHelpString(); 
28                 string getCitation() { return "http://www.mothur.org/wiki/Remove.seqs"; }
29                 string getDescription()         { return "removes sequences from a list, fasta, name, group, alignreport, quality or taxonomy file"; }
30
31                 int execute(); 
32                 void help() { m->mothurOut(getHelpString()); }  
33         
34         
35         private:
36                 set<string> names;
37                 string accnosfile, fastafile, namefile, groupfile, countfile, alignfile, listfile, taxfile, qualfile, outputDir;
38                 bool abort, dups;
39                 vector<string> outputNames;
40                 
41                 int readFasta();
42                 int readName();
43                 int readGroup();
44         int readCount();
45                 int readAlign();
46                 int readList();
47                 int readTax();
48                 int readQual();
49                 
50 };
51
52 #endif
53