X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getrelabundcommand.h;h=ab1896f5b3c470d393453da29297814d697ca825;hp=90d5f9a2ceb9c3164640d8482e88599324557495;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hpb=36a867cbd85d9c276d3c8d13f25a150bbbe2466b diff --git a/getrelabundcommand.h b/getrelabundcommand.h index 90d5f9a..ab1896f 100644 --- a/getrelabundcommand.h +++ b/getrelabundcommand.h @@ -12,35 +12,32 @@ #include "command.hpp" #include "inputdata.h" -#include "readotu.h" #include "sharedrabundvector.h" -class GlobalData; class GetRelAbundCommand : public Command { public: GetRelAbundCommand(string); GetRelAbundCommand(); - ~GetRelAbundCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~GetRelAbundCommand(){} + + vector setParameters(); + string getCommandName() { return "get.relabund"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - GlobalData* globaldata; - ReadOTUFile* read; InputData* input; vector lookup; bool abort, allLines, pickedGroups; set labels; //holds labels to be used - string groups, label, outputDir, scale; + string groups, label, outputDir, scale, sharedfile; vector Groups, outputNames; - map > outputTypes; int getRelAbundance(vector&, ofstream&);