]> git.donarmstrong.com Git - mothur.git/blob - alignmentdb.h
started work on classify.seqs command. changed the database class so that it does...
[mothur.git] / alignmentdb.h
1 #ifndef ALIGNMENTDB_H
2 #define ALIGNMENTDB_H
3
4 /*
5  *  alignmentdb.h
6  *  Mothur
7  *
8  *  Created by westcott on 11/4/09.
9  *  Copyright 2009 Schloss Lab. All rights reserved.
10  *
11  */
12
13 #include "mothur.h"
14 #include "sequence.hpp"
15 #include "database.hpp"
16
17 /**************************************************************************************************/
18
19 class AlignmentDB {
20
21 public:
22
23         AlignmentDB(string, string, int, int, int, int, int);  //reads fastafile passed in and stores sequences
24         ~AlignmentDB();
25         
26         Sequence findClosestSequence(Sequence*);
27         float getSearchScore()  {  return search->getSearchScore();  }
28         int getLongestBase()    {  return longest;  }
29         
30 private:
31         int numSeqs, longest;
32         float searchScore;
33         
34         Database* search;
35         vector<Sequence> templateSequences;
36         Sequence emptySequence;
37 };
38
39 /**************************************************************************************************/
40
41 #endif
42