python converting phred quality score to number code example
Example: python converting phred quality score to number
# Basic syntax:
ord('phred_score')-33
# Example usage:
ord('!')-33
--> 0 # I.e., the ASCII character ! encodes the quality score 0
ord('A')-33
--> 32