X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactcommand.cpp;h=5d6b5d8b3160f0b6bc31199c1e7fc6e60f496254;hb=4a2d841cb97fb02351022efe9d7068b1dc212bf9;hp=f62cea1e5253ce0d1a970491d8eb25b0a73e6bb1;hpb=5a86e9e5a5a9e061e17b3ae64fb8881f14e53b8a;p=mothur.git diff --git a/rarefactcommand.cpp b/rarefactcommand.cpp index f62cea1..5d6b5d8 100644 --- a/rarefactcommand.cpp +++ b/rarefactcommand.cpp @@ -80,7 +80,7 @@ RareFactCommand::RareFactCommand(string option) { splitAtDash(calc, Estimators); 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, "abund", false); if (temp == "not found") { temp = "10"; } @@ -103,7 +103,7 @@ void RareFactCommand::help(){ m->mothurOut("The rarefaction.single command can only be executed after a successful read.otu WTIH ONE EXECEPTION.\n"); m->mothurOut("The rarefaction.single command can be executed after a successful cluster command. It will use the .list file from the output of the cluster.\n"); m->mothurOut("The rarefaction.single command parameters are label, iters, freq, calc and abund. No parameters are required. \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"); m->mothurOut("The rarefaction.single command should be in the following format: \n"); m->mothurOut("rarefaction.single(label=yourLabel, iters=yourIters, freq=yourFreq, calc=yourEstimators).\n"); m->mothurOut("Example rarefaction.single(label=unique-.01-.03, iters=10000, freq=10, calc=sobs-rchao-race-rjack-rbootstrap-rshannon-rnpshannon-rsimpson).\n");