]> git.donarmstrong.com Git - mothur.git/blobdiff - globaldata.hpp
modified mpi code to save ram by writing out every 10 seqs.
[mothur.git] / globaldata.hpp
index 759bcae6fd7631988bf15407e7234330c2c9f659..b4b8e0d33912acdd9790a49bc276dc8deef4d6d8 100644 (file)
@@ -10,6 +10,7 @@
 #include "tree.h"
 #include "sparsematrix.hpp"
 #include "sequencedb.h"
+#include "nameassignment.hpp"
 
 
 class ListVector;
@@ -44,9 +45,9 @@ public:
        string inputFileName, argv;
        bool allLines, runParse, jumble;
        vector<string>  Estimators, Groups; //holds estimators to be used
-       set<int> lines; //hold lines to be used
        set<string> labels; //holds labels to be used
        vector<string> Treenames;
+       map<string, string> names;
        
        
        string getPhylipFile();
@@ -74,6 +75,8 @@ public:
        void setOrderFile(string file);
        void setFormat(string); //do we need this?
        
+       NameAssignment* nameMap;
+       
        void clear(); 
        void clearLabels();
        void clearAbund();
@@ -81,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