1 #ifndef CHIMERAPINTAILCOMMAND_H
2 #define CHIMERAPINTAILCOMMAND_H
5 * chimerapintailcommand.h
8 * Created by westcott on 4/1/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
14 #include "command.hpp"
18 /***********************************************************/
20 class ChimeraPintailCommand : public Command {
24 ChimeraPintailCommand(string);
25 ChimeraPintailCommand();
26 ~ChimeraPintailCommand(){}
28 vector<string> setParameters();
29 string getCommandName() { return "chimera.pintail"; }
30 string getCommandCategory() { return "Sequence Processing"; }
31 string getHelpString();
34 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) {}
43 vector<int> processIDS; //processid
44 vector<linePair*> lines;
46 int driver(linePair*, string, string, string);
47 int createProcesses(string, string, string);
50 int driverMPI(int, int, MPI_File&, MPI_File&, MPI_File&, vector<unsigned long int>&);
54 string fastafile, templatefile, consfile, quanfile, maskfile, outputDir, inputDir;
55 int processors, window, increment, numSeqs, templateSeqsLength;
57 vector<string> outputNames;
58 vector<string> fastaFileNames;
61 /***********************************************************/