DrugBank is a comprehensive bioinformatics and cheminformatics database containing detailed information on drugs and drug targets. This skill enables programmatic access to DrugBank data including ~9,591 drug entries (2,037 FDA-approved small molecules, 241 biotech drugs, 96 nutraceuticals, and 6,000+ experimental compounds) with 200+ data fields per entry.
Download and access DrugBank data using Python with proper authentication. The skill provides guidance on:
drugbank-downloader packageWhen to use: Setting up DrugBank access, downloading database updates, initial project configuration.
Reference: See references/data-access.md for detailed authentication, download procedures, API access, caching strategies, and troubleshooting.
Extract comprehensive drug information from the database including identifiers, chemical properties, pharmacology, clinical data, and cross-references to external databases.
Query capabilities:
When to use: Retrieving specific drug information, building drug databases, pharmacology research, literature review, drug profiling.
Reference: See references/drug-queries.md for XML navigation, query functions, data extraction methods, and performance optimization.
Analyze drug-drug interactions (DDIs) including mechanism, clinical significance, and interaction networks for pharmacovigilance and clinical decision support.
Analysis capabilities:
When to use: Polypharmacy safety analysis, clinical decision support, drug interaction prediction, pharmacovigilance research, identifying contraindications.
Reference: See references/interactions.md for interaction extraction, classification methods, network analysis, and clinical applications.
Access detailed information about drug-protein interactions including targets, enzymes, transporters, carriers, and biological pathways.
Target analysis capabilities:
When to use: Mechanism of action studies, drug repurposing research, target identification, pathway analysis, predicting off-target effects, understanding drug metabolism.
Reference: See references/targets-pathways.md for target extraction, pathway analysis, repurposing strategies, CYP450 profiling, and transporter analysis.
Perform structure-based analysis including molecular similarity searches, property calculations, substructure searches, and ADMET predictions.
Chemical analysis capabilities:
When to use: Structure-activity relationship (SAR) studies, drug similarity searches, QSAR modeling, drug-likeness assessment, ADMET prediction, chemical space exploration.
Reference: See references/chemical-analysis.md for structure extraction, similarity calculations, fingerprint generation, ADMET predictions, and chemical space analysis.
data-access.md to download and access latest DrugBank datadrug-queries.md to build searchable drug databasechemical-analysis.md to find similar compoundstargets-pathways.md to identify shared targetsinteractions.md to check safety of candidate combinationsdrug-queries.md to look up patient medicationsinteractions.md to check all pairwise interactionsinteractions.md to classify interaction severityinteractions.md to calculate overall risk scoretargets-pathways.md to understand interaction mechanismstargets-pathways.md to find drugs with shared targetschemical-analysis.md to find structurally similar drugsdrug-queries.md to extract indication and pharmacology datainteractions.md to assess potential combination therapiesdrug-queries.md to extract drug of interesttargets-pathways.md to identify all protein interactionstargets-pathways.md to map to biological pathwayschemical-analysis.md to predict ADMET propertiesinteractions.md to identify potential contraindicationsuv pip install drugbank-downloader # Core access
uv pip install bioversions # Latest version detection
uv pip install lxml # XML parsing optimization
uv pip install pandas # Data manipulation
uv pip install rdkit # Chemical informatics (for similarity)
uv pip install networkx # Network analysis (for interactions)
uv pip install scikit-learn # ML/clustering (for chemical space)
references/data-access.md
Always specify the DrugBank version for reproducible research:
from drugbank_downloader import download_drugbank
path = download_drugbank(version='5.1.10') # Specify exact version
Document the version used in publications and analysis scripts.
All detailed implementation guidance is organized in modular reference files:
Load these references as needed based on your specific analysis requirements.