X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=blastdb.cpp;h=b52c82e58d0bb7c441e9b9df324461b4b9a8df60;hb=4a2d841cb97fb02351022efe9d7068b1dc212bf9;hp=780afe0d485627fb63c3d7265f55b2aee19147fb;hpb=5a86e9e5a5a9e061e17b3ae64fb8881f14e53b8a;p=mothur.git diff --git a/blastdb.cpp b/blastdb.cpp index 780afe0..b52c82e 100644 --- a/blastdb.cpp +++ b/blastdb.cpp @@ -85,23 +85,6 @@ vector 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) {