1 #ifndef TRIMSEQSCOMMAND_H
2 #define TRIMSEQSCOMMAND_H
8 * Created by Pat Schloss on 6/6/09.
9 * Copyright 2009 Patrick D. Schloss. All rights reserved.
14 #include "command.hpp"
15 #include "globaldata.hpp"
17 class TrimSeqsCommand : public Command {
25 bool stripBarcode(Sequence&, string&);
26 bool stripForward(Sequence&);
27 bool stripReverse(Sequence&);
29 GlobalData* globaldata;
31 int totalBarcodeCount, matchBarcodeCount;
32 int totalFPrimerCount, matchFPrimerCount;
33 int totalRPrimerCount, matchRPrimerCount;
37 int forwardPrimerMismatch, reversePrimerMismatch, barcodeMismatch;
38 int numFPrimers, numRPrimers;
39 vector<string> forPrimer, revPrimer;
40 map<string, string> barcodes;