def get_mean_score(hdf5_file, basecall_location): q = hdf5_file[basecall_location].value.split(b'\n')[3] return statistics.mean([c - 33 for c in q])