Beispiel #1
0
 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))
Beispiel #2
0
 def testBase(self):
     """
     The base method must return the expected nucleotide.
     """
     ar = AlignedRead('id', '---ACGTGCGT--')
     self.assertEqual('A', ar.base(3))