X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedcommand.h;h=0f3e7ef2289b39f9ab4807ccda5cbe179ff51d04;hb=8f7164a88df624fd0a8d1eddbb3d744463cc9ecb;hp=f0c24884f05d36f3ed5981ef0ef75a7c57e17a8a;hpb=462fca6d24fd15ca035358ff70bcfae52c3281c3;p=mothur.git diff --git a/sharedcommand.h b/sharedcommand.h index f0c2488..0f3e7ef 100644 --- a/sharedcommand.h +++ b/sharedcommand.h @@ -26,22 +26,27 @@ class GlobalData; class SharedCommand : public Command { public: - SharedCommand(); + SharedCommand(string); ~SharedCommand(); int execute(); void help() {} private: void printSharedData(vector); - void createMisMatchFile(); + int createMisMatchFile(); + int readOrderFile(); + bool isValidGroup(string, vector); + int eliminateZeroOTUS(vector&); + 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;