]> git.donarmstrong.com Git - mothur.git/blobdiff - getgroupcommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / getgroupcommand.h
index fb3e810666320ea2cd1c32d4b14b0c2cac08c995..79dd8057216ec17fcd706d5a6a480c461161a458 100644 (file)
  */
 
 #include "command.hpp"
-#include "globaldata.hpp"
 
 class GetgroupCommand : public Command {
 public:
        GetgroupCommand(string);
        GetgroupCommand();
-       ~GetgroupCommand();
-       vector<string> getRequiredParameters();
-       vector<string> getValidParameters();
-       vector<string> getRequiredFiles();
-       map<string, vector<string> > getOutputFiles() { return outputTypes; }
-       int execute();
-       void help();
+       ~GetgroupCommand() {}
+       
+       vector<string> setParameters();
+       string getCommandName()                 { return "get.group";                           }
+       string getCommandCategory()             { return "OTU-Based Approaches";        }
+       string getHelpString(); 
+       
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
+       
        
 private:
-       GlobalData* globaldata;
-       GroupMap* groupMap;
-       string outputFile, sharedfile;
+       
+       string outputFile, sharedfile, outputDir;
        vector<string> outputNames;
-       map<string, vector<string> > outputTypes;
        ofstream out;
        ifstream in;
        bool abort;