]> git.donarmstrong.com Git - mothur.git/blobdiff - screenseqscommand.h
started work on sffinfo command. fixed bug across all paralellized commands if the...
[mothur.git] / screenseqscommand.h
index 269275d38409c251ef3f9b0b1c2552602367f348..314e6617f6b2ec76033636ec8a05f722b3274e49 100644 (file)
@@ -21,13 +21,30 @@ public:
        void help();
        
 private:
-       void screenNameGroupFile(set<string>);
-       void screenGroupFile(set<string>);
-       void screenAlignReport(set<string>);
+
+       struct linePair {
+               unsigned long int start;
+               int numSeqs;
+               linePair(unsigned long int i, int j) : start(i), numSeqs(j) {}
+       };
+       vector<int> processIDS;   //processid
+       vector<linePair*> lines;
+
+       int screenNameGroupFile(set<string>);
+       int screenGroupFile(set<string>);
+       int screenAlignReport(set<string>);
        
+       int driver(linePair*, string, string, string, string, set<string>&);
+       int createProcesses(string, string, string, string, set<string>&);
+       
+       #ifdef USE_MPI
+       int driverMPI(int, int, MPI_File&, MPI_File&, MPI_File&, MPI_File&, vector<long>&, set<string>&);
+       #endif
+
        bool abort;
-       string fastafile, namefile, groupfile, alignreport;
-       int startPos, endPos, maxAmbig, maxHomoP, minLength, maxLength;
+       string fastafile, namefile, groupfile, alignreport, outputDir;
+       int startPos, endPos, maxAmbig, maxHomoP, minLength, maxLength, processors;
+       vector<string> outputNames;
 };
 
 #endif