]> git.donarmstrong.com Git - mothur.git/blobdiff - readdistcommand.h
*** empty log message ***
[mothur.git] / readdistcommand.h
index bd4a913d61fb22799c682387b73bd38440b10af0..2f05ddbd3169d4cd4f204245ca2a0dd88571cb8e 100644 (file)
@@ -11,6 +11,8 @@
 
 #include "command.hpp"
 #include "readmatrix.hpp"
+#include "fullmatrix.h"
+#include "groupmap.h"
 
 /* The read.dist command is used to read a distance matrix file.  
 The read.dist command parameter options are phylipfile, columnfile, namefile, cutoff and precision. 
@@ -24,17 +26,31 @@ class GlobalData;
 
 class ReadDistCommand : public Command {
 public:
-       ReadDistCommand();
+       ReadDistCommand(string);
+       ReadDistCommand() { abort = true; calledHelp = true; }
        ~ReadDistCommand();
+       vector<string> getRequiredParameters();
+       vector<string> getValidParameters();
+       vector<string> getRequiredFiles();
+       map<string, vector<string> > getOutputFiles() { return outputTypes; }
        int execute();
+       void help();
        
 private:
        GlobalData* globaldata;
        double cutoff;
        int precision;
        ReadMatrix* read;
-       string filename, format, method;
+       FullMatrix* matrix;
+       GroupMap* groupMap;
+       string distFileName, format, method;
+       string phylipfile, columnfile, namefile, groupfile, outputDir;
        NameAssignment* nameMap;
+       vector<string> outputNames;
+       map<string, vector<string> > outputTypes;
+
+       bool abort, sim;
+
 };
 
 #endif