X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=summarysharedcommand.h;h=077181220a836f6b118f68008996b411f81822fa;hb=1b4b18b3e6fa1436b7cc6dcb14c749ac1ae1bdd8;hp=351b1352b7e865d8c0741ffb56875407070db344;hpb=315e38cf393c82be238da5b32574f225a020d25c;p=mothur.git diff --git a/summarysharedcommand.h b/summarysharedcommand.h index 351b135..0771812 100644 --- a/summarysharedcommand.h +++ b/summarysharedcommand.h @@ -23,25 +23,37 @@ class SummarySharedCommand : public Command { public: SummarySharedCommand(string); + SummarySharedCommand(); ~SummarySharedCommand(); + vector getRequiredParameters(); + vector getValidParameters(); + vector getRequiredFiles(); + map > getOutputFiles() { return outputTypes; } int execute(); void help(); private: + struct linePair { + int start; + int end; + }; + vector lines; GlobalData* globaldata; ReadOTUFile* read; vector sumCalculators; InputData* input; ValidCalculators* validCalculator; - bool abort, allLines, mult, all; + bool abort, allLines, mult, all, createPhylip; set labels; //holds labels to be used string label, calc, groups; - vector Estimators, Groups; + vector Estimators, Groups, outputNames; + map > outputTypes; vector lookup; - string outputFileName, format, outAllFileName, outputDir; - ofstream outputFileHandle, outAll; - void process(vector); + string format, outputDir; + int numGroups, processors; + int process(vector, string, string); + int driver(vector, int, int, string, string, vector< vector >&); };