m->mothurOut("You must read a list and a group, a shared file or provide a distance matrix before you can use the amova command."); m->mothurOutEndLine(); abort = true;
}
}else { sharedfile = globaldata->getSharedFile(); }
-
+
//use distance matrix if one is provided
if ((sharedfile != "") && (phylipfile != "")) { sharedfile = ""; }
out.close();
}
- InputData input("sharedfile", sharedfile);
+ InputData input(sharedfile, "sharedfile");
vector<SharedRAbundVector*> lookup = input.getSharedRAbundVectors();
string lastLabel = lookup[0]->getLabel();