]> git.donarmstrong.com Git - mothur.git/blobdiff - clustercommand.h
added pairwise.seqs
[mothur.git] / clustercommand.h
index 37b9edb80224de6d7b7be0f722152e0bdd782b11..787f835a0f33d1d157aeab41568286c28a752520 100644 (file)
        The cluster() command outputs three files *.list, *.rabund, and *.sabund.   */
 
 
-class GlobalData;
-
 class ClusterCommand : public Command {
        
 public:
-       ClusterCommand(string); 
+       ClusterCommand(string);
+       ClusterCommand();
        ~ClusterCommand();
+       vector<string> getRequiredParameters();
+       vector<string> getValidParameters();
+       vector<string> getRequiredFiles();
+       map<string, vector<string> > getOutputFiles() { return outputTypes; }
        int execute();  
        void help();
        
@@ -44,17 +47,22 @@ private:
        RAbundVector* rabund;
        RAbundVector oldRAbund;
        ListVector oldList;
-       OptionParser* parser;
-       map<string, string> parameters;
-       map<string, string>::iterator it;
-       bool abort;
 
-       string method, fileroot, tag;
+       bool abort, hard;
+
+       string method, fileroot, tag, outputDir;
        double cutoff;
+       string showabund, timing;
        int precision, length;
        ofstream sabundFile, rabundFile, listFile;
+
+       bool print_start;
+       time_t start;
+       unsigned long loops;
        
        void printData(string label);
+       vector<string> outputNames;
+       map<string, vector<string> > outputTypes;
 };
 
 #endif