X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=collectsharedcommand.cpp;h=40b911bb8c844ad252a714383ce93109772209a0;hb=4a2d841cb97fb02351022efe9d7068b1dc212bf9;hp=78ce5c400221d5620fd85447627dcb7a3b658994;hpb=5a86e9e5a5a9e061e17b3ae64fb8881f14e53b8a;p=mothur.git diff --git a/collectsharedcommand.cpp b/collectsharedcommand.cpp index 78ce5c4..40b911b 100644 --- a/collectsharedcommand.cpp +++ b/collectsharedcommand.cpp @@ -104,7 +104,7 @@ CollectSharedCommand::CollectSharedCommand(string option) { globaldata->Groups = Groups; string temp; - temp = validParameter.validFile(parameters, "freq", false); if (temp == "not found") { temp = "0.10"; } + temp = validParameter.validFile(parameters, "freq", false); if (temp == "not found") { temp = "100"; } convert(temp, freq); temp = validParameter.validFile(parameters, "all", false); if (temp == "not found") { temp = "false"; } @@ -208,7 +208,7 @@ void CollectSharedCommand::help(){ m->mothurOut("Example collect.shared(label=unique-.01-.03, freq=10, groups=B-C, calc=sharedchao-sharedace-jabund-sorensonabund-jclass-sorclass-jest-sorest-thetayc-thetan).\n"); m->mothurOut("The default values for freq is 100 and calc are sharedsobs-sharedchao-sharedace-jabund-sorensonabund-jclass-sorclass-jest-sorest-thetayc-thetan.\n"); m->mothurOut("The default value for groups is all the groups in your groupfile.\n"); - m->mothurOut("The freq parameter is used indicate when to output your data. It is a percentage of the number of sequences. By default it is set to 0.10, meaning 10%. \n"); + m->mothurOut("The freq parameter is used indicate when to output your data, by default it is set to 100. But you can set it to a percentage of the number of sequence. For example freq=0.10, means 10%. \n"); validCalculator->printCalc("shared", cout); m->mothurOut("The label parameter is used to analyze specific labels in your input.\n"); m->mothurOut("The all parameter is used to specify if you want the estimate of all your groups together. This estimate can only be made for sharedsobs and sharedchao calculators. The default is false.\n");