]> git.donarmstrong.com Git - mothur.git/blobdiff - blastdb.cpp
chimeras, fix to sabundvector and sharedsabundvector that caused getRabundVector...
[mothur.git] / blastdb.cpp
index dff1074e92a3d405419712c72c3528333a004814..396a6b4b91c4496b80dfc3009cdda4a0f34b12e6 100644 (file)
@@ -118,7 +118,7 @@ vector<int> BlastDB::findClosestMegaBlast(Sequence* seq, int n) {
                system(blastCommand.c_str());
                
                ifstream m8FileHandle;
-               openInputFile(blastFileName, m8FileHandle);
+               openInputFile(blastFileName, m8FileHandle, "no error");
        
                string dummy;
                int templateAccession;
@@ -132,9 +132,10 @@ vector<int> BlastDB::findClosestMegaBlast(Sequence* seq, int n) {
                        
                        gobble(m8FileHandle);
                        topMatches.push_back(templateAccession);
+//cout << templateAccession << endl;
                }
                m8FileHandle.close();
-               
+//cout << "\n\n" ;             
                return topMatches;
        }
        catch(exception& e) {