]> git.donarmstrong.com Git - mothur.git/blob - filterseqscommand.h
This contains Pat's bug fixes and updates. It represents mothur v.1.3.0
[mothur.git] / filterseqscommand.h
1 #ifndef FILTERSEQSCOMMAND_H
2 #define FILTERSEQSCOMMAND_H
3
4 /*
5  *  filterseqscommand.h
6  *  Mothur
7  *
8  *  Created by Thomas Ryabin on 5/4/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14 #include "mothur.h"
15 #include "globaldata.hpp"
16 #include "readfasta.h"
17 #include "readnexus.h"
18 #include "readclustal.h"
19 #include "readseqsphylip.h"
20
21 using namespace std;
22
23 class FilterSeqsCommand : public Command {
24
25 public:
26         FilterSeqsCommand();
27         ~FilterSeqsCommand() {};
28         int execute();  
29         
30 private:
31         void doTrump();
32         void doSoft();
33         void doHard();
34         void doVertical();
35         
36         int alignmentLength;
37         int numSeqs;
38         
39         GlobalData* globaldata; 
40         ReadSeqs* readSeqs;
41         SequenceDB* db;
42         
43         string filter;
44
45 };
46
47 #endif