]> git.donarmstrong.com Git - mothur.git/blob - filterseqscommand.h
4b7d0111f11f5712dc9075bf313ec695222c7d7c
[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 "globaldata.hpp"
15 #include "readfasta.h"
16 #include "readnexus.h"
17 #include "readclustal.h"
18 #include "readseqsphylip.h"
19
20
21 class FilterSeqsCommand : public Command {
22
23 public:
24         FilterSeqsCommand();
25         ~FilterSeqsCommand() {};
26         int execute();  
27         
28 private:
29         void doHard();
30         void doTrump(Sequence);
31         void doVertical();
32         void doSoft();
33         void getFreqs(Sequence);
34         string filter;  
35         int alignmentLength;
36
37         char trump;
38         bool vertical;
39         float soft;
40         int numSeqs;
41         
42         GlobalData* globaldata; 
43         vector<int> a, t, g, c, gap;
44 };
45
46 #endif