X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=getoturepcommand.h;h=874e43ce5a8f45178a073b9d8e8e00fa8852deb0;hb=257eaa172451ede9d63a0715f6cdb7336a52996b;hp=86c5434034aae9c7900428bb8ff323385f89b837;hpb=13193e6688c91b6a25e39d357caa7f4b4bf5de5f;p=mothur.git diff --git a/getoturepcommand.h b/getoturepcommand.h index 86c5434..874e43c 100644 --- a/getoturepcommand.h +++ b/getoturepcommand.h @@ -39,7 +39,12 @@ class GetOTURepCommand : public Command { public: GetOTURepCommand(string); + GetOTURepCommand(); ~GetOTURepCommand(); + vector getRequiredParameters(); + vector getValidParameters(); + vector getRequiredFiles(); + map > getOutputFiles() { return outputTypes; } int execute(); void help(); @@ -53,24 +58,25 @@ private: ReadMatrix* readMatrix; FormatMatrix* formatMatrix; NameAssignment* nameMap; - string filename, fastafile, listfile, namefile, groupfile, label, sorted, phylipfile, columnfile, distFile, format, outputDir; + string filename, fastafile, listfile, namefile, groupfile, label, sorted, phylipfile, columnfile, distFile, format, outputDir, groups; ofstream out; ifstream in, inNames, inRow; bool abort, allLines, groupError, large; set labels; //holds labels to be used map nameToIndex; //maps sequence name to index in sparsematrix - vector outputNames; + vector outputNames, Groups; map outputNameFiles; float cutoff; int precision; vector seqVec; // contains maps with sequence index and distance // for all distances related to a certain sequence vector rowPositions; + map > outputTypes; void readNamesFile(); int process(ListVector*); SeqMap getMap(int); - string findRep(int, ListVector*); // returns the name of the "representative" sequence of given bin + string findRep(vector); // returns the name of the "representative" sequence of given bin or subset of a bin, for groups int processNames(string, string);