]> git.donarmstrong.com Git - mothur.git/blobdiff - pipelinepdscommand.cpp
working on current change
[mothur.git] / pipelinepdscommand.cpp
index d1309edde7631d2c8edb0f54c67be9cf02e671d2..898ad9b72640a4f5c9050f98b399e23efeafd58d 100644 (file)
@@ -94,6 +94,7 @@ PipelineCommand::PipelineCommand(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();
@@ -187,6 +188,7 @@ PipelineCommand::PipelineCommand(string option) {
                                sffFile = validParameter.validFile(parameters, "sff", true);
                                if (sffFile == "not found") { m->mothurOut("sff is a required parameter for the pipeline command."); m->mothurOutEndLine(); abort = true;  }
                                else if (sffFile == "not open") { sffFile = ""; abort = true; }
+                               else { m->setSFFFile(sffFile); }
                                        
                                oligosFile = validParameter.validFile(parameters, "oligos", true);
                                if (oligosFile == "not found") { m->mothurOut("oligos is a required parameter for the pipeline command."); m->mothurOutEndLine(); abort = true;  }