drugbank-database

Retrieve DrugBank drug data, interactions, and targets via a Python API.

94|11|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/swaruplab/operon --skill drugbank-database-swaruplab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drugbank-database
Source: https://github.com/swaruplab/operon/tree/main/src-tauri/protocols/drugbank-database
Command: npx skills add https://github.com/swaruplab/operon --skill drugbank-database-swaruplab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires drugbank-downloader, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Researchers often need rapid, programmatic access to DrugBank data for pharmacology profiling, DDIs, and pathway analysis, but manual extraction from XML is time-consuming and error-prone.

Core Features & Use Cases

  • Data Access & Authentication: Connect to DrugBank, download and parse drug data, with secure credential management.
  • Drug Information Queries: Retrieve identifiers, names, indications, pharmacology, and cross-references for rapid profiling.
  • Drug-Drug Interactions Analysis: Build and explore interaction data to assess safety and combinatorial effects.
  • Targets & Pathways: Extract protein targets, enzymes, transporters, and associated pathways for mechanism analysis.
  • Chemical Properties & Similarity: Access calculated/experimental properties and structure data to enable similarity searches and ADMET-like analyses.
  • Data Export & Workflows: Export to CSV/DF and integrate with analytics pipelines; typical workflows described in references.

Quick Start

Connect to DrugBank using the helper, then fetch basic drug information, interactions, or targets with a simple function call.

Frequently Asked Questions about drugbank-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I programmatically retrieve drug information and interactions from DrugBank XML?

Programmatic DrugBank access uses a Python API with helper methods to download, parse, and query XML data for drug information, interactions, and targets. It includes caching for reproducible pharmacology research and bioinformatics pipelines.

What's the best way to analyze drug-drug interactions and protein targets for mechanism analysis?

Drug-drug interactions and protein targets analysis is handled by extracting interaction data, enzymes, transporters, and associated pathways from DrugBank XML. This enables safety assessment and mechanism analysis through structured Python queries.

Do I need a DrugBank account to download and parse drug data programmatically?

Yes, DrugBank data download requires secure credential management for authentication. The Python API helper connects to DrugBank using your credentials to download and parse drug data safely.

Can I export DrugBank pharmacology data to CSV for analytics pipelines?

Yes, DrugBank pharmacology data can be exported to CSV or DataFrame formats. This data export feature integrates retrieved drug properties, interactions, and targets directly into external analytics pipelines.

How do I access chemical properties and structure data for similarity searches from DrugBank?

Chemical properties and structure data are accessed by retrieving calculated and experimental properties from parsed DrugBank XML. This enables similarity searches and ADMET-like analyses directly through the Python API.

What are the limitations of parsing DrugBank XML for pharmacology profiling?

Parsing DrugBank XML requires downloading the full database, so limitations include handling large XML files and managing download dependencies. The Python API mitigates this with caching, but manual extraction remains time-consuming without it.