コード例 #1
0
ファイル: test_alignedRead.py プロジェクト: acorg/midtools
 def testBaseNone(self):
     """
     The base method must return C{None} for an offset the read does not
     have.
     """
     ar = AlignedRead('id', '---ACGTACGT--')
     self.assertEqual(None, ar.base(0))
コード例 #2
0
ファイル: test_alignedRead.py プロジェクト: acorg/midtools
 def testBase(self):
     """
     The base method must return the expected nucleotide.
     """
     ar = AlignedRead('id', '---ACGTGCGT--')
     self.assertEqual('A', ar.base(3))