GCC_OPTIMIZATION_LEVEL = 3;
GCC_PREPROCESSOR_DEFINITIONS = (
"MOTHUR_FILES=\"\\\"../release\\\"\"",
- "VERSION=\"\\\"1.17.3\\\"\"",
- "RELEASE_DATE=\"\\\"3/07/2011\\\"\"",
+ "VERSION=\"\\\"1.18.0\\\"\"",
+ "RELEASE_DATE=\"\\\"4/11/2011\\\"\"",
);
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_MODEL_TUNING = "";
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PREPROCESSOR_DEFINITIONS = (
- "MOTHUR_FILES=\"\\\"../release\\\"\"",
- "VERSION=\"\\\"1.15.0\\\"\"",
- "RELEASE_DATE=\"\\\"12/10/2010\\\"\"",
+ "VERSION=\"\\\"1.18.0\\\"\"",
+ "RELEASE_DATE=\"\\\"4/11/2011\\\"\"",
);
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
~ClusterCommand();
vector<string> setParameters();
- string getCommandName() { return "cluster"; }
- string getCommandCategory() { return "OTU-Based Approaches"; }
+ string getCommandName() { return "cluster"; }
+ string getCommandCategory() { return "Clustering"; }
string getHelpString();
int execute();
~ClusterDoturCommand(){}
vector<string> setParameters();
- string getCommandName() { return "cluster.classic"; }
- string getCommandCategory() { return "OTU-Based Approaches"; }
+ string getCommandName() { return "cluster.classic"; }
+ string getCommandCategory() { return "Clustering"; }
string getHelpString();
int execute();
~ClusterSplitCommand() {}
vector<string> setParameters();
- string getCommandName() { return "cluster.split"; }
- string getCommandCategory() { return "OTU-Based Approaches"; }
+ string getCommandName() { return "cluster.split"; }
+ string getCommandCategory() { return "Clustering"; }
string getHelpString();
int execute();
}else if (types[i] == "accnos") {
m->setAccnosFile("");
}else if (types[i] == "taxonomy") {
- m->setTaxonomyFile("");
+ m->setTaxonomyFile("");
}else if (types[i] == "all") {
m->clearCurrentFiles();
}else {
~HClusterCommand(){}
vector<string> setParameters();
- string getCommandName() { return "hcluster"; }
- string getCommandCategory() { return "OTU-Based Approaches"; }
+ string getCommandName() { return "hcluster"; }
+ string getCommandCategory() { return "Clustering"; }
string getHelpString();
int execute();
}
m->runParse = true;
+ m->Groups.clear();
+ m->namesOfGroups.clear();
+ m->Treenames.clear();
+ m->names.clear();
vector<string> tempOutNames;
outputTypes["tree"] = tempOutNames;
// reading tree info //
/***************************************************/
string groupfile = "";
+ m->setTreeFile(treefile);
Tree* tree = new Tree(treefile); delete tree; //extracts names from tree to make faked out groupmap
treeMap = new TreeMap();
bool mismatch = false;
~MGClusterCommand(){}
vector<string> setParameters();
- string getCommandName() { return "mgcluster"; }
- string getCommandCategory() { return "OTU-Based Approaches"; }
+ string getCommandName() { return "mgcluster"; }
+ string getCommandCategory() { return "Clustering"; }
string getHelpString();
int execute();
}
m->runParse = true;
+ m->Groups.clear();
+ m->namesOfGroups.clear();
+ m->Treenames.clear();
+ m->names.clear();
outputDir = validParameter.validFile(parameters, "outputdir", false); if (outputDir == "not found"){ outputDir = ""; }
//randomtree will tell us if user had their own treefile or if they just want the random distribution
//user has entered their own tree
if (randomtree == "") {
+
+ m->setTreeFile(treefile);
+
if (groupfile != "") {
//read in group map info.
tmap = new TreeMap(groupfile);
}
m->runParse = true;
+ m->Groups.clear();
+ m->namesOfGroups.clear();
+ m->Treenames.clear();
+ m->names.clear();
//check for required parameters
treefile = validParameter.validFile(parameters, "tree", true);
if (abort == true) { if (calledHelp) { return 0; } return 2; }
+ m->setTreeFile(treefile);
+
//read in group map info.
tmap = new TreeMap(groupfile);
tmap->readMap();
~PhylotypeCommand(){}
vector<string> setParameters();
- string getCommandName() { return "phylotype"; }
- string getCommandCategory() { return "OTU-Based Approaches"; }
+ string getCommandName() { return "phylotype"; }
+ string getCommandCategory() { return "Clustering"; }
string getHelpString();
int execute();
if(format == "phylip") { processPhylip(); }
else if(format == "column") { processColumn(); }
+ m->mothurOutEndLine();
+ m->mothurOut("Output File Name: "); m->mothurOutEndLine();
+ m->mothurOut(sensSpecFileName); m->mothurOutEndLine();
+ m->mothurOutEndLine();
+
return 0;
}
}
m->runParse = true;
+ m->Groups.clear();
+ m->namesOfGroups.clear();
+ m->Treenames.clear();
+ m->names.clear();
//check for required parameters
treefile = validParameter.validFile(parameters, "tree", true);
if (abort == true) { if (calledHelp) { return 0; } return 2; }
+ m->setTreeFile(treefile);
+
if (groupfile != "") {
//read in group map info.
tmap = new TreeMap(groupfile);
}
m->runParse = true;
+ m->Groups.clear();
+ m->namesOfGroups.clear();
+ m->Treenames.clear();
+ m->names.clear();
//check for required parameters
treefile = validParameter.validFile(parameters, "tree", true);
if (abort == true) { if (calledHelp) { return 0; } return 2; }
+ m->setTreeFile(treefile);
+
if (groupfile != "") {
//read in group map info.
tmap = new TreeMap(groupfile);