#include "rarefactsharedcommand.h"
#include "sharedsobs.h"
+#include "sharednseqs.h"
//**********************************************************************************************************************
fileNameRoot = getRootName(globaldata->inputFileName);
format = globaldata->getFormat();
validCalculator = new ValidCalculators();
-
- setGroups();
int i;
for (i=0; i<globaldata->Estimators.size(); i++) {
if (validCalculator->isValidCalculator("sharedrarefaction", globaldata->Estimators[i]) == true) {
if (globaldata->Estimators[i] == "sharedobserved") {
rDisplays.push_back(new RareDisplay(new SharedSobs(), new SharedThreeColumnFile(fileNameRoot+"shared.rarefaction", "")));
+ }else if (globaldata->Estimators[i] == "sharednseqs") {
+ rDisplays.push_back(new RareDisplay(new SharedNSeqs(), new SharedThreeColumnFile(fileNameRoot+"shared.r_nseqs", "")));
}
+
}
}
order = SharedList->getSharedOrderVector();
}
+ //set users groups
+ setGroups();
+
while(order != NULL){
if(globaldata->allLines == 1 || globaldata->lines.count(count) == 1 || globaldata->labels.count(order->getLabel()) == 1){