]> git.donarmstrong.com Git - mothur.git/blobdiff - classify.cpp
worked on hcluster. made .single command run using a sharedfile. and various other...
[mothur.git] / classify.cpp
index 9431c6cef6adf9edff07cfb16d32826c1b3592d9..c0f8a9c7d5115c60d46626235e82b99b625c43c1 100644 (file)
@@ -14,9 +14,9 @@
 #include "blastdb.hpp"
 
 /**************************************************************************************************/
-
 Classify::Classify(string tfile, string tempFile, string method, int kmerSize, float gapOpen, float gapExtend, float match, float misMatch) : taxFile(tfile), templateFile(tempFile) {         
-       try {                                                                                   
+       try {   
+                                                                                       
                readTaxonomy(taxFile);  
                
                int start = time(NULL);
@@ -111,10 +111,6 @@ void Classify::readTaxonomy(string file) {
                        
                        taxonomy[name] = taxInfo;
                        
-                       //itTax = taxList.find(taxInfo);
-                       //if (itTax == taxList.end()) { //this is new taxonomy
-                               //taxList[taxInfo] = 1;
-                       //}else { taxList[taxInfo]++;   }
                        phyloTree->addSeqToTree(name, taxInfo);
                
                        gobble(inTax);