]> git.donarmstrong.com Git - mothur.git/blobdiff - globaldata.hpp
started work on sffinfo command. fixed bug across all paralellized commands if the...
[mothur.git] / globaldata.hpp
index e125e6f3d7032d78d2b1330dece6cf909a6bf320..35415c70c874039c99c758c24a77b7b43eeb6079 100644 (file)
@@ -10,6 +10,7 @@
 #include "tree.h"
 #include "sparsematrix.hpp"
 #include "sequencedb.h"
+#include "nameassignment.hpp"
 
 
 class ListVector;
@@ -42,10 +43,11 @@ public:
        TreeMap* gTreemap;
        SequenceDB* gSequenceDB;
        string inputFileName, argv;
-       bool allLines, runParse, jumble;
+       bool allLines, runParse, jumble, sim;
        vector<string>  Estimators, Groups; //holds estimators to be used
        set<string> labels; //holds labels to be used
        vector<string> Treenames;
+       map<string, string> names;
        
        
        string getPhylipFile();
@@ -73,6 +75,8 @@ public:
        void setOrderFile(string file);
        void setFormat(string); //do we need this?
        
+       NameAssignment* nameMap;
+       
        void clear(); 
        void clearLabels();
        void clearAbund();
@@ -80,8 +84,8 @@ public:
        void newRead();
        
 private:
-
-       string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, treefile, sharedfile, format;
+       MothurOut* m;
+       string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, treefile, sharedfile, format, distfile;
 
        static GlobalData* _uniqueInstance;
        GlobalData( const GlobalData& ); // Disable copy constructor