4 * Copyright (c) 2007 Des Higgins, Julie Thompson and Toby Gibson.
6 #ifndef EMBLFILEPARSER_H
7 #define EMBLFILEPARSER_H
10 #include "FileParser.h"
15 class EMBLFileParser : public FileParser
19 EMBLFileParser(string filePath);
21 virtual Sequence getSeq(int seqNum, string *offendingSeq=NULL);
22 virtual vector<Sequence> getSeqRange(int firstSeq, int num, string *offendingSeq=NULL);
23 virtual int countSeqs();
24 virtual void getSecStructure(vector<char>& gapPenaltyMask,
25 vector<char>& secStructMask,
26 string& secStructName, int &structPenalties, int length);
32 void getSwissFeature(char* line, vector<char>& secStructMask, int length);
33 void getSwissMask(char* line, vector<char>& gapPenaltyMask, int length);