]> git.donarmstrong.com Git - mothur.git/blobdiff - clustercommand.h
chimeracode
[mothur.git] / clustercommand.h
index 5dbeb73e2a5e133669f1d5ffd0d61a85731ed9a5..5c21efccb279aeeb447a00087c846859c84eae3f 100644 (file)
@@ -9,10 +9,8 @@
  *
  */
 
-#include <iostream>
-#include <fstream>
-#include "globaldata.hpp"
 #include "command.hpp"
+#include "globaldata.hpp"
 #include "rabundvector.hpp"
 #include "sabundvector.hpp"
 #include "listvector.hpp"
        The cluster() command outputs three files *.list, *.rabund, and *.sabund.   */
 
 
-class GlobalData;
-
 class ClusterCommand : public Command {
        
 public:
-       ClusterCommand();       
+       ClusterCommand(string); 
        ~ClusterCommand();
        int execute();  
+       void help();
        
 private:
        GlobalData* globaldata;
@@ -45,11 +42,18 @@ private:
        RAbundVector* rabund;
        RAbundVector oldRAbund;
        ListVector oldList;
-       
-       string method, fileroot, tag;
+
+       bool abort;
+
+       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);
 };