]> git.donarmstrong.com Git - mothur.git/blobdiff - rarefactcommand.cpp
Added get.line command.
[mothur.git] / rarefactcommand.cpp
index 7e4ced55244665b4c3540f71491ce6dd4f003517..594b1dde19ee6f48bfbe6641133428513c22c27f 100644 (file)
@@ -35,7 +35,10 @@ 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") { 
-                                       rDisplays.push_back(new RareDisplay(new Ace(), new ThreeColumnFile(fileNameRoot+"r_ace")));
+                                       convert(globaldata->getAbund(), abund);
+                                       if(abund < 5)
+                                               abund = 10;
+                                       rDisplays.push_back(new RareDisplay(new Ace(abund), new ThreeColumnFile(fileNameRoot+"r_ace")));
                                }else if (globaldata->Estimators[i] == "jack") { 
                                        rDisplays.push_back(new RareDisplay(new Jackknife(), new ThreeColumnFile(fileNameRoot+"r_jack")));
                                }else if (globaldata->Estimators[i] == "shannon") {