]> git.donarmstrong.com Git - mothur.git/blobdiff - clusterdoturcommand.h
fixed classify.seqs output file name - had issue if reference taxonomy file did not...
[mothur.git] / clusterdoturcommand.h
index da2f4a7c000bb8b2ed0737c2b57dcc5d2569ccae..643551a35c0289efe46a9bd5f2e280566faea31e 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "command.hpp"
 #include "nameassignment.hpp"
-#include "globaldata.hpp"
 #include "rabundvector.hpp"
 #include "sabundvector.hpp"
 #include "listvector.hpp"
@@ -23,16 +22,20 @@ class ClusterDoturCommand : public Command {
 public:
        ClusterDoturCommand(string);
        ClusterDoturCommand();
-       ~ClusterDoturCommand();
-       vector<string> getRequiredParameters();
-       vector<string> getValidParameters();
-       vector<string> getRequiredFiles();
-       map<string, vector<string> > getOutputFiles() { return outputTypes; }
-       int execute();  
-       void help();
+       ~ClusterDoturCommand(){}
+       
+       vector<string> setParameters();
+       string getCommandName()                 { return "cluster.classic";             }
+       string getCommandCategory()             { return "Clustering";                  }
+       string getHelpString(); 
+       string getCitation() { return "Schloss PD, Handelsman J (2005). Introducing DOTUR, a computer program for defining operational taxonomic units and estimating species richness. Appl Environ Microbiol 71: 1501-6. \nhttp://www.mothur.org/wiki/Cluster.classic"; }
+       string getDescription()         { return "cluster your sequences into OTUs using DOTUR’s method"; }
+       
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
        
 private:
-       bool abort, hard;
+       bool abort, hard, sim;
        string method, fileroot, tag, outputDir, phylipfile, namefile;
        double cutoff;
        int precision, length;
@@ -45,7 +48,6 @@ private:
        
        void printData(string label);
        vector<string> outputNames;
-       map<string, vector<string> > outputTypes;
 };
 
 #endif