cutoff = "1.0";
}
+ //set default value for cutoff
+ if (commandName == "distance") { cutoff = "1.0"; }
+
string key, value;
//reads in parameters and values
if((optionText != "") && (commandName != "help")){
if (key == "filter") { filter = value; }
if (key == "soft") { soft = value; }
if (key == "scale") { scale = value; }
+ if (key == "ends" ) { ends = value; }
+ if (key == "processors" ) { processors = value; }
if (key == "filter") { filter = value; }
if (key == "soft") { soft = value; }
if (key == "scale") { scale = value; }
-
-
-
+ if (key == "ends" ) { ends = value; }
+ if (key == "processors" ) { processors = value; }
if (key == "line") {//stores lines to be used in a vector
Estimators.clear();
splitAtDash(calc, Estimators);
}
+ if (commandName == "distance") {
+ if ((calc == "default") || (calc == "")) { calc = "onegap"; }
+ Estimators.clear();
+ splitAtDash(calc, Estimators);
+ }
if (commandName == "venn") {
if ((calc == "default") || (calc == "")) {
if (format == "list") { calc = "sobs"; }
string GlobalData::getSoft() { return soft; }
string GlobalData::getFilter() { return filter; }
string GlobalData::getScale() { return scale; }
+string GlobalData::getEnds() { return ends; }
+string GlobalData::getProcessors() { return processors; }
void GlobalData::setListFile(string file) { listfile = file; inputFileName = file;}
void GlobalData::setRabundFile(string file) { rabundfile = file; inputFileName = file;}
void GlobalData::setRandomTree(string Random) { randomtree = Random; }
void GlobalData::setGroups(string g) { groups = g; }
void GlobalData::setCalc(string Calc) { calc = Calc; }
+void GlobalData::setEnds(string e) { ends = e; }
+void GlobalData::setProcessors(string p) { processors = p; }
+
/*******************************************************/
trump = "";
filter = "";
soft = "";
- scale = "log10";
+ scale = "log10";
+ ends = "T"; //yes
+ processors = "1";
}
abund = "10";
step = "0.01";
form = "integral";
+ ends = "T";
+ processors = "1";
}
/*******************************************************/