]> git.donarmstrong.com Git - mothur.git/blobdiff - classify.cpp
removing chime source files from mother project.
[mothur.git] / classify.cpp
index 3bf0d572f88d0ad7ffd76989d71f10807e8cc659..2d01183479a504c798a18071df045f723643f850 100644 (file)
@@ -296,7 +296,8 @@ int Classify::readTaxonomy(string file) {
                        delete buf4;
 
                        istringstream iss (tempBuf,istringstream::in);
-                       iss >> name >> taxInfo;
+                       iss >> name; m->gobble(iss);
+            iss >> taxInfo;
                        taxonomy[name] = taxInfo;
                        phyloTree->addSeqToTree(name, taxInfo);
                }
@@ -309,8 +310,9 @@ int Classify::readTaxonomy(string file) {
        
                //read template seqs and save
                while (!inTax.eof()) {
-                       inTax >> name >> taxInfo;
-                       
+                       inTax >> name; m->gobble(inTax);
+            inTax >> taxInfo;
+               
                        taxonomy[name] = taxInfo;
                        
                        phyloTree->addSeqToTree(name, taxInfo);