def test_phred_to_ascii33(self): """Write out terrible FASTQ quality scores""" exp = b'GHI' obs = _phred_to_ascii33(np.array([38, 39, 40], dtype=np.int8)) self.assertEqual(obs, exp)
def test_phred_to_ascii33(self): obs = _phred_to_ascii33(self.qual_scores) self.assertEqual(obs, b'GHI')