]> git.donarmstrong.com Git - mothur.git/blob - database.cpp
started work on classify.seqs command. changed the database class so that it does...
[mothur.git] / database.cpp
1 /*
2  *  database.cpp
3  *  
4  *
5  *  Created by Pat Schloss on 12/16/08.
6  *  Copyright 2008 Patrick D. Schloss. All rights reserved.
7  *
8  */
9
10 #include "mothur.h"
11 #include "sequence.hpp"
12 #include "database.hpp"
13
14 /**************************************************************************************************/
15
16 Database::Database(){           
17         longest = 0;
18         numSeqs = 0;
19 }
20 /**************************************************************************************************/
21
22 Database::~Database(){}
23
24 /**************************************************************************************************/
25
26 float Database::getSearchScore()        {       return searchScore;             }       //      we're assuming that the search is already done
27
28
29 /**************************************************************************************************/
30
31 int Database::getLongestBase()  {       return longest+1;               }       
32
33 /**************************************************************************************************/