X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedcommand.h;h=2c5ab237a2d39b006dee4eca4e9b9b2c65a57ebe;hb=4116449310d17a847470b84728cdefee5197e67e;hp=f0c24884f05d36f3ed5981ef0ef75a7c57e17a8a;hpb=462fca6d24fd15ca035358ff70bcfae52c3281c3;p=mothur.git diff --git a/sharedcommand.h b/sharedcommand.h index f0c2488..2c5ab23 100644 --- a/sharedcommand.h +++ b/sharedcommand.h @@ -26,22 +26,33 @@ 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); - void createMisMatchFile(); + int createMisMatchFile(); + int readOrderFile(); + bool isValidGroup(string, vector); + int eliminateZeroOTUS(vector&); + map > outputTypes; + GlobalData* globaldata; ReadOTUFile* read; SharedListVector* SharedList; InputData* input; GroupMap* groupMap; + vector groups, outputNames, order; ofstream out; - string filename, fileroot; - bool firsttime; + string filename, fileroot, outputDir; + bool firsttime, pickedGroups; map filehandles; map::iterator it3;