1 #ifndef PARSESFFCOMMAND_H
2 #define PARSESFFCOMMAND_H
8 * Created by Pat Schloss on 2/6/10.
9 * Copyright 2010 Patrick D. Schloss. All rights reserved.
14 #include "command.hpp"
16 class ParseSFFCommand : public Command {
18 ParseSFFCommand(string);
25 int parseHeaderLineToInt(ifstream&);
26 vector<float> parseHeaderLineToFloatVector(ifstream&, int);
27 vector<int> parseHeaderLineToIntVector(ifstream&, int);
28 string parseHeaderLineToString(ifstream&);
29 void screenFlow(vector<float>, int&);
30 string flow2seq(vector<float>, int);
31 bool screenSeq(string&, int&);
32 bool compareDNASeq(string, string);
33 void getOligos(vector<ofstream*>&);
40 int numFPrimers, numRPrimers, numBarcodes;
41 vector<string> forPrimer, revPrimer;
42 map<string, int> barcodes;
43 vector<string> groupVector;
44 vector<string> outputNames;
46 // string stripSeqQual(string, int, int);
47 // string stripQualQual(string, int, int);