]> git.donarmstrong.com Git - mothur.git/blobdiff - matrixoutputcommand.h
paralellized seq.error and dist.shared added some error checks to libshuff and dist...
[mothur.git] / matrixoutputcommand.h
index 2c403aa1570895546ea1cbeb8e6c2e46d406c7e3..b42cfb92c62a74fdb55b7902c3bfa9644c7359f7 100644 (file)
@@ -38,21 +38,30 @@ public:
        void help() { m->mothurOut(getHelpString()); }  
        
 private:
-       void printSims(ostream&);
+       struct linePair {
+               int start;
+               int end;
+       };
+       vector<linePair> lines;
+       
+       void printSims(ostream&, vector< vector<float> >&);
        int process(vector<SharedRAbundVector*>);
        
        vector<Calculator*> matrixCalculators;
-       vector< vector<float> > simMatrix;
+       //vector< vector<float> > simMatrix;
        InputData* input;
        vector<SharedRAbundVector*> lookup;
        string exportFileName, output, sharedfile;
-       int numGroups;
+       int numGroups, processors;
        ofstream out;
 
        bool abort, allLines;
        set<string> labels; //holds labels to be used
        string outputFile, calc, groups, label, outputDir;
        vector<string>  Estimators, Groups, outputNames; //holds estimators to be used
+       int process(vector<SharedRAbundVector*>, string, string);
+       int driver(vector<SharedRAbundVector*>, int, int, vector< vector<seqDist> >&);
+
 };