Hi!
As everyone who works with this format already knows, the SAM/BAM sequence alignment format contains a field reserved for a per-base quality score string.
But if per-base quality scores are not available, what value should this field contain?
The specification (p. 16) says this field should contain
"Phred base quality (a sequence of 0xFF if absent)"
But I'm not sure how to interpret this.
If you (or your students :-) were writing a file in SAM format for alignments and you don't have access to quality scores, what would you put in this field?
All the best,
Ann
There's also text about this in §1.4 talking specifically about SAM's QUAL: “This field can be a ‘*’ when quality is not stored”.
Incidentally, if the text about “a sequence of 0xFF if absent” is on p16 of your copy of the SAM specification, then you have a somewhat out of date specification from before the defined aux tags were split off into a separate SAMtags.pdf document. There's not much substantive that's changed since then but there have been a few clarifications to the text, so it's worth working from the current specifications at http://samtools.github.io/hts-specs/.