]> git.donarmstrong.com Git - mothur.git/blobdiff - alignmentdb.cpp
added blastlocation to chimera.slayer and fixed issue with clearcut getting current...
[mothur.git] / alignmentdb.cpp
index 0fd2ac4dca4ff4fcfc770488ab96f40dc21c38d7..7c2916c54970c72f73942db5726fe3a0d8c85655 100644 (file)
@@ -157,7 +157,7 @@ AlignmentDB::AlignmentDB(string fastaFileName, string s, int kmerSize, float gap
                        #endif
                }
                else if(method == "suffix")             {       search = new SuffixDB(numSeqs);                                                         }
-               else if(method == "blast")              {       search = new BlastDB(fastaFileName.substr(0,fastaFileName.find_last_of(".")+1), gapOpen, gapExtend, match, misMatch);   }
+               else if(method == "blast")              {       search = new BlastDB(fastaFileName.substr(0,fastaFileName.find_last_of(".")+1), gapOpen, gapExtend, match, misMatch, "");       }
                else {
                        m->mothurOut(method + " is not a valid search option. I will run the command using kmer, ksize=8.");
                        m->mothurOutEndLine();
@@ -198,7 +198,7 @@ AlignmentDB::AlignmentDB(string s){
                method = s;
                
                if(method == "suffix")          {       search = new SuffixDB();        }
-               else if(method == "blast")      {       search = new BlastDB();         }
+               else if(method == "blast")      {       search = new BlastDB("");               }
                else                                            {       search = new KmerDB();          }