5 // Created by Patrick Schloss on 4/3/12.
6 // Copyright (c) 2012 University of Michigan. All rights reserved.
9 #ifndef pdsBayesian_kmerTree_h
10 #define pdsBayesian_kmerTree_h
16 class KmerTree : public Classify {
19 KmerTree(string, string, int, int);
22 string getTaxonomy(Sequence*);
25 int addTaxonomyToTree(string, string, vector<int>&);
26 vector<int> ripKmerProfile(string);
27 int getMinRiskIndexKmer(vector<int>&, vector<int>&, vector<double>&);
28 int aggregateThetas();
29 int sanityCheck(vector<vector<int> >&, vector<int>&);
32 int numPossibleKmers, confidenceThreshold;
33 vector<KmerNode*> tree;