def test_build_exon_graph(self): for exons, transcript_id in get_exon_node(test_file): self.graph = nx.DiGraph() self.graph.add_path([str(e) for e in exons]) self.assertEqual(len(exons), len(self.graph.nodes()))
def test_load_data(self): for exons, transcript_id in get_exon_node(test_file): pass self.assertTrue(len(exons) > 1)