X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactcommand.cpp;h=df33e5d7a01ed9ca053cee3849bd5bd1448bda23;hb=addc715b6d7ea52440751cec10edad03e1a19b37;hp=7e4ced55244665b4c3540f71491ce6dd4f003517;hpb=70ac1dc59244e259b1a972385d490d2ac7f511c0;p=mothur.git diff --git a/rarefactcommand.cpp b/rarefactcommand.cpp index 7e4ced5..df33e5d 100644 --- a/rarefactcommand.cpp +++ b/rarefactcommand.cpp @@ -35,6 +35,9 @@ RareFactCommand::RareFactCommand(){ }else if (globaldata->Estimators[i] == "chao") { rDisplays.push_back(new RareDisplay(new Chao1(), new ThreeColumnFile(fileNameRoot+"r_chao"))); }else if (globaldata->Estimators[i] == "ace") { + convert(globaldata->getAbund(), abund); + if(abund < 5) + abund = 10; rDisplays.push_back(new RareDisplay(new Ace(), new ThreeColumnFile(fileNameRoot+"r_ace"))); }else if (globaldata->Estimators[i] == "jack") { rDisplays.push_back(new RareDisplay(new Jackknife(), new ThreeColumnFile(fileNameRoot+"r_jack")));