]> git.donarmstrong.com Git - mothur.git/blobdiff - readdistcommand.h
added code to check path for uchime and catchall executables
[mothur.git] / readdistcommand.h
index 981afa339308199105a0082c8458dd0b1ed7295c..afe077d4e0e16c7763dc8304130242d2e0af1d4e 100644 (file)
@@ -21,24 +21,36 @@ namefile=yourNameFile, cutoff=yourCutoff, precision=yourPrecision). The phylipfi
 If you do not provide a cutoff value 10.00 is assumed. If you do not provide a precision value then 100 is assumed.  */
 
 class NameAssignment;
-class GlobalData;
-
 
 class ReadDistCommand : public Command {
 public:
-       ReadDistCommand();
-       ~ReadDistCommand();
-       int execute();
+       ReadDistCommand(string);
+       ReadDistCommand() { abort = true; calledHelp = true; }
+       ~ReadDistCommand() {}
+       
+       vector<string> setParameters() {  return outputNames; } //dummy doesn't really do anything
+       string getCommandName()                 { return "read.dist";   }
+       string getCommandCategory()             { return "Hidden";      }
+       string getHelpString() { return "This command is no longer available. You can provide your distance files directly to the downstream commands like cluster."; } 
+       string getCitation() { return "http://www.mothur.org/wiki/Read.dist"; }
+       string getDescription()         { return "read.dist"; }
+
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
        
 private:
-       GlobalData* globaldata;
        double cutoff;
        int precision;
        ReadMatrix* read;
        FullMatrix* matrix;
        GroupMap* groupMap;
-       string filename, format, method;
+       string distFileName, format, method;
+       string phylipfile, columnfile, namefile, groupfile, outputDir;
        NameAssignment* nameMap;
+       vector<string> outputNames;
+
+       bool abort, sim;
+
 };
 
 #endif