#include "sharedthetayc.h"
#include "sharedthetan.h"
#include "sharedmorisitahorn.h"
+#include "sharedbraycurtis.h"
//**********************************************************************************************************************
if (validCalculator->isValidCalculator("treegroup", globaldata->Estimators[i]) == true) {
if (globaldata->Estimators[i] == "jabund") {
treeCalculators.push_back(new JAbund());
- }else if (globaldata->Estimators[i] == "sorensonabund") {
+ }else if (globaldata->Estimators[i] == "sorabund") {
treeCalculators.push_back(new SorAbund());
}else if (globaldata->Estimators[i] == "jclass") {
treeCalculators.push_back(new Jclass());
treeCalculators.push_back(new ThetaN());
}else if (globaldata->Estimators[i] == "morisitahorn") {
treeCalculators.push_back(new MorHorn());
+ }else if (globaldata->Estimators[i] == "braycurtis") {
+ treeCalculators.push_back(new BrayCurtis());
}
}
}
if (treeCalculators.size() == 0) { return 0; }
if (format == "sharedfile") {
- read = new ReadPhilFile(globaldata->inputFileName);
+ read = new ReadOTUFile(globaldata->inputFileName);
read->read(&*globaldata);
input = globaldata->ginput;
order = input->getSharedOrderVector();
}else {
//you are using a list and a groupfile
- read = new ReadPhilFile(globaldata->inputFileName);
+ read = new ReadOTUFile(globaldata->inputFileName);
read->read(&*globaldata);
input = globaldata->ginput;