1 #ifndef CHIMERASLAYERCOMMAND_H
2 #define CHIMERASLAYERCOMMAND_H
5 * chimeraslayercommand.h
8 * Created by westcott on 3/31/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
14 #include "command.hpp"
18 /***********************************************************/
20 class ChimeraSlayerCommand : public Command {
22 ChimeraSlayerCommand(string);
23 ~ChimeraSlayerCommand();
31 unsigned long int start;
33 linePair(unsigned long int i, int j) : start(i), numSeqs(j) {}
35 vector<int> processIDS; //processid
36 vector<linePair*> lines;
38 int driver(linePair*, string, string, string);
39 int createProcesses(string, string, string);
42 int driverMPI(int, int, MPI_File&, MPI_File&, MPI_File&, vector<unsigned long int>&);
46 string fastafile, templatefile, outputDir, search;
47 int processors, window, iters, increment, numwanted, ksize, match, mismatch, parents, minSimilarity, minCoverage, minBS, minSNP, numSeqs, templateSeqsLength;
51 vector<string> outputNames;
52 vector<string> fastaFileNames;
56 /***********************************************************/