]> git.donarmstrong.com Git - mothur.git/blobdiff - classifyotucommand.h
some alterations to chimera.slayer
[mothur.git] / classifyotucommand.h
index 60bfb29a900dbabedcb49a23523b4b704e98352e..7f15c71c1847421abb88c3202d96e8ca7015837a 100644 (file)
@@ -20,32 +20,33 @@ class ClassifyOtuCommand : public Command {
 public:
        ClassifyOtuCommand(string);
        ClassifyOtuCommand();
-       ~ClassifyOtuCommand();
-       vector<string> getRequiredParameters();
-       vector<string> getValidParameters();
-       vector<string> getRequiredFiles();
-       map<string, vector<string> > getOutputFiles() { return outputTypes; }
-       int execute();
-       void help();
+       ~ClassifyOtuCommand() {}
+       
+       vector<string> setParameters();
+       string getCommandName()                 { return "classify.otu";                }
+       string getCommandCategory()             { return "Phylotype Analysis";  }
+       string getHelpString(); 
+       
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
 
 private:
 
        ListVector* list;
        InputData* input;
-       string listfile, namefile, taxfile, label, outputDir;
+       string listfile, namefile, taxfile, label, outputDir, refTaxonomy, groupfile, basis;
        bool abort, allLines, probs;
        int cutoff;
        set<string> labels; //holds labels to be used
        vector<string> outputNames;
        map<string, string> nameMap;
        map<string, string> taxMap;
-       map<string, vector<string> > outputTypes;
 
        int readNamesFile();
        int readTaxonomyFile();
        void removeConfidences(string&);
        int process(ListVector*);
-       string findConsensusTaxonomy(int, ListVector*, int&);   // returns the name of the "representative" taxonomy of given bin
+       vector<string> findConsensusTaxonomy(int, ListVector*, int&, string&);  // returns the name of the "representative" taxonomy of given bin
        
                                                                                                
 };