X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedcommand.h;h=2c5ab237a2d39b006dee4eca4e9b9b2c65a57ebe;hb=6d12ed0ba66fb35e9e2781fe3ca361e2293f2476;hp=ca0ddd833636e6550cb48832517cdc96f912977e;hpb=301b61cb98aaa4641f8701f43cf830c0fa44fac1;p=mothur.git diff --git a/sharedcommand.h b/sharedcommand.h index ca0ddd8..2c5ab23 100644 --- a/sharedcommand.h +++ b/sharedcommand.h @@ -26,22 +26,35 @@ class GlobalData; class SharedCommand : public Command { public: - SharedCommand(); + SharedCommand(string); + SharedCommand(); ~SharedCommand(); + vector getRequiredParameters(); + vector getValidParameters(); + vector getRequiredFiles(); + map > getOutputFiles() { return outputTypes; } int execute(); void help() {} private: void printSharedData(vector); + int createMisMatchFile(); + int readOrderFile(); + bool isValidGroup(string, vector); + int eliminateZeroOTUS(vector&); + map > outputTypes; + GlobalData* globaldata; ReadOTUFile* read; SharedListVector* SharedList; InputData* input; - //map::iterator it; - //vector lookup; + GroupMap* groupMap; + vector groups, outputNames, order; ofstream out; - string filename; - bool firsttime; + string filename, fileroot, outputDir; + bool firsttime, pickedGroups; + map filehandles; + map::iterator it3; };