]> git.donarmstrong.com Git - mothur.git/blobdiff - removerarecommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / removerarecommand.h
index 388ec2d762e763ef1623d573eb90fa4074dbb039..fa22f7a53e6c5149af4c1c1a51504cfb77e9b04e 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "command.hpp"
 #include "listvector.hpp"
-#include "globaldata.hpp"
+
 
 class RemoveRareCommand : public Command {
        
@@ -22,21 +22,21 @@ public:
        RemoveRareCommand(string);      
        RemoveRareCommand();
        ~RemoveRareCommand(){}
-       vector<string> getRequiredParameters();
-       vector<string> getValidParameters();
-       vector<string> getRequiredFiles();
-       map<string, vector<string> > getOutputFiles() { return outputTypes; }
-       int execute();
-       void help();    
+       
+       vector<string> setParameters();
+       string getCommandName()                 { return "remove.rare";                         }
+       string getCommandCategory()             { return "OTU-Based Approaches";        }
+       string getHelpString(); 
+       
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
        
 private:
-       GlobalData* globaldata;
        string sabundfile, rabundfile, sharedfile, groupfile, listfile, outputDir, groups, label;
        int nseqs, allLines;
        bool abort, byGroup;
        vector<string> outputNames, Groups;
        set<string> labels;
-       map<string, vector<string> > outputTypes;
        
        int processSabund();
        int processRabund();