Open glennhickey opened 7 months ago
The ASCII phred's weren't working in practice because they could include :
which is a reserved character in the TAF tag format. So I've switched it to use vg's
base64 encoding of the raw 1-byte quality values.
MAF q-lines (news to me) are defined here
This PR adds support for them in TAF. This is done by using column tags in TAF with key ==
"q"
and value of a string of ascii-phred values (min=0=!
, max=93=~
). This full spectrum can't be represented in MAF, which only supports 10 different values.Also, since everything needs to be transposed all the time, it assumes there's a score for every position. If there isn't, a default of max-score is used.