]> git.donarmstrong.com Git - mothur.git/blobdiff - blastdb.cpp
1.10.0
[mothur.git] / blastdb.cpp
index 780afe0d485627fb63c3d7265f55b2aee19147fb..b52c82e58d0bb7c441e9b9df324461b4b9a8df60 100644 (file)
@@ -85,23 +85,6 @@ vector<int> BlastDB::findClosestSequences(Sequence* seq, int n) {
                }
                m8FileHandle.close();
                
-               string root = dbFileName;
-               string temp = dbFileName + ".nsq";
-               remove(temp.c_str());   
-               temp = dbFileName + ".nsi";
-               remove(temp.c_str());
-               
-               temp = dbFileName + ".nsd";
-               remove(temp.c_str());   
-
-               temp = dbFileName + ".nin";
-               remove(temp.c_str());   
-
-               temp = dbFileName + ".nhr";
-               remove(temp.c_str());   
-       
-
-               
                return topMatches;
        }
        catch(exception& e) {
@@ -167,7 +150,7 @@ void BlastDB::addSequence(Sequence seq) {
                unalignedFastaFile << '>' << count << endl;                                     //      sequences, which will be input to formatdb
                unalignedFastaFile << seq.getUnaligned() << endl;
                unalignedFastaFile.close();
-               
+       
                count++;
        }
        catch(exception& e) {