]> git.donarmstrong.com Git - mothur.git/blobdiff - distancecommand.h
working on megastats
[mothur.git] / distancecommand.h
index c7aaf46137a97715baee381d56824482a0e08e80..bf463a00d238cd6da3b21213f0d393ee6ff895c9 100644 (file)
@@ -20,7 +20,7 @@
 class DistanceCommand : public Command {
 
 public:
-       DistanceCommand(string);        
+       DistanceCommand(string);
        ~DistanceCommand();
        int execute();  
        void help();
@@ -34,8 +34,9 @@ private:
        Dist* distCalculator;
        SequenceDB alignDB;
 
-       string countends, phylip, fastafile, calc, outputDir;
-       int processors;
+       string countends, output, fastafile, calc, outputDir, oldfastafile, column, compress;
+
+       int processors, numNewFasta;
        float cutoff;
        map<int, int> processIDS;   //end line, processid
        vector<linePair*> lines;
@@ -43,9 +44,20 @@ private:
        bool abort;
        vector<string>  Estimators; //holds estimators to be used
        
-       //void appendFiles(string, string);
+       //void m->appendFiles(string, string);
        void createProcesses(string);
        int driver(/*Dist*, SequenceDB, */int, int, string, float);
+       int driver(int, int, string, string);
+       
+       #ifdef USE_MPI 
+       int driverMPI(int, int, MPI_File&, float);
+       int driverMPI(int, int, string, unsigned long int&);
+       int driverMPI(int, int, string, unsigned long int&, string);
+       #endif
+       
+       //int convertMatrix(string);
+       bool sanityCheck();
+       //int convertToLowerTriangle(string);
 
 };