示例#1
0
 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)
示例#2
0
 def test_phred_to_ascii33(self):
     obs = _phred_to_ascii33(self.qual_scores)
     self.assertEqual(obs, b'GHI')
示例#3
0
 def test_phred_to_ascii33(self):
     obs = _phred_to_ascii33(self.qual_scores)
     self.assertEqual(obs, b'GHI')
 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)