]> git.donarmstrong.com Git - mothur.git/blobdiff - suffixdb.hpp
added groups option to read.otu, added qtrim option to trim.seqs, fixed bug in get...
[mothur.git] / suffixdb.hpp
index 3d0b01d187fe938451056e0ff10621c5a4c941b4..f211aa7ba7f612613419c54e551cb0755d2dffc7 100644 (file)
@@ -9,7 +9,7 @@
  *  Copyright 2008 Patrick D. Schloss. All rights reserved.
  *
  *     This is a child class of the Database abstract datatype.  The class is basically a database of suffix trees and an
- *     encapsulation of the method for finding the most similar tree to an inputted sequence.  the suffixForest objecct
+ *     encapsulation of the method for finding the most similar tree to an inputted sequence.  the suffixForest object
  *     is a vector of SuffixTrees, with each template sequence being represented by a different SuffixTree.  The class also
  *     provides a method to take an unaligned sequence and find the closest sequence in the suffixForest.  The search
  *     method is inspired by the article and Perl source code provided at http://www.ddj.com/web-development/184416093.  I 
@@ -27,7 +27,8 @@ class SuffixDB : public Database {
        
 public:
        SuffixDB(string);
-       Sequence* findClosestSequence(Sequence*);
+       ~SuffixDB();
+       Sequence findClosestSequence(Sequence*);
 
 private:
        vector<SuffixTree> suffixForest;