]> git.donarmstrong.com Git - mothur.git/blob - chimeraslayer.h
chimeras, fix to sabundvector and sharedsabundvector that caused getRabundVector...
[mothur.git] / chimeraslayer.h
1 #ifndef CHIMERASLAYER_H
2 #define CHIMERASLAYER_H
3
4 /*
5  *  chimeraslayer.h
6  *  Mothur
7  *
8  *  Created by westcott on 9/25/09.
9  *  Copyright 2009 Schloss Lab. All rights reserved.
10  *
11  */
12
13
14 #include "chimera.h"
15 #include "maligner.h"
16 #include "slayer.h"
17
18 /***********************************************************************/
19 //This class was modeled after the chimeraSlayer written by the Broad Institute
20 /***********************************************************************/
21
22
23 class ChimeraSlayer : public Chimera {
24         
25         public:
26                 ChimeraSlayer(string, bool, string);    
27                 ~ChimeraSlayer();
28                 
29                 int getChimeras(Sequence*);
30                 void print(ostream&);
31                 void printHeader(ostream&);
32                 void doPrep();
33                 
34         private:
35                 Sequence* querySeq;
36                 DeCalculator* decalc;
37                 Maligner* maligner;
38                 Slayer* slayer;
39                 map<int, int>  spotMap;
40                 Database* databaseRight;
41                 Database* databaseLeft;
42                 
43                 vector<data_struct>  chimeraResults;
44                 string chimeraFlags, searchMethod, fastafile;
45                 bool realign;
46         
47                 void printBlock(data_struct, ostream&);
48                 
49 };
50
51 /************************************************************************/
52
53 #endif
54
55