dipper.sources.MyChem module¶
-
class
dipper.sources.MyChem.MyChem(graph_type, are_bnodes_skolemized, data_release_version=None)¶ Bases:
dipper.sources.Source.Source-
static
add_relation(results, relation)¶
-
static
check_uniprot(target_dict)¶
-
static
chunks(l, n)¶ Yield successive n-sized chunks from l.
-
static
execute_query(query)¶
-
fetch(is_dl_forced=False)¶ abstract method to fetch all data from an external resource. this should be overridden by subclasses :return: None
-
fetch_from_mychem()¶
-
static
format_actions(target_dict)¶
-
static
get_drug_record(ids, fields)¶
-
static
get_inchikeys()¶
-
make_triples(source, package)¶
-
parse(limit=None)¶ abstract method to parse all data from an external resource, that was fetched in fetch() this should be overridden by subclasses :return: None
-
static
return_target_list(targ_in)¶
-
static