]> git.donarmstrong.com Git - mothur.git/blobdiff - globaldata.cpp
venn command with up to 4 groups using sharedsobs, sharedchao and sharedace estimator...
[mothur.git] / globaldata.cpp
index 64a7c93ac0a7c5067cf102250d3efd9cf8ab7380..da81879f48fff6fbe87ac67ba950afd84c03a69e 100644 (file)
@@ -190,6 +190,14 @@ void GlobalData::parseGlobalData(string commandString, string optionText){
                        Estimators.clear();
                        splitAtDash(calc, Estimators); 
                }
+               if (commandName == "venn") {
+                       if ((calc == "default") || (calc == "")) { 
+                               if (format == "list") { calc = "sobs"; }
+                               else { calc = "sharedsobs"; }
+                       }
+                       Estimators.clear();
+                       splitAtDash(calc, Estimators); 
+               }
 
                //if you have done a read.otu with a groupfile but don't want to use it anymore because you want to do single commands
                if ((commandName == "collect.single") || (commandName == "rarefaction.single") || (commandName == "summary.single")) {