def __init__(self, graph_type, are_bnodes_skolemized): super().__init__(graph_type, are_bnodes_skolemized, 'sgd') self.dataset = Dataset( 'sgd', 'SGD', 'https://www.yeastgenome.org/', None, None) self.global_terms = Source.open_and_parse_yaml('../../translationtable/global_terms.yaml') self.apo_term_id = SGD.make_apo_map()
def __init__(self, graph_type, are_bnodes_skolemized): super().__init__(graph_type, are_bnodes_skolemized, 'sgd') self.dataset = Dataset('sgd', 'SGD', 'https://www.yeastgenome.org/', None, None) self.global_terms = Source.open_and_parse_yaml( '../../translationtable/global_terms.yaml') self.apo_term_id = SGD.make_apo_map()
def __init__(self, graph_type, are_bnodes_skolemized): super().__init__(graph_type, are_bnodes_skolemized, 'mychem') self.dataset = Dataset( 'mychem', 'MYCHEM', 'https://mychem.info/', None, None) self.global_terms = Source.open_and_parse_yaml('../../translationtable/global_terms.yaml') self.inchikeys = MyChem.chunks(l=MyChem.get_inchikeys(), n=10) self.drugbank_targets = list() self.drugcentral_interactors = list()
def __init__(self, graph_type, are_bnodes_skolemized): super().__init__(graph_type, are_bnodes_skolemized, 'mychem') self.dataset = Dataset( 'mychem', 'MYCHEM', 'https://mychem.info/', None, None) self.global_terms = Source.open_and_parse_yaml('../../translationtable/global_terms.yaml') self.inchikeys = MyChem.chunks(l=MyChem.get_inchikeys(), n=10) self.drugbank_targets = list() self.drugcentral_interactors = list()
def __init__(self, graph_type, are_bnodes_skolemized): super().__init__(graph_type, are_bnodes_skolemized, 'rgd') self.dataset = Dataset('rgd', 'RGD', 'http://rgd.mcw.edu/', None, None) self.global_terms = Source.open_and_parse_yaml( '../../translationtable/global_terms.yaml')