X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=clustersplitcommand.h;h=c4b236cb12dbfc535c1de5da7840b39f21176fb7;hb=2bb9267aa4b4ecdf8488b06605cc9f3f36fa4332;hp=9bce0995ee9cc9d7f212df0296335487502a3fd9;hpb=3fd6dd6e4f19a458ac2966ee5458787e998a1bde;p=mothur.git diff --git a/clustersplitcommand.h b/clustersplitcommand.h index 9bce099..c4b236c 100644 --- a/clustersplitcommand.h +++ b/clustersplitcommand.h @@ -16,7 +16,6 @@ #include "listvector.hpp" #include "cluster.hpp" #include "sparsematrix.hpp" -#include "globaldata.hpp" class ClusterSplitCommand : public Command { @@ -24,20 +23,22 @@ class ClusterSplitCommand : public Command { public: ClusterSplitCommand(string); ClusterSplitCommand(); - ~ClusterSplitCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~ClusterSplitCommand() {} + vector setParameters(); + string getCommandName() { return "cluster.split"; } + string getCommandCategory() { return "Clustering"; } + string getHelpString(); + string getCitation() { return "Schloss PD, Westcott SL (2011). Assessing and improving methods used in OTU-based approaches for 16S rRNA gene sequence analysis. Appl Environ Microbiol. \nhttp://www.mothur.org/wiki/Cluster.split"; } + string getDescription() { return "splits your sequences by distance or taxonomy then clusters into OTUs"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; vector processIDS; //processid vector outputNames; - map > outputTypes; - + string method, fileroot, tag, outputDir, phylipfile, columnfile, namefile, distfile, format, showabund, timing, splitmethod, taxFile, fastafile; double cutoff, splitcutoff; int precision, length, processors, taxLevelCutoff;