1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
#ifndef CHOPSEQSCOMMAND_H
#define CHOPSEQSCOMMAND_H
/*
* chopseqscommand.h
* Mothur
*
* Created by westcott on 5/10/10.
* Copyright 2010 Schloss Lab. All rights reserved.
*
*/
#include "command.hpp"
#include "sequence.hpp"
#include "qualityscores.h"
#include "writer.h"
#include "fastqread.h"
class ChopSeqsCommand : public Command {
public:
ChopSeqsCommand(string);
~ChopSeqsCommand(){};
vector<string> setParameters();
string getCommandName() { return "chop.seqs"; }
string getCommandCategory() { return "Sequence Processing"; }
string getHelpString();
string getOutputPattern(string);
string getCitation() { return "http://www.mothur.org/wiki/Chops.seqs"; }
string getDescription() { return "trim sequence length"; }
int execute();
void help() { m->mothurOut(getHelpString()); }
private:
string fastafile, fastqfile, keep, namefile, groupfile, countfile, qualfile, format;
bool abort, countGaps, Short, keepN;
int numbases, processors;
vector<string> outputNames;
bool runChopFasta(string&);
bool runChopFastq(string&);
bool getFastqChopped(FastqRead&);
bool createProcesses(string, string, string, string);
int processQual(string, string);
};
#endif
|