X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=summarysharedcommand.h;fp=summarysharedcommand.h;h=3d177e7a71967225011f6077a6597b4ac3b2486c;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=077181220a836f6b118f68008996b411f81822fa;hpb=36a867cbd85d9c276d3c8d13f25a150bbbe2466b;p=mothur.git diff --git a/summarysharedcommand.h b/summarysharedcommand.h index 0771812..3d177e7 100644 --- a/summarysharedcommand.h +++ b/summarysharedcommand.h @@ -14,23 +14,23 @@ #include "sharedrabundvector.h" #include "inputdata.h" #include "calculator.h" -#include "readotu.h" #include "validcalculator.h" -class GlobalData; - class SummarySharedCommand : public Command { public: SummarySharedCommand(string); SummarySharedCommand(); - ~SummarySharedCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~SummarySharedCommand() {} + + vector setParameters(); + string getCommandName() { return "summary.shared"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: struct linePair { @@ -38,17 +38,13 @@ private: int end; }; vector lines; - GlobalData* globaldata; - ReadOTUFile* read; vector sumCalculators; InputData* input; - ValidCalculators* validCalculator; bool abort, allLines, mult, all, createPhylip; set labels; //holds labels to be used - string label, calc, groups; + string label, calc, groups, sharedfile; vector Estimators, Groups, outputNames; - map > outputTypes; vector lookup; string format, outputDir; int numGroups, processors;