string getCommandCategory() { return "Hypothesis Testing"; }
string getHelpString();
string getCitation() { return "Anderson MJ (2001). A new method for non-parametric multivariate analysis of variance. Austral Ecol 26: 32-46.\nhttp://www.mothur.org/wiki/Amova"; }
- string getDescription() { return "calculate AMOVA statistic"; }
+ string getDescription() { return "analysis of molecular variance"; }
int execute();
void help() { m->mothurOut(getHelpString()); }
string getCommandCategory() { return "Hypothesis Testing"; }
string getHelpString();
string getCitation() { return "Clarke, K. R. (1993). Non-parametric multivariate analysis of changes in community structure. _Australian Journal of Ecology_ 18, 117-143.\nhttp://www.mothur.org/wiki/Anosim"; }
- string getDescription() { return "anosim"; }
+ string getDescription() { return "analysis of similarity"; }
int execute();
void help() { m->mothurOut(getHelpString()); }
int start = time(NULL);
string nameFile = "";
- if (templatefile == "self") { //you want to run uchime with a refernce template
+ if (templatefile == "self") { //you want to run uchime with a reference template
#ifdef USE_MPI
int pid;
sort(nameMapCount.begin(), nameMapCount.end(), compareSeqPriorityNodes);
- string newFasta = fastaFileNames[s] + ".temp";
+ string newFasta = m->getRootName(fastaFileNames[s]) + "temp";
ofstream out;
m->openOutputFile(newFasta, out);
string getCommandCategory() { return "Clustering"; }
string getHelpString();
string getCitation() { return "Schloss PD, Handelsman J (2005). Introducing DOTUR, a computer program for defining operational taxonomic units and estimating species richness. Appl Environ Microbiol 71: 1501-6. \nhttp://www.mothur.org/wiki/Cluster.classic"; }
- string getDescription() { return "cluster your sequences into OTUs using dotur's method"; }
+ string getDescription() { return "cluster your sequences into OTUs using DOTUR’s method"; }
int execute();
void help() { m->mothurOut(getHelpString()); }
vector<float> terms;
float AijDenominator = 0.0;
vector<float> Bij;
+
//get overall abundance of each grouping
for (int j = 0; j < groupings.size(); j++) {
if (groupings[j][k]->getAbundance(i) != 0) { numNotZero++; }
}
+ //mean abundance
float Aij = (totalAbund / (float) groupings[j].size());
terms.push_back(Aij);
float maxIndVal = 0.0;
for (int j = 0; j < terms.size(); j++) {
- float thisAij = (terms[j] / AijDenominator);
+ float thisAij = (terms[j] / AijDenominator); //relative abundance
float thisValue = thisAij * Bij[j] * 100.0;
//save largest
if (groupings[j][k]->getAbundance(i) != 0.0) { numNotZero++; }
}
-
+
+ //mean abundance
float Aij = (totalAbund / (float) groupings[j].size());
terms.push_back(Aij);
float maxIndVal = 0.0;
for (int j = 0; j < terms.size(); j++) {
- float thisAij = (terms[j] / AijDenominator);
+ float thisAij = (terms[j] / AijDenominator); //relative abundance
float thisValue = thisAij * Bij[j] * 100.0;
//save largest
string getCommandCategory() { return "Hypothesis Testing"; }
string getHelpString();
string getCitation() { return "McCune B, Grace JB, Urban DL (2002). Analysis of ecological communities. MjM Software Design: Gleneden Beach, OR. \nLegendre P, Legendre L (1998). Numerical Ecology. Elsevier: New York. \nhttp://www.mothur.org/wiki/Mantel"; }
- string getDescription() { return "mantel"; }
+ string getDescription() { return "Mantel’s test for correlation between matrices"; }
int execute();
void help() { m->mothurOut(getHelpString()); }
string getCommandCategory() { return "General"; }
string getHelpString();
string getCitation() { return "http://www.mothur.org/wiki/System"; }
- string getDescription() { return "excute system commands from within mothur"; }
+ string getDescription() { return "execute system commands from within mothur"; }
int execute();
void help() { m->mothurOut(getHelpString()); }