예제 #1
0
    def test_fromNumbers(self):

        fastqString = "~~~KKBB!!"
        values = [93, 93, 93, 42, 42, 33, 33, 0, 0]

        qvs = PacBioBam.QualityValues()
        for value in values:
            qvs.append(PacBioBam.QualityValue(value))

        self.assertEqual(fastqString, qvs.Fastq())
예제 #2
0
 def test_defaults(self):
     values = PacBioBam.QualityValues()
     self.assertFalse(values.Fastq())