]> git.donarmstrong.com Git - mothur.git/blobdiff - amovacommand.cpp
added name option to trim.seqs
[mothur.git] / amovacommand.cpp
index af867de3bf4811e00f98904f06935ac95a8313f3..ad5823b15e108396ee1b0e0977167c8e4f1fbb22 100644 (file)
@@ -50,7 +50,6 @@ string AmovaCommand::getHelpString(){
                exit(1);
        }
 }
-
 //**********************************************************************************************************************
 AmovaCommand::AmovaCommand(){  
        try {
@@ -71,6 +70,7 @@ AmovaCommand::AmovaCommand(string option) {
                
                //allow user to run help
                if(option == "help") { help(); abort = true; calledHelp = true; }
+               else if(option == "citation") { citation(); abort = true; calledHelp = true;}
                
                else {
                        vector<string> myArray = setParameters();
@@ -282,7 +282,7 @@ double AmovaCommand::runAMOVA(ofstream& AMOVAFile, map<string, vector<int> > gro
                m->mothurOut("df\t" + toString(dfAmong) + '\t' + toString(dfWithin) + '\t' + toString(dfTotal) + '\n');
 
                AMOVAFile << "MS\t" << MSAmong << '\t' << MSWithin << endl << endl;
-               m->mothurOut("MS\t" + toString(MSAmong) + '\t' + toString(MSWithin) + "\n");
+               m->mothurOut("MS\t" + toString(MSAmong) + '\t' + toString(MSWithin) + "\n\n");
 
                AMOVAFile << "Fs:\t" << Fs << endl;
                m->mothurOut("Fs:\t" + toString(Fs) + '\n');