X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=matrixoutputcommand.h;h=2a7908167ac1ede1d402fa26c2f9c30978b31469;hb=8bc3e5b38c2317a1715f53be22fa96455868c281;hp=6c1ce895ac0459b2b1e0358814bc0e30d8bfe51c;hpb=315e38cf393c82be238da5b32574f225a020d25c;p=mothur.git diff --git a/matrixoutputcommand.h b/matrixoutputcommand.h index 6c1ce89..2a79081 100644 --- a/matrixoutputcommand.h +++ b/matrixoutputcommand.h @@ -26,14 +26,19 @@ class GlobalData; class MatrixOutputCommand : public Command { public: - MatrixOutputCommand(string); + MatrixOutputCommand(string); + MatrixOutputCommand(); ~MatrixOutputCommand(); + vector getRequiredParameters(); + vector getValidParameters(); + vector getRequiredFiles(); + map > getOutputFiles() { return outputTypes; } int execute(); void help(); private: void printSims(ostream&); - void process(vector); + int process(vector); GlobalData* globaldata; ReadOTUFile* read; @@ -42,14 +47,15 @@ private: InputData* input; ValidCalculators* validCalculator; vector lookup; - string exportFileName; + string exportFileName, output; int numGroups; ofstream out; bool abort, allLines; set labels; //holds labels to be used string outputFile, calc, groups, label, outputDir; - vector Estimators, Groups; //holds estimators to be used + vector Estimators, Groups, outputNames; //holds estimators to be used + map > outputTypes; };