Esempio n. 1
0
 def test_Fab_numbering_table_6(self):
     fab = Fab(heavy_chain=self.heavy_chain,
               light_chain=self.light_chain,
               load=False)
     self.assertEqual(
         fab.numbering_table(as_array=True, region='CDR3',
                             chain='both')[0][25], 'L')
Esempio n. 2
0
 def test_Fab_numbering_table_5(self):
     fab = Fab(heavy_chain=self.heavy_chain,
               light_chain=self.light_chain,
               load=False)
     self.assertEqual(
         fab.numbering_table(region='CDR3',
                             chain='light').loc['ID1'].values[10], '-')
Esempio n. 3
0
 def test_Fab_numbering_table_3(self):
     fab = Fab(heavy_chain=self.heavy_chain,
               light_chain=self.light_chain,
               load=False)
     self.assertEqual(fab.numbering_table(chain='heavy').shape, (1, 158))
Esempio n. 4
0
 def test_Fab_numbering_table_1(self):
     fab = Fab(heavy_chain=self.heavy_chain,
               light_chain=self.light_chain,
               load=False)
     self.assertEqual(fab.numbering_table().shape, (1, 296))