Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #python #converting #phred #quality #score #number
ADD COMMENT
Topic
Name
8+8 =