]> git.donarmstrong.com Git - mothur.git/blobdiff - phylodiversitycommand.h
added make.fastq command
[mothur.git] / phylodiversitycommand.h
index 7d4b2d89484a88e4bc5016f19e2e24c89ab07a4e..f5e205c4e40ce010239c0cc8beba6798e1a17aa4 100644 (file)
@@ -18,7 +18,12 @@ class PhyloDiversityCommand : public Command {
        
        public:
                PhyloDiversityCommand(string);
+               PhyloDiversityCommand();
                ~PhyloDiversityCommand();
+               vector<string> getRequiredParameters();
+               vector<string> getValidParameters();
+               vector<string> getRequiredFiles();
+               map<string, vector<string> > getOutputFiles() { return outputTypes; }
                int execute();  
                void help();
        
@@ -30,10 +35,11 @@ class PhyloDiversityCommand : public Command {
                bool abort, rarefy, summary, collect, scale;
                string groups, outputDir;
                vector<string> Groups, outputNames; //holds groups to be used, and outputFile names
+               map<string, vector<string> > outputTypes;
                
                void printData(set<int>&, map< string, vector<float> >&, ofstream&, int);
                void printSumData(map< string, vector<float> >&, ofstream&, int);
-               float calcBranchLength(Tree*, int, map< string, set<int> >&);
+               vector<float> calcBranchLength(Tree*, int, map< string, set<int> >&);
                int driver(Tree*, map< string, vector<float> >&, map<string, vector<float> >&, int, int, vector<int>&, set<int>&, ofstream&, ofstream&, bool);
                int createProcesses(vector<int>&, Tree*, map< string, vector<float> >&, map<string, vector<float> >&, int, int, vector<int>&, set<int>&, ofstream&, ofstream&);