X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=normalizesharedcommand.h;h=53bcd6b5e4aac7d0a463fa436fc8ed6346f5f069;hp=bedff43da2532c99d2e672c27f0abc5a8ebbc9b8;hb=a8e2df1b96a57f5f29576b08361b86a96a8eff4f;hpb=afeb767205e3e7efd11bb7a36a36ad79ad05a779 diff --git a/normalizesharedcommand.h b/normalizesharedcommand.h index bedff43..53bcd6b 100644 --- a/normalizesharedcommand.h +++ b/normalizesharedcommand.h @@ -14,36 +14,40 @@ #include "inputdata.h" #include "sharedrabundvector.h" -class GlobalData; - class NormalizeSharedCommand : public Command { public: NormalizeSharedCommand(string); NormalizeSharedCommand(); - ~NormalizeSharedCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~NormalizeSharedCommand() {} + + vector setParameters(); + string getCommandName() { return "normalize.shared"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Normalize.shared"; } + string getDescription() { return "normalize samples in a shared or relabund file"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; InputData* input; vector lookup; vector lookupFloat; bool abort, allLines, pickedGroups, makeRelabund; set labels; //holds labels to be used - string groups, label, outputDir, method; + string groups, label, outputDir, method, sharedfile, relabundfile, format, inputfile; int norm; vector Groups, outputNames; - map > outputTypes; - - int normalize(vector&, ofstream&); - int normalize(vector&, ofstream&); + + int normalize(vector&); + int normalize(vector&); int eliminateZeroOTUS(vector&); int eliminateZeroOTUS(vector&);