]> git.donarmstrong.com Git - mothur.git/blob - blastdb.hpp
added cluster.split command
[mothur.git] / blastdb.hpp
1 #ifndef BLASTDB_HPP
2 #define BLASTDB_HPP
3
4
5 /*
6  *  blastdb.hpp
7  *  
8  *
9  *  Created by Pat Schloss on 12/22/08.
10  *  Copyright 2008 Patrick D. Schloss. All rights reserved.
11  *
12  */
13
14 #include "mothur.h"
15 #include "globaldata.hpp"
16
17 class BlastDB : public Database {
18
19 public:
20         BlastDB(float, float, float, float);
21         BlastDB();
22         ~BlastDB();
23         
24         void generateDB();
25         void addSequence(Sequence);
26         vector<int> findClosestSequences(Sequence*, int);
27         vector<int> findClosestMegaBlast(Sequence*, int);
28         
29 private:
30         string dbFileName;
31         string queryFileName;
32         string blastFileName;
33         string path;
34         
35         int count;
36         float gapOpen;
37         float gapExtend;
38         float match;
39         float misMatch;
40         GlobalData* globaldata;
41 };
42
43 #endif