From ae9c5b48da9047548f86fc84897926d9f5102312 Mon Sep 17 00:00:00 2001 From: westcott Date: Tue, 28 Jun 2011 11:57:50 +0000 Subject: [PATCH] indicator command --- chimerauchimecommand.h | 1 + indicatorcommand.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/chimerauchimecommand.h b/chimerauchimecommand.h index eb99cbf..8478117 100644 --- a/chimerauchimecommand.h +++ b/chimerauchimecommand.h @@ -27,6 +27,7 @@ public: string getCommandCategory() { return "Sequence Processing"; } string getHelpString(); string getCitation() { return "uchime by Robert C. Edgar\nhttp://drive5.com/uchime\nThis code is donated to the public domain.\nhttp://www.mothur.org/wiki/Chimera.uchime\nEdgar,R.C., Haas,B.J., Clemente,J.C., Quince,C. and Knight,R. (2011), UCHIME improves sensitivity and speed of chimera detection, Bioinformatics, in press.\n"; } + string getDescription() { return "detect chimeric sequences"; } int execute(); void help() { m->mothurOut(getHelpString()); } diff --git a/indicatorcommand.cpp b/indicatorcommand.cpp index b06742f..2d1c63e 100644 --- a/indicatorcommand.cpp +++ b/indicatorcommand.cpp @@ -282,7 +282,7 @@ int IndicatorCommand::execute(){ } } - if ((designfile != "") && (m->Treenames.size() != Groups.size())) { m->mothurOut("[ERROR]: You design file does not match your tree, aborting."); m->mothurOutEndLine(); mismatch = true; } + if ((designfile != "") && (m->Treenames.size() != Groups.size())) { cout << Groups.size() << '\t' << m->Treenames.size() << endl; m->mothurOut("[ERROR]: You design file does not match your tree, aborting."); m->mothurOutEndLine(); mismatch = true; } if (mismatch) { //cleanup and exit if (designfile != "") { delete designMap; } -- 2.39.2