*
*/
+//DataStructure for a quality file.
+
#include "mothur.h"
#include "mothurout.h"
QualityScores();
QualityScores(ifstream&);
string getName();
+ int getLength(){ return (int)qScores.size(); }
vector<int> getQualityScores() { return qScores; }
void printQScores(ofstream&);
void trimQScores(int, int);
void updateQScoreErrorMap(map<char, vector<int> >&, string, int, int, int);
void updateForwardMap(vector<vector<int> >&, int, int, int);
void updateReverseMap(vector<vector<int> >&, int, int, int);
+ void setName(string n);
+ void setScores(vector<int> qs) { qScores = qs; seqLength = qScores.size(); }
+ vector<int> getScores() { return qScores; }
private:
string seqName;
int seqLength;
+
+ string getSequenceName(ifstream&);
};
/**************************************************************************************************/