It is currently unclear whether the quality scores return by a given function has been adjusted. For example, for a noodles::sam::Record, .quality_scores().iter() and .quality_scores().as_ref() give different outputs. The former has been offset by 33, while the latter contains the raw data. It is also unclear if the quals are adjusted when converting to Bam record. What should I expect when calling .quality_scores().as_ref() with a Bam record?
It is currently unclear whether the quality scores return by a given function has been adjusted. For example, for a
noodles::sam::Record,.quality_scores().iter()and.quality_scores().as_ref()give different outputs. The former has been offset by 33, while the latter contains the raw data. It is also unclear if the quals are adjusted when converting to Bam record. What should I expect when calling.quality_scores().as_ref()with a Bam record?