]> git.donarmstrong.com Git - mothur.git/blobdiff - consensusseqscommand.cpp
added citation function to commands
[mothur.git] / consensusseqscommand.cpp
index bc47d8cca678ff9c8764651119ff255404a4ef65..e81627df1be2e26b2c40d6322416d96d9bdcf893 100644 (file)
@@ -43,7 +43,7 @@ string ConsensusSeqsCommand::getHelpString(){
                helpString += "The consensus.seqs command should be in the following format: \n";
                helpString += "consensus.seqs(fasta=yourFastaFile, list=yourListFile) \n";      
                helpString += "Example: consensus.seqs(fasta=abrecovery.align, list=abrecovery.fn.list) \n";
-               helpString += "Note: No spaces between parameter labels (i.e. fasta), '=' and parameters (i.e.yourFastaFile).\n\n";     
+               helpString += "Note: No spaces between parameter labels (i.e. fasta), '=' and parameters (i.e.yourFastaFile).\n";       
                return helpString;
        }
        catch(exception& e) {
@@ -75,6 +75,7 @@ ConsensusSeqsCommand::ConsensusSeqsCommand(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 {