X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedcommand.h;h=0f3e7ef2289b39f9ab4807ccda5cbe179ff51d04;hb=5df1b242d9c2b604eb414da44b28de81d52567d7;hp=e5be50a8b9f80488449db640e65721d32f395a5d;hpb=753dc84cf289b1d5dc0ca5b0c043640927aa951a;p=mothur.git diff --git a/sharedcommand.h b/sharedcommand.h index e5be50a..0f3e7ef 100644 --- a/sharedcommand.h +++ b/sharedcommand.h @@ -12,7 +12,6 @@ #include "command.hpp" #include "sharedlistvector.h" #include "inputdata.h" -#include "shared.h" #include "readotu.h" /* The shared() command: @@ -27,22 +26,29 @@ class GlobalData; class SharedCommand : public Command { public: - SharedCommand(); + SharedCommand(string); ~SharedCommand(); int execute(); void help() {} private: - void printSharedData(); + void printSharedData(vector); + int createMisMatchFile(); + int readOrderFile(); + bool isValidGroup(string, vector); + int eliminateZeroOTUS(vector&); + GlobalData* globaldata; ReadOTUFile* read; SharedListVector* SharedList; InputData* input; - Shared* shared; - map::iterator it; - //vector lookup; + GroupMap* groupMap; + vector groups, outputNames, order; ofstream out; - string filename; + string filename, fileroot, outputDir; + bool firsttime, pickedGroups; + map filehandles; + map::iterator it3; };