X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=screenseqscommand.h;h=f1b72051250d07a389ed332b0690cbcda3b807c0;hb=b8f3e71c8a0310e25261464d27e6fcfe891483b0;hp=5b44091dbd07d044f0de288490ff0d4633495008;hpb=315e38cf393c82be238da5b32574f225a020d25c;p=mothur.git diff --git a/screenseqscommand.h b/screenseqscommand.h index 5b44091..f1b7205 100644 --- a/screenseqscommand.h +++ b/screenseqscommand.h @@ -21,13 +21,30 @@ public: void help(); private: - void screenNameGroupFile(set); - void screenGroupFile(set); - void screenAlignReport(set); + + struct linePair { + int start; + int numSeqs; + linePair(long int i, int j) : start(i), numSeqs(j) {} + }; + vector processIDS; //processid + vector lines; + + int screenNameGroupFile(set); + int screenGroupFile(set); + int screenAlignReport(set); + int driver(linePair*, string, string, string, string, set&); + int createProcesses(string, string, string, string, set&); + + #ifdef USE_MPI + int driverMPI(int, int, MPI_File&, MPI_File&, MPI_File&, MPI_File&, vector&, set&); + #endif + bool abort; string fastafile, namefile, groupfile, alignreport, outputDir; - int startPos, endPos, maxAmbig, maxHomoP, minLength, maxLength; + int startPos, endPos, maxAmbig, maxHomoP, minLength, maxLength, processors; + vector outputNames; }; #endif