X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getrelabundcommand.h;h=c5b50e602ef133913061f56b11cc9cadae874d34;hb=9b53f130ac9af5e95444ce2e817fce25ed19ff03;hp=90d5f9a2ceb9c3164640d8482e88599324557495;hpb=37eac2026d91179acda0494c4dcca22f176551b9;p=mothur.git diff --git a/getrelabundcommand.h b/getrelabundcommand.h index 90d5f9a..c5b50e6 100644 --- a/getrelabundcommand.h +++ b/getrelabundcommand.h @@ -12,35 +12,36 @@ #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 getOutputFileNameTag(string, string); + string getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/Get.relabund"; } + string getDescription() { return "calculates the relative abundance of each OTU in a sample"; } + + + 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&);