X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getrelabundcommand.h;h=dcb4cf71e43a919bc6fce2588b8d7e8e7c2864dd;hp=aa123a4f24e73c8b9a1dc94449e2acccbfc003cb;hb=615301e57c25e241356a9c2380648d117709458d;hpb=4ee9d3c973fb056f3105c26306da3b5d7dfb8108 diff --git a/getrelabundcommand.h b/getrelabundcommand.h index aa123a4..dcb4cf7 100644 --- a/getrelabundcommand.h +++ b/getrelabundcommand.h @@ -12,31 +12,39 @@ #include "command.hpp" #include "inputdata.h" -#include "readotu.h" #include "sharedrabundvector.h" -class GlobalData; class GetRelAbundCommand : public Command { public: GetRelAbundCommand(string); - ~GetRelAbundCommand(); - int execute(); - void help(); + GetRelAbundCommand(); + ~GetRelAbundCommand(){} + + vector setParameters(); + string getCommandName() { return "get.relabund"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + + string getHelpString(); + string getOutputPattern(string); + 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; + bool abort, allLines, pickedGroups; set labels; //holds labels to be used - string groups, label, outputDir, scale; - vector Groups; + string groups, label, outputDir, scale, sharedfile; + vector Groups, outputNames; - int getRelAbundance(vector, ofstream&); + int getRelAbundance(vector&, ofstream&); };