let parse_qual s = match s with | "" -> Or_error.error_string "invalid empty QUAL" | "*" -> Ok [] | _ -> String.to_list s |> Result.List.map ~f:(Phred_score.of_char ~offset:`Offset33)