X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getsharedotucommand.h;h=f03b5ddcf6b5de00eba42210d39c74e46848d73c;hb=1a968f34ae2d2680eaf189a197d1a21b8dfd6c03;hp=e2026d71442b4a1c461ca1028c7dcd6fc4071986;hpb=49d2b7459c5027557564b21e9487dadafbbbdc96;p=mothur.git diff --git a/getsharedotucommand.h b/getsharedotucommand.h index e2026d7..f03b5dd 100644 --- a/getsharedotucommand.h +++ b/getsharedotucommand.h @@ -14,6 +14,8 @@ #include "listvector.hpp" #include "sequence.hpp" #include "groupmap.h" +#include "sharedrabundvector.h" +#include "inputdata.h" //********************************************************************************************************************** class GetSharedOTUCommand : public Command { @@ -28,8 +30,9 @@ class GetSharedOTUCommand : public Command { string getCommandName() { return "get.sharedseqs"; } string getCommandCategory() { return "OTU-Based Approaches"; } string getRequiredCommand() { return "none"; } - string getOutputFileNameTag(string, string); + 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"; } @@ -43,7 +46,7 @@ class GetSharedOTUCommand : public Command { GroupMap* groupMap; set labels; - string fastafile, label, groups, listfile, groupfile, output, userGroups, outputDir, format; + string fastafile, label, groups, listfile, groupfile, sharedfile, output, userGroups, outputDir, format; bool abort, allLines, unique; vector Groups; map groupFinder; @@ -52,6 +55,8 @@ class GetSharedOTUCommand : public Command { vector outputNames; int process(ListVector*); + int process(vector&); + int runShared(); }; //**********************************************************************************************************************