X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=aligncommand.h;h=1410626a42e3a407289f18565dd0e64a3d4d3cd4;hb=37eac2026d91179acda0494c4dcca22f176551b9;hp=186ca63b15cbd09f881d29041de379dc5cf6b6b9;hpb=956cdff34f2d609a7736838b1631cd7957580b8b;p=mothur.git diff --git a/aligncommand.h b/aligncommand.h index 186ca63..1410626 100644 --- a/aligncommand.h +++ b/aligncommand.h @@ -20,19 +20,25 @@ class AlignCommand : public Command { public: AlignCommand(string); + AlignCommand(); ~AlignCommand(); + vector getRequiredParameters(); + vector getValidParameters(); + vector getRequiredFiles(); + map > getOutputFiles() { return outputTypes; } int execute(); void help(); private: struct linePair { unsigned long int start; - int numSeqs; - linePair(unsigned long int i, int j) : start(i), numSeqs(j) {} + unsigned long int end; + linePair(unsigned long int i, unsigned long int j) : start(i), end(j) {} }; vector processIDS; //processid vector lines; bool MPIWroteAccnos; + map > outputTypes; AlignmentDB* templateDB; Alignment* alignment; @@ -43,13 +49,14 @@ private: void appendReportFiles(string, string); #ifdef USE_MPI - int driverMPI(int, int, MPI_File&, MPI_File&, MPI_File&, MPI_File&, vector&); + int driverMPI(int, int, MPI_File&, MPI_File&, MPI_File&, MPI_File&, vector&); #endif string candidateFileName, templateFileName, distanceFileName, search, align, outputDir; float match, misMatch, gapOpen, gapExtend, threshold; int processors, kmerSize; vector candidateFileNames; + vector outputNames; bool abort, flip; };