Permalink
Browse files

Changed delta default in cluster.split

  • Loading branch information...
1 parent aae4a30 commit 047cb3aa2c054411b905c7c210c2771205ef95ee @mothur-westcott mothur-westcott committed Aug 15, 2016
Showing with 3 additions and 3 deletions.
  1. +3 −3 source/commands/clustersplitcommand.cpp
@@ -29,7 +29,7 @@ vector<string> ClusterSplitCommand::setParameters(){
CommandParameter ptiming("timing", "Boolean", "", "F", "", "", "","",false,false); parameters.push_back(ptiming);
CommandParameter pprocessors("processors", "Number", "", "1", "", "", "","",false,false,true); parameters.push_back(pprocessors);
CommandParameter pcutoff("cutoff", "Number", "", "0.25", "", "", "","",false,false,true); parameters.push_back(pcutoff);
- CommandParameter pmetriccutoff("delta", "Number", "", "0.001", "", "", "","",false,false,true); parameters.push_back(pmetriccutoff);
+ CommandParameter pmetriccutoff("delta", "Number", "", "0.000", "", "", "","",false,false,true); parameters.push_back(pmetriccutoff);
CommandParameter piters("iters", "Number", "", "10000", "", "", "","",false,false,true); parameters.push_back(piters);
CommandParameter pprecision("precision", "Number", "", "100", "", "", "","",false,false); parameters.push_back(pprecision);
CommandParameter pmethod("method", "Multiple", "furthest-nearest-average-weighted-agc-dgc-opti", "average", "", "", "","",false,false,true); parameters.push_back(pmethod);
@@ -72,7 +72,7 @@ string ClusterSplitCommand::getHelpString(){
helpString += "The precision parameter allows you specify the precision of the precision of the distances outputted, default=100, meaning 2 decimal places. \n";
helpString += "The iters parameter allow you to set the maxiters for the opticluster method. \n";
helpString += "The metric parameter allows to select the metric in the opticluster method. Options are Matthews correlation coefficient (mcc), sensitivity (sens), specificity (spec), true positives + true negatives (tptn), false positives + false negatives (fpfn), true positives (tp), true negative (tn), false positive (fp), false negative (fn), f1score (f1score), accuracy (accuracy), positive predictive value (ppv), negative predictive value (npv), false discovery rate (fdr). Default=mcc.\n";
- helpString += "The delta parameter allows to set the stable value for the metric in the opticluster method. Default=0.001\n";
+ helpString += "The delta parameter allows to set the stable value for the metric in the opticluster method. Default=0.000\n";
helpString += "The method parameter allows you to enter your clustering mothod. Options are furthest, nearest, average, weighted, agc, dgc and opti. Default=average. The agc and dgc methods require a fasta file.";
helpString += "The splitmethod parameter allows you to specify how you want to split your distance file before you cluster, default=distance, options distance, classify or fasta. \n";
helpString += "The taxonomy parameter allows you to enter the taxonomy file for your sequences, this is only valid if you are using splitmethod=classify. Be sure your taxonomy file does not include the probability scores. \n";
@@ -365,7 +365,7 @@ ClusterSplitCommand::ClusterSplitCommand(string option) {
temp = validParameter.validFile(parameters, "iters", false); if (temp == "not found") { temp = "1000"; }
m->mothurConvert(temp, maxIters);
- temp = validParameter.validFile(parameters, "delta", false); if (temp == "not found") { temp = "0.001"; }
+ temp = validParameter.validFile(parameters, "delta", false); if (temp == "not found") { temp = "0.000"; }
m->mothurConvert(temp, stableMetric);
metric = validParameter.validFile(parameters, "metric", false); if (metric == "not found") { metric = "mcc"; }

0 comments on commit 047cb3a

Please sign in to comment.