]> git.donarmstrong.com Git - mothur.git/blobdiff - matrixoutputcommand.h
broke up globaldata and moved error checking and help into commands
[mothur.git] / matrixoutputcommand.h
index 547b567c62e67c01d2dcce2b4cd573c5ad1c08bc..d6099326a69ac5ef1daf95ce192bc3cad1fd712f 100644 (file)
@@ -15,6 +15,8 @@
 #include "readotu.h"
 #include "validcalculator.h"
 
+// aka. dist.shared()
+
 /* This command create a tree file for each similarity calculator at distance level, using various calculators to find the similiarity between groups. 
        The user can select the lines or labels they wish to use as well as the groups they would like included.
        They can also use as many or as few calculators as they wish. */
@@ -24,9 +26,10 @@ class GlobalData;
 class MatrixOutputCommand : public Command {
        
 public:
-       MatrixOutputCommand();  
+       MatrixOutputCommand(string);    
        ~MatrixOutputCommand();
        int execute();  
+       void help();
        
 private:
        void printSims(ostream&);
@@ -42,6 +45,14 @@ private:
        string exportFileName;
        int numGroups;
        ofstream out;
+       OptionParser* parser;
+       map<string, string> parameters;
+       map<string, string>::iterator it;
+       bool abort, allLines;
+       set<int> lines; //hold lines to be used
+       set<string> labels; //holds labels to be used
+       string outputFile, calc, groups, line, label;
+       vector<string>  Estimators, Groups; //holds estimators to be used
        
 
 };