#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);
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);