- All Implemented Interfaces:
- java.io.Serializable, java.util.function.Function<GATKRead,GATKRead>, java.util.function.UnaryOperator<GATKRead>, ReadTransformer, SerializableFunction<GATKRead,GATKRead>
public final class MisencodedBaseQualityReadTransformer
extends java.lang.Object
implements ReadTransformer
Checks for and errors out (or fixes if requested) when it detects reads with base qualities that are not encoded with
phred-scaled quality scores. Q0 == ASCII 33 according to the SAM specification, whereas Illumina encoding starts at
Q64. The idea here is simple: if we are asked to fix the scores then we just subtract 31 from every quality score.
- See Also:
- Serialized Form