]> git.donarmstrong.com Git - mothur.git/blobdiff - chimeracheckcommand.h
changes while testing
[mothur.git] / chimeracheckcommand.h
index 84c75ac8b8ff49e85cec777ffb8d2beeec544990..8981a14ff5e6e7813ab54123fe3fa1c8b68a0bc4 100644 (file)
 class ChimeraCheckCommand : public Command {
 public:
        ChimeraCheckCommand(string);
-       ~ChimeraCheckCommand();
-       int execute();
-       void help();
+       ChimeraCheckCommand();
+       ~ChimeraCheckCommand(){}
+       
+       vector<string> 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<int> processIDS;   //processid
        vector<linePair*> lines;
        
@@ -40,17 +52,16 @@ private:
        int createProcesses(string, string);
                
        #ifdef USE_MPI
-       int driverMPI(int, int, MPI_File&, MPI_File&, vector<unsigned long int>&);
+       int driverMPI(int, int, MPI_File&, MPI_File&, vector<unsigned long long>&);
        #endif
 
-       bool abort, svg;
+       bool abort, svg, save;
        string fastafile, templatefile, namefile, outputDir;
        int processors, increment, ksize, numSeqs, templateSeqsLength;
        Chimera* chimera;
        vector<string> fastaFileNames;
        vector<string> nameFileNames;
        vector<string> outputNames;
-               
 };
 
 /***********************************************************/