]> git.donarmstrong.com Git - mothur.git/blobdiff - unifracweightedcommand.h
finished sub.sample command
[mothur.git] / unifracweightedcommand.h
index 7317c8a43092a5712a06dda00589d1eb4528c649..547e35235a24ac1ab169c918da544301aea7bd13 100644 (file)
@@ -24,7 +24,12 @@ class UnifracWeightedCommand : public Command {
        
        public:
                UnifracWeightedCommand(string);
+               UnifracWeightedCommand();
                ~UnifracWeightedCommand() { if (abort == false) {  delete weighted; delete util; } }
+               vector<string> getRequiredParameters();
+               vector<string> getValidParameters();
+               vector<string> getRequiredFiles();
+               map<string, vector<string> > getOutputFiles() { return outputTypes; }
                int execute();  
                void help();
        
@@ -58,6 +63,7 @@ class UnifracWeightedCommand : public Command {
                bool abort, phylip, random;
                string groups, itersString;
                vector<string> Groups, outputNames; //holds groups to be used
+               map<string, vector<string> > outputTypes;
                int processors;
 
                
@@ -69,8 +75,8 @@ class UnifracWeightedCommand : public Command {
                //void removeValidScoresDuplicates();
                int findIndex(float, int);
                void calculateFreqsCumuls();
-               int createProcesses(Tree*,  vector< vector<string> >, vector<double>&, vector< vector<double> >&);
-               int driver(Tree*, vector< vector<string> >, int, int, vector<double>&, vector< vector<double> >&);
+               int createProcesses(Tree*,  vector< vector<string> >,  vector< vector<double> >&);
+               int driver(Tree*, vector< vector<string> >, int, int,  vector< vector<double> >&);
                
 };