]> git.donarmstrong.com Git - mothur.git/blobdiff - readtreecommand.h
added design parameter to the indicator command
[mothur.git] / readtreecommand.h
index 2ee72a15e591374d1df21a4aed7ff2f6a0457cde..97391d0982bbadb437ebe13318c47babeca4a981 100644 (file)
@@ -18,15 +18,29 @@ class GlobalData;
 
 class ReadTreeCommand : public Command {
 public:
-       ReadTreeCommand();
+       ReadTreeCommand(string);
+       ReadTreeCommand() {}
        ~ReadTreeCommand();
+       vector<string> getRequiredParameters();
+       vector<string> getValidParameters();
+       vector<string> getRequiredFiles();
+       map<string, vector<string> > getOutputFiles() { return outputTypes; }
        int execute();
+       void help();
        
 private:
        GlobalData* globaldata;
        ReadTree* read;
        TreeMap* treeMap;
-       string filename;
+       string filename, treefile, groupfile, namefile;
+       bool abort;
+       map<string, string> nameMap;
+       vector<string> outputNames;
+       map<string, vector<string> > outputTypes;
+       
+       int readNamesFile();
+       int numUniquesInName;
+
 };