X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sharedcommand.h;h=39ef9a7a1ebc17f830103cf33d84520aca975f97;hp=1100c3d30afc344119538e89e7c40a8dfa839578;hb=615301e57c25e241356a9c2380648d117709458d;hpb=49d2b7459c5027557564b21e9487dadafbbbdc96 diff --git a/sharedcommand.h b/sharedcommand.h index 1100c3d..39ef9a7 100644 --- a/sharedcommand.h +++ b/sharedcommand.h @@ -30,8 +30,9 @@ public: vector setParameters(); string getCommandName() { return "make.shared"; } string getCommandCategory() { return "OTU-Based Approaches"; } - string getOutputFileNameTag(string, string); + string getHelpString(); + string getOutputPattern(string); string getCitation() { return "http://www.mothur.org/wiki/Make.shared"; } string getDescription() { return "make a shared file from a list and group file"; } @@ -40,7 +41,6 @@ public: private: void printSharedData(vector, ofstream&); - int createMisMatchFile(SharedListVector*, GroupMap*); int readOrderFile(); bool isValidGroup(string, vector); int eliminateZeroOTUS(vector&); @@ -48,13 +48,13 @@ private: int createSharedFromListGroup(string); int createSharedFromBiom(string); string getTag(string&); - vector readRows(string, ifstream&, int&); + vector readRows(string, int&); int getDims(string, int&, int&); - vector readData(string, string, ifstream&, vector&, int); + vector readData(string, string, string, vector&, int); vector Groups, outputNames, order; set labels; - string fileroot, outputDir, listfile, groupfile, biomfile, ordergroupfile; + string fileroot, outputDir, listfile, groupfile, biomfile, ordergroupfile, countfile; bool firsttime, pickedGroups, abort, allLines; map filehandles; map::iterator it3;