]> git.donarmstrong.com Git - mothur.git/blobdiff - kmerdb.hpp
started work on classify.seqs command. changed the database class so that it does...
[mothur.git] / kmerdb.hpp
index d50c8b2607347aa337b8cc57fc0566b40ccbb01b..b64412d259a85870c57253249a4e355193476c9a 100644 (file)
@@ -27,13 +27,17 @@ class KmerDB : public Database {
 public:
        KmerDB(string, int);
        ~KmerDB();
-       Sequence findClosestSequence(Sequence*);
-
+       
+       void generateDB();
+       void addSequence(Sequence);
+       vector<int> findClosestSequences(Sequence*, int);
+       void readKmerDB(ifstream&);
+       
 private:
-       void generateKmerDB(string);
-       void readKmerDB(string, ifstream&);
+       
        int kmerSize;
-       int maxKmer;
+       int maxKmer, count;
+       string kmerDBName;
        vector<vector<int> > kmerLocations;
 };