]> git.donarmstrong.com Git - mothur.git/blobdiff - rarefactcommand.cpp
Added get.line command.
[mothur.git] / rarefactcommand.cpp
index 7e4ced55244665b4c3540f71491ce6dd4f003517..df33e5d7a01ed9ca053cee3849bd5bd1448bda23 100644 (file)
@@ -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")));