def test_create_base_sub_7(self): alleles = [1, 1] ref = 'T' alt = 'C' expected = 'C' self.assertEqual(create_base_sub(alleles, ref, alt), expected)
def test_create_base_sub_5(self): alleles = [1, 2] ref = 'TCG' alt = 'TG,T,TCAG' expected = 'TCG' self.assertEqual(create_base_sub(alleles, ref, alt), expected)
def test_create_base_sub_1(self): alleles = [1, 2] ref = 'C' alt = 'A,C,G,T' expected = 'M' self.assertEqual(create_base_sub(alleles, ref, alt), expected)
def test_create_base_sub_2(self): alleles = [0, 1] ref = 'GT' alt = 'G, GTC' expected = 'GT' self.assertEqual(create_base_sub(alleles, ref, alt), expected)
def test_create_base_sub(self): alleles = [0, 1] ref = 'A' alt = 'T' expected = 'W' self.assertEqual(create_base_sub(alleles, ref, alt), expected)