Ejemplo n.º 1
0
 def test_init(self):
     f = Vcf.Filter('s50', '"Less than 50% of samples have data"')
     self.assertEqual(f.id, 's50')
     self.assertEqual(f.desc, 'Less than 50% of samples have data')
     self.assertEqual(
         f.hstring,
         '##FILTER=<ID=s50,Description="Less than 50% of samples have data">'
     )
Ejemplo n.º 2
0
 def test_eq(self):
     f = Vcf.Filter('s50', '"Less than 50% of samples have data"')
     g = Vcf.Filter('s50', '"Less than 50% of samples have data"')
     self.assertEqual(f, g)