]> git.donarmstrong.com Git - mothur.git/blobdiff - phylodiversitycommand.h
added make.fastq command
[mothur.git] / phylodiversitycommand.h
index 0aafb8dbc53305a327f7a2b825a2b9c74df8bdb9..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();
        
@@ -26,13 +31,18 @@ class PhyloDiversityCommand : public Command {
                GlobalData* globaldata;
                
                float freq;
-               int iters;  
-               bool abort, rarefy;
+               int iters, processors;  
+               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> >&, string);
-               float calcBranchLength(Tree*, int);
+               void printData(set<int>&, map< string, vector<float> >&, ofstream&, int);
+               void printSumData(map< string, vector<float> >&, ofstream&, 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&);
+
 };
 
 #endif