]> git.donarmstrong.com Git - mothur.git/blobdiff - summarycommand.cpp
added boneh, efron, and solow calculators
[mothur.git] / summarycommand.cpp
index bd8deb1c60d1682a8d6b1377d6a46434ec823916..d0124d8516033800804e16cf5a092af8517e7fe7 100644 (file)
@@ -24,6 +24,9 @@
 #include "bstick.h"
 #include "goodscoverage.h"
 #include "coverage.h"
+#include "efron.h"
+#include "boneh.h"
+#include "solow.h"
 
 //**********************************************************************************************************************
 
@@ -70,6 +73,15 @@ SummaryCommand::SummaryCommand(){
                                        sumCalculators.push_back(new NSeqs());
                                }else if (globaldata->Estimators[i] == "goodscoverage") { 
                                        sumCalculators.push_back(new GoodsCoverage());
+                               }else if (globaldata->Estimators[i] == "efron") { 
+                                       convert(globaldata->getSize(), size);
+                                       sumCalculators.push_back(new Efron(size));
+                               }else if (globaldata->Estimators[i] == "boneh") { 
+                                       convert(globaldata->getSize(), size);
+                                       sumCalculators.push_back(new Boneh(size));
+                               }else if (globaldata->Estimators[i] == "solow") { 
+                                       convert(globaldata->getSize(), size);
+                                       sumCalculators.push_back(new Solow(size));
                                }
                        }
                }