1 #ifndef CHIMERACCODECOMMAND_H
2 #define CHIMERACCODECOMMAND_H
5 * chimeraccodecommand.h
8 * Created by westcott on 3/30/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
14 #include "command.hpp"
18 /***********************************************************/
20 class ChimeraCcodeCommand : public Command {
22 ChimeraCcodeCommand(string);
23 ChimeraCcodeCommand();
24 ~ChimeraCcodeCommand(){}
26 vector<string> setParameters();
27 string getCommandName() { return "chimera.ccode"; }
28 string getCommandCategory() { return "Sequence Processing"; }
29 string getHelpString();
30 string getCitation() { return "Gonzalez JM, Zimmermann J, Saiz-Jimenez C (2005). Evaluating putative chimeric sequences from PCR-amplified products. Bioinformatics 21: 333-7. \nhttp://www.mothur.org/wiki/Chimera.ccode"; }
33 void help() { m->mothurOut(getHelpString()); }
38 unsigned long int start;
39 unsigned long int end;
40 linePair(unsigned long int i, unsigned long int j) : start(i), end(j) {}
42 vector<int> processIDS; //processid
43 vector<linePair*> lines;
45 int driver(linePair*, string, string, string);
46 int createProcesses(string, string, string);
49 int driverMPI(int, int, MPI_File&, MPI_File&, MPI_File&, vector<unsigned long int>&);
53 string fastafile, templatefile, outputDir, maskfile;
54 int processors, window, numwanted, numSeqs, templateSeqsLength;
56 vector<string> fastaFileNames;
57 vector<string> outputNames;
60 /***********************************************************/