X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getotulabelscommand.h;h=06ad27162535bb2aacf2ddbba48c1df2201cbf34;hp=8cfe8b96617516b00bf4809963a361695c457a5c;hb=df7e3ff9f68ef157b0328a2d353c3258c5d45d89;hpb=49d2b7459c5027557564b21e9487dadafbbbdc96 diff --git a/getotulabelscommand.h b/getotulabelscommand.h index 8cfe8b9..06ad271 100644 --- a/getotulabelscommand.h +++ b/getotulabelscommand.h @@ -11,6 +11,9 @@ #include "command.hpp" +#include "inputdata.h" +#include "listvector.hpp" +#include "sharedrabundvector.h" /**************************************************************************************************/ @@ -23,8 +26,9 @@ public: vector setParameters(); string getCommandName() { return "get.otulabels"; } string getCommandCategory() { return "OTU-Based Approaches"; } - string getOutputFileNameTag(string, string); + string getHelpString(); + string getOutputPattern(string); string getCitation() { return "http://www.mothur.org/wiki/Get.otulabels"; } string getDescription() { return "Can be used with output from classify.otu, otu.association, or corr.axes to select specific otus."; } @@ -33,13 +37,19 @@ public: private: bool abort; - string outputDir, accnosfile, constaxonomyfile, otucorrfile, corraxesfile; + string outputDir, accnosfile, constaxonomyfile, otucorrfile, corraxesfile, listfile, sharedfile, label; vector outputNames; set labels; + ListVector* list; + vector lookup; int readClassifyOtu(); int readOtuAssociation(); int readCorrAxes(); + int readList(); + int readShared(); + int getListVector(); + int getShared(); }; /**************************************************************************************************/