DrugBox: Parsers for various drug info databases
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
drugbox
test
.gitignore
LICENSE
MANIFEST.in
Makefile
README.rst
requirements.txt
setup.py

README.rst

DrugBox: Parsers for various drug info databases

Python 3 parsers for the following resources:

TODO (add parsers for): | ChEMBL | STITCH

Example usage:

from drugbox import drugbank
file_name = "drugbank.xml"
out_file = "targets.tsv"
# Output uniprot ids of (pharmacological) targets of drugs
drugbank.output_data(file_name, out_file, target_type_list = ["target"])
# Output gene symbols of all targets (enzymes, transporters, carriers, etc) of drugs along with the known action information
drugbank.output_target_info(file_name, out_file)

See toolbox repository for a related package with other parsers (DrugBank, ChEMBL and STITCH) for Python 2 and extra functionality.