pypath.inputs.drugbank.drugbank_mapping§
- pypath.inputs.drugbank.drugbank_mapping(id_type: str, target_id_type: str, user: str | None = None, passwd: str | None = None, credentials_fname: str | None = None) dict[str, set[str]] [source]§
Identifier translation table from DrugBank.
Available ID types: drugbank, name, type, groups, cas, inchikey, inchi, smiles, formula, kegg_compound, kegg_drug, pubchem_compound, pubchem_substance, chebi, chembl, pharmgkb, het.
- Args
- id_type:
The identifier type to be used as keys.
- target_id_type:
The identifier type that will be collected into the values.
- user:
E-mail address with registered DrugBank account.
- passwd:
Password for the DrugBank account.
- credentials_fname:
File name or path to a file with DrugBank login credentials.
- Returns
An identifier translation table.