]> git.donarmstrong.com Git - mothur.git/commitdiff
removed some testing changes i made to classify.seqs
authorpschloss <pschloss>
Mon, 13 Jun 2011 14:23:44 +0000 (14:23 +0000)
committerpschloss <pschloss>
Mon, 13 Jun 2011 14:23:44 +0000 (14:23 +0000)
bayesian.cpp

index f715787d5498ea49c2fc8d11b852315f27af4609..cf55d5c585ee2c7c2ca6534f7192996f2ef34d02 100644 (file)
@@ -247,7 +247,7 @@ string Bayesian::getTaxonomy(Sequence* seq) {
                //bootstrap - to set confidenceScore
                int numToSelect = queryKmers.size() / 8;
        
-//             tax = bootstrapResults(queryKmers, index, numToSelect);
+               tax = bootstrapResults(queryKmers, index, numToSelect);
                                
                return tax;     
        }
@@ -349,7 +349,7 @@ int Bayesian::getMostProbableTaxonomy(vector<int> queryKmer) {
                //find taxonomy with highest probability that this sequence is from it
                
                
-               cout << genusNodes.size() << endl;
+//             cout << genusNodes.size() << endl;
                
                
                for (int k = 0; k < genusNodes.size(); k++) {
@@ -360,7 +360,7 @@ int Bayesian::getMostProbableTaxonomy(vector<int> queryKmer) {
                                prob += wordGenusProb[queryKmer[i]][k];
                        }
                        
-                       cout << phyloTree->get(genusNodes[k]).name << '\t' << prob << endl;
+//                     cout << phyloTree->get(genusNodes[k]).name << '\t' << prob << endl;
 
                        //is this the taxonomy with the greatest probability?
                        if (prob > maxProbability) {