]> git.donarmstrong.com Git - mothur.git/blobdiff - summarycommand.cpp
fixed Thomas' calculators
[mothur.git] / summarycommand.cpp
index 39972cef649a1c34443b0ae36117a48f8b776cbd..b649582758636370f812a51cf182ce7813bc3e02 100644 (file)
 #include "qstat.h"
 #include "bergerparker.h"
 #include "bstick.h"
+#include "goodscoverage.h"
 #include "coverage.h"
+#include "efron.h"
+#include "boneh.h"
+#include "solow.h"
+#include "shen.h"
 
 //**********************************************************************************************************************
 
@@ -67,6 +72,20 @@ SummaryCommand::SummaryCommand(){
                                        sumCalculators.push_back(new Bootstrap());
                                }else if (globaldata->Estimators[i] == "nseqs") { 
                                        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));
+                               }else if (globaldata->Estimators[i] == "shen") { 
+                                       convert(globaldata->getSize(), size);
+                                       sumCalculators.push_back(new Shen(size));
                                }
                        }
                }