X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=chimeracheckcommand.h;h=8981a14ff5e6e7813ab54123fe3fa1c8b68a0bc4;hp=89dc6aa7144175a6130743fe97fec9eac466c350;hb=615301e57c25e241356a9c2380648d117709458d;hpb=e0fbf58358a72f20352cf2a43922ab6b5bdf0cf8 diff --git a/chimeracheckcommand.h b/chimeracheckcommand.h index 89dc6aa..8981a14 100644 --- a/chimeracheckcommand.h +++ b/chimeracheckcommand.h @@ -21,18 +21,30 @@ class ChimeraCheckCommand : public Command { public: ChimeraCheckCommand(string); - ~ChimeraCheckCommand(); - int execute(); - void help(); + ChimeraCheckCommand(); + ~ChimeraCheckCommand(){} + + vector setParameters(); + string getCommandName() { return "chimera.check"; } + string getCommandCategory() { return "Sequence Processing"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "CHIMERA_CHECK version 2.7 written by Niels Larsen (http://wdcm.nig.ac.jp/RDP/docs/chimera_doc.html) \nhttp://www.mothur.org/wiki/Chimera.check"; } + string getDescription() { return "detect chimeric sequences"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + - private: struct linePair { - unsigned long int start; - int numSeqs; - linePair(unsigned long int i, int j) : start(i), numSeqs(j) {} + unsigned long long start; + unsigned long long end; + linePair(unsigned long long i, unsigned long long j) : start(i), end(j) {} }; + vector processIDS; //processid vector lines; @@ -40,17 +52,16 @@ private: int createProcesses(string, string); #ifdef USE_MPI - int driverMPI(int, int, MPI_File&, MPI_File&, vector&); + int driverMPI(int, int, MPI_File&, MPI_File&, vector&); #endif - bool abort, svg; + bool abort, svg, save; string fastafile, templatefile, namefile, outputDir; int processors, increment, ksize, numSeqs, templateSeqsLength; Chimera* chimera; vector fastaFileNames; vector nameFileNames; vector outputNames; - }; /***********************************************************/