X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getrelabundcommand.h;h=ab1896f5b3c470d393453da29297814d697ca825;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=9725a31ab546f0829ec4ca0bf370e6792fdfeadf;hpb=762b3e4c83e1e8e8392c1199b6482d36ee89e50f;p=mothur.git diff --git a/getrelabundcommand.h b/getrelabundcommand.h index 9725a31..ab1896f 100644 --- a/getrelabundcommand.h +++ b/getrelabundcommand.h @@ -12,32 +12,34 @@ #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(); + + 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; - vector Groups; + string groups, label, outputDir, scale, sharedfile; + vector Groups, outputNames; int getRelAbundance(vector&, ofstream&); - int eliminateZeroOTUS(vector& thislookup); };