Permalink
Browse files

Adds threads to cluster.split vsearch

  • Loading branch information...
1 parent 68c3430 commit 4eda40283127883417e944003e5b31ad283b31a1 @mothur-westcott mothur-westcott committed Jul 19, 2016
Showing with 4 additions and 0 deletions.
  1. +4 −0 source/commands/clustersplitcommand.cpp
@@ -1454,6 +1454,10 @@ int ClusterSplitCommand::vsearchDriver(string inputFile, string ucClusteredFile,
char* wordlength = new char[15]; wordlength[0] = '\0'; strncat(wordlength, "--wordlength=8", 14);
vsearchParameters.push_back(wordlength);
+ //--threads=1
+ char* threads = new char[12]; threads[0] = '\0'; strncat(threads, "--threads=1", 11);
+ vsearchParameters.push_back(threads);
+
//--uc=$ROOT.clustered.uc
string tempIn = "--uc=" + ucClusteredFile;
char* uc = new char[tempIn.length()+1]; uc[0] = '\0'; strncat(uc, tempIn.c_str(), tempIn.length());

0 comments on commit 4eda402

Please sign in to comment.