X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=classify.cpp;h=c0f8a9c7d5115c60d46626235e82b99b625c43c1;hb=92f998cc7debc4bf3e8594848586b8153d96db16;hp=9431c6cef6adf9edff07cfb16d32826c1b3592d9;hpb=d5bf2c1354d0811a33394d918b15620606560d58;p=mothur.git diff --git a/classify.cpp b/classify.cpp index 9431c6c..c0f8a9c 100644 --- a/classify.cpp +++ b/classify.cpp @@ -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);