Exemplo n.º 1
0
 def test_transcript_ids_from_transcript(self):
     ret_by_id = get_transcript_ids("ENST00000288135", "transcript")
     ret_by_name = get_transcript_ids("KIT-201", "transcript")
     self.assertTrue("ENST00000288135" in ret_by_id)
     self.assertTrue("ENST00000288135" in ret_by_name)
     self.assertEqual(ret_by_id, ret_by_name)
Exemplo n.º 2
0
 def test_transcript_ids_from_gene(self):
     ret_by_id = get_transcript_ids("ENSG00000157404", "gene")
     ret_by_name = get_transcript_ids("KIT", "gene")
     self.assertTrue("ENST00000288135" in ret_by_id)
     self.assertTrue("ENST00000288135" in ret_by_name)
     self.assertEqual(ret_by_id, ret_by_name)
Exemplo n.º 3
0
 def test_transcript_ids_from_protein(self):
     ret_by_id = get_transcript_ids("ENSP00000288135", "protein")
     self.assertTrue("ENST00000288135" in ret_by_id)
Exemplo n.º 4
0
 def test_transcript_ids_from_exon(self):
     ret_by_id = get_transcript_ids("ENSE00001074448", "exon")
     self.assertTrue("ENST00000288135" in ret_by_id)