Home
last modified time | relevance | path

Searched refs:solexa_quality_from_phred (Results 1 – 2 of 2) sorted by relevance

/dports/biology/py-biopython/biopython-1.79/Tests/
H A Dtest_SeqIO_QualityIO.py831 self.assertEqual(-5, round(QualityIO.solexa_quality_from_phred(0)))
832 self.assertEqual(-5, round(QualityIO.solexa_quality_from_phred(1)))
833 self.assertEqual(-2, round(QualityIO.solexa_quality_from_phred(2)))
834 self.assertEqual(0, round(QualityIO.solexa_quality_from_phred(3)))
835 self.assertEqual(2, round(QualityIO.solexa_quality_from_phred(4)))
836 self.assertEqual(3, round(QualityIO.solexa_quality_from_phred(5)))
837 self.assertEqual(5, round(QualityIO.solexa_quality_from_phred(6)))
838 self.assertEqual(6, round(QualityIO.solexa_quality_from_phred(7)))
839 self.assertEqual(7, round(QualityIO.solexa_quality_from_phred(8)))
840 self.assertEqual(8, round(QualityIO.solexa_quality_from_phred(9)))
[all …]
/dports/biology/py-biopython/biopython-1.79/Bio/SeqIO/
H A DQualityIO.py383 def solexa_quality_from_phred(phred_quality): function
754 qp: chr(min(126, int(round(solexa_quality_from_phred(qp))) + SOLEXA_SCORE_OFFSET))
817 chr(min(126, int(round(solexa_quality_from_phred(qp))) + SOLEXA_SCORE_OFFSET))
2150 + [chr(64 + int(round(solexa_quality_from_phred(q)))) for q in range(0, 62 + 1)]
2192 + [chr(64 + int(round(solexa_quality_from_phred(q)))) for q in range(0, 62 + 1)]