X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getsharedotucommand.h;h=583c2e001a00607cd97771e8fdfa42cbd8866c9f;hb=81ad9ebabe7f951eb2d1c922b1342e9d6e521c4e;hp=c12cc13ab074abcd78b259ce9fff9606ecc3509d;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0;p=mothur.git diff --git a/getsharedotucommand.h b/getsharedotucommand.h index c12cc13..583c2e0 100644 --- a/getsharedotucommand.h +++ b/getsharedotucommand.h @@ -14,7 +14,6 @@ #include "listvector.hpp" #include "sequence.hpp" #include "groupmap.h" -#include "globaldata.hpp" //********************************************************************************************************************** class GetSharedOTUCommand : public Command { @@ -22,18 +21,30 @@ class GetSharedOTUCommand : public Command { public: GetSharedOTUCommand(string); - ~GetSharedOTUCommand(); - int execute(); - void help(); + GetSharedOTUCommand(); + ~GetSharedOTUCommand() {} + + vector setParameters(); + string getCommandName() { return "get.sharedseqs"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getRequiredCommand() { return "none"; } - private: + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Get.sharedseqs"; } + string getDescription() { return "identifies sequences that are either unique or shared by specific groups"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + + - GlobalData* globaldata; + private: ListVector* list; GroupMap* groupMap; set labels; - string fastafile, label, groups, listfile, groupfile, output, userGroups, outputDir; + string fastafile, label, groups, listfile, groupfile, output, userGroups, outputDir, format; bool abort, allLines, unique; vector Groups; map groupFinder; @@ -41,7 +52,7 @@ class GetSharedOTUCommand : public Command { vector seqs; vector outputNames; - void process(ListVector*); + int process(ListVector*); }; //**********************************************************************************************************************