X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getsharedotucommand.h;h=e2026d71442b4a1c461ca1028c7dcd6fc4071986;hb=49d2b7459c5027557564b21e9487dadafbbbdc96;hp=3b14b39bb70e8939641dea69c2e53bcb98a82ffa;hpb=c82900be3ceed3d9bc491bdc98b1819ef85c1af7;p=mothur.git diff --git a/getsharedotucommand.h b/getsharedotucommand.h index 3b14b39..e2026d7 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,25 +21,37 @@ 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"; } + string getOutputFileNameTag(string, string); + string getHelpString(); + 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()); } + + private: - - GlobalData* globaldata; ListVector* list; GroupMap* groupMap; set labels; - string fastafile, label, groups, listfile, groupfile, output; + string fastafile, label, groups, listfile, groupfile, output, userGroups, outputDir, format; bool abort, allLines, unique; vector Groups; map groupFinder; map::iterator it; vector seqs; + vector outputNames; - void process(ListVector*); + int process(ListVector*); }; //**********************************************************************************************************************