X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=subsamplecommand.h;h=c746e144119dc4d4c0d45ef10872b1f7c9951129;hb=6ede3bf5c0a9eedb23f24577a97da81ab3e1f7df;hp=5656dab49e7ac7d58665369e58c1950c17b93542;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77;p=mothur.git diff --git a/subsamplecommand.h b/subsamplecommand.h index 5656dab..c746e14 100644 --- a/subsamplecommand.h +++ b/subsamplecommand.h @@ -28,9 +28,11 @@ public: vector setParameters(); string getCommandName() { return "sub.sample"; } string getCommandCategory() { return "General"; } + string getOutputFileNameTag(string, string); string getHelpString(); string getCitation() { return "http://www.mothur.org/wiki/Sub.sample"; } - + string getDescription() { return "get a sampling of sequences from a list, shared, rabund, sabund or fasta file"; } + int execute(); void help() { m->mothurOut(getHelpString()); } @@ -44,13 +46,12 @@ private: vector names; map > nameMap; - int eliminateZeroOTUS(vector&); int getSubSampleShared(); int getSubSampleList(); int getSubSampleRabund(); int getSubSampleSabund(); int getSubSampleFasta(); - int processShared(vector&, ofstream&); + int processShared(vector&); int processRabund(RAbundVector*&, ofstream&); int processSabund(SAbundVector*&, ofstream&); int processList(ListVector*&, ofstream&, set&);