X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sharedcommand.h;h=a916c854280c74d035968bfc84ec4ab88a4f70e6;hp=1100c3d30afc344119538e89e7c40a8dfa839578;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=49d2b7459c5027557564b21e9487dadafbbbdc96 diff --git a/sharedcommand.h b/sharedcommand.h index 1100c3d..a916c85 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,21 +41,20 @@ public: private: void printSharedData(vector, ofstream&); - int createMisMatchFile(SharedListVector*, GroupMap*); int readOrderFile(); bool isValidGroup(string, vector); int eliminateZeroOTUS(vector&); int ListGroupSameSeqs(vector&, SharedListVector*); - int createSharedFromListGroup(string); - int createSharedFromBiom(string); + int createSharedFromListGroup(); + int createSharedFromBiom(); 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;