X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=qualityscores.h;h=49034b8ecb2a2b937901c9cfda132c00bcd5c4c4;hb=078d7227da8dda9ae8620822fa32d51ec2706fc3;hp=4453145f690b9a8be8b8da1bbf78fd5626d5fa71;hpb=c67cf4168e1a124088b6f017946f0aa1fbdf1301;p=mothur.git diff --git a/qualityscores.h b/qualityscores.h index 4453145..49034b8 100644 --- a/qualityscores.h +++ b/qualityscores.h @@ -10,6 +10,8 @@ * */ +//DataStructure for a quality file. + #include "mothur.h" #include "mothurout.h" @@ -22,6 +24,7 @@ public: QualityScores(); QualityScores(ifstream&); string getName(); + vector getQualityScores() { return qScores; } void printQScores(ofstream&); void trimQScores(int, int); @@ -33,6 +36,9 @@ public: void updateQScoreErrorMap(map >&, string, int, int, int); void updateForwardMap(vector >&, int, int, int); void updateReverseMap(vector >&, int, int, int); + void setName(string n) { seqName = n; } + void setScores(vector qs) { qScores = qs; seqLength = qScores.size(); } + private: