X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mgclustercommand.h;fp=mgclustercommand.h;h=a51fec5b298991b976095c52b7944c2fbab84cb8;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=f16a8f0c5ebc75bf07039a54d910d266e418b94e;hpb=36a867cbd85d9c276d3c8d13f25a150bbbe2466b;p=mothur.git diff --git a/mgclustercommand.h b/mgclustercommand.h index f16a8f0..a51fec5 100644 --- a/mgclustercommand.h +++ b/mgclustercommand.h @@ -14,9 +14,10 @@ #include "readblast.h" #include "sparsematrix.hpp" #include "nameassignment.hpp" -#include "globaldata.hpp" #include "cluster.hpp" #include "hcluster.h" +#include "rabundvector.hpp" +#include "sabundvector.hpp" /**********************************************************************/ @@ -25,16 +26,18 @@ class MGClusterCommand : public Command { public: MGClusterCommand(string); MGClusterCommand(); - ~MGClusterCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~MGClusterCommand(){} + + vector setParameters(); + string getCommandName() { return "mgcluster"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; ReadBlast* read; NameAssignment* nameMap; Cluster* cluster; @@ -43,7 +46,6 @@ private: ListVector oldList; vector overlapMatrix; vector outputNames; - map > outputTypes; string blastfile, method, namefile, overlapFile, distFile, outputDir; ofstream sabundFile, rabundFile, listFile;