Esempio n. 1
0
 def test_get_gaps_multiple(self):
     """Test get_gaps(), multiple chain"""
     gaps = cleaning.get_gaps(os.path.join(TOPDIR, 'test', 'input',
                                           'test-multi.ali'))
     self.assertEqual(gaps, ['3:A,4:A', '10:B,12:B'])
Esempio n. 2
0
 def test_get_gaps_multiple(self):
     """Test get_gaps(), multiple chain"""
     gaps = cleaning.get_gaps(
         os.path.join(TOPDIR, 'test', 'input', 'test-multi.ali'))
     self.assertEqual(gaps, ['3:A,4:A', '10:B,12:B'])
Esempio n. 3
0
 def test_get_gaps_single(self):
     """Test get_gaps(), single chain"""
     gaps = cleaning.get_gaps(os.path.join(TOPDIR, 'test', 'input',
                                           'test.ali'))
     self.assertEqual(gaps, ['3:,4:', '10:,12:'])
Esempio n. 4
0
 def test_get_gaps_single(self):
     """Test get_gaps(), single chain"""
     gaps = cleaning.get_gaps(
         os.path.join(TOPDIR, 'test', 'input', 'test.ali'))
     self.assertEqual(gaps, ['3:,4:', '10:,12:'])