def test_invalid_gene_pred_format(self): my_row = '143 ENSMUST00000100750.9 chrY - 74026591 74085669 74035416 74079934 4 74026591,74036981,74079908,74085509, 74036494,74037332,74080032,74085669,' with self.assertRaises(ValueError): ex.Row(my_row)
def setUp(self): example_row = '143 ENSMUST00000100750.9 chrX_random - 74026591 74085669 74035416 74079934 4 74026591,74036981,74079908,74085509, 74036494,74037332,74080032,74085669, 0 Mecp2 cmpl cmpl 2,2,0,-1,' self.row = ex.Row(example_row)
def test_chrY(self): my_row = '143 ENSMUST00000100750.9 chrY - 74026591 74085669 74035416 74079934 4 74026591,74036981,74079908,74085509, 74036494,74037332,74080032,74085669, 0 Mecp2 cmpl cmpl 2,2,0,-1,' my_row = ex.Row(my_row) target = my_row.is_on_random_chromosome() self.assertFalse(target)