]> git.donarmstrong.com Git - mothur.git/blobdiff - collectcommand.cpp
fixed bug in read.tree updates help and validparameters strings, added ability for...
[mothur.git] / collectcommand.cpp
index 000f85d1d91f3922766f024d71dc157640b2eabe..5994af594ae182f63087cd9c08ca6f96ec4a1187 100644 (file)
 #include "npshannon.h"
 #include "shannon.h"
 #include "jackknife.h"
+#include "geom.h"
+#include "qstat.h"
+#include "logsd.h"
+#include "bergerparker.h"
+#include "bstick.h"
 
 
 //**********************************************************************************************************************
-
-
 CollectCommand::CollectCommand(){
        try {
                globaldata = GlobalData::getInstance();
@@ -29,7 +32,6 @@ CollectCommand::CollectCommand(){
                fileNameRoot = getRootName(globaldata->inputFileName);
                int i;
                validCalculator = new ValidCalculators();
-               
                for (i=0; i<globaldata->Estimators.size(); i++) {
                        if (validCalculator->isValidCalculator("single", globaldata->Estimators[i]) == true) { 
                                if (globaldata->Estimators[i] == "sobs") { 
@@ -51,6 +53,16 @@ CollectCommand::CollectCommand(){
                                        cDisplays.push_back(new CollectDisplay(new Simpson(), new ThreeColumnFile(fileNameRoot+"simpson")));
                                }else if (globaldata->Estimators[i] == "bootstrap") { 
                                        cDisplays.push_back(new CollectDisplay(new Bootstrap(), new OneColumnFile(fileNameRoot+"bootstrap")));
+                               }else if (globaldata->Estimators[i] == "geom") { 
+                                       cDisplays.push_back(new CollectDisplay(new Geom(), new OneColumnFile(fileNameRoot+"geom")));
+                               }else if (globaldata->Estimators[i] == "qstat") { 
+                                       cDisplays.push_back(new CollectDisplay(new QStat(), new OneColumnFile(fileNameRoot+"qstat")));
+                               }else if (globaldata->Estimators[i] == "logsd") { 
+                                       cDisplays.push_back(new CollectDisplay(new LogSD(), new OneColumnFile(fileNameRoot+"logsd")));
+                               }else if (globaldata->Estimators[i] == "bergerparker") { 
+                                       cDisplays.push_back(new CollectDisplay(new BergerParker(), new OneColumnFile(fileNameRoot+"bergerparker")));
+                               }else if (globaldata->Estimators[i] == "bstick") { 
+                                       cDisplays.push_back(new CollectDisplay(new BStick(), new OneColumnFile(fileNameRoot+"bstick")));
                                }
                        }
                }