drugbank-database

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

DrugBank Database

DrugBank数据库

Overview

概述

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.
DrugBank是一个综合性的生物信息学与化学信息学数据库,包含有关药物和药物靶点的详细信息。该技能支持以编程方式访问DrugBank数据,其中包含约9591个药物条目(2037个FDA批准的小分子药物、241个生物技术药物、96个营养保健品以及6000多种实验化合物),每个条目有200多个数据字段。

Core Capabilities

核心功能

1. Data Access and Authentication

1. 数据访问与身份验证

Download and access DrugBank data using Python with proper authentication. The skill provides guidance on:
  • Installing and configuring the
    drugbank-downloader
    package
  • Managing credentials securely via environment variables or config files
  • Downloading specific or latest database versions
  • Opening and parsing XML data efficiently
  • Working with cached data to optimize performance
When 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.
使用Python并通过适当的身份验证来下载和访问DrugBank数据。该技能提供以下方面的指导:
  • 安装和配置
    drugbank-downloader
  • 通过环境变量或配置文件安全管理凭证
  • 下载特定或最新版本的数据库
  • 高效打开和解析XML数据
  • 使用缓存数据优化性能
适用场景:设置DrugBank访问权限、下载数据库更新、初始项目配置。
参考文档:详见
references/data-access.md
,获取有关身份验证、下载流程、API访问、缓存策略和故障排除的详细信息。

2. Drug Information Queries

2. 药物信息查询

Extract comprehensive drug information from the database including identifiers, chemical properties, pharmacology, clinical data, and cross-references to external databases.
Query capabilities:
  • Search by DrugBank ID, name, CAS number, or keywords
  • Extract basic drug information (name, type, description, indication)
  • Retrieve chemical properties (SMILES, InChI, molecular formula)
  • Get pharmacology data (mechanism of action, pharmacodynamics, ADME)
  • Access external identifiers (PubChem, ChEMBL, UniProt, KEGG)
  • Build searchable drug datasets and export to DataFrames
  • Filter drugs by type (small molecule, biotech, nutraceutical)
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.
从数据库中提取全面的药物信息,包括标识符、化学属性、药理学、临床数据以及与外部数据库的交叉引用。
查询功能
  • 通过DrugBank ID、名称、CAS编号或关键词进行搜索
  • 提取基础药物信息(名称、类型、描述、适应症)
  • 获取化学属性(SMILES、InChI、分子式)
  • 获取药理学数据(作用机制、药效学、ADME)
  • 访问外部标识符(PubChem、ChEMBL、UniProt、KEGG)
  • 构建可搜索的药物数据集并导出为DataFrame
  • 按药物类型筛选(小分子、生物技术药物、营养保健品)
适用场景:检索特定药物信息、构建药物数据库、药理学研究、文献综述、药物特征分析。
参考文档:详见
references/drug-queries.md
,获取有关XML导航、查询函数、数据提取方法和性能优化的信息。

3. Drug-Drug Interactions Analysis

3. 药物-药物相互作用分析

Analyze drug-drug interactions (DDIs) including mechanism, clinical significance, and interaction networks for pharmacovigilance and clinical decision support.
Analysis capabilities:
  • Extract all interactions for specific drugs
  • Build bidirectional interaction networks
  • Classify interactions by severity and mechanism
  • Check interactions between drug pairs
  • Identify drugs with most interactions
  • Analyze polypharmacy regimens for safety
  • Create interaction matrices and network graphs
  • Perform community detection in interaction networks
  • Calculate interaction risk scores
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.
分析药物-药物相互作用(DDIs),包括作用机制、临床意义和相互作用网络,用于药物警戒和临床决策支持。
分析功能
  • 提取特定药物的所有相互作用信息
  • 构建双向相互作用网络
  • 按严重程度和作用机制对相互作用进行分类
  • 检查药物对之间的相互作用
  • 识别具有最多相互作用的药物
  • 分析多重用药方案的安全性
  • 创建相互作用矩阵和网络图
  • 在相互作用网络中执行社区检测
  • 计算相互作用风险评分
适用场景:多重用药安全性分析、临床决策支持、药物相互作用预测、药物警戒研究、识别禁忌症。
参考文档:详见
references/interactions.md
,获取有关相互作用提取、分类方法、网络分析和临床应用的信息。

4. Drug Targets and Pathways

4. 药物靶点与通路

Access detailed information about drug-protein interactions including targets, enzymes, transporters, carriers, and biological pathways.
Target analysis capabilities:
  • Extract drug targets with actions (inhibitor, agonist, antagonist)
  • Identify metabolic enzymes (CYP450, Phase II enzymes)
  • Analyze transporters (uptake, efflux) for ADME studies
  • Map drugs to biological pathways (SMPDB)
  • Find drugs targeting specific proteins
  • Identify drugs with shared targets for repurposing
  • Analyze polypharmacology and off-target effects
  • Extract Gene Ontology (GO) terms for targets
  • Cross-reference with UniProt for protein data
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.
访问有关药物-蛋白质相互作用的详细信息,包括靶点、酶、转运体、载体和生物通路。
靶点分析功能
  • 提取带有作用类型的药物靶点(抑制剂、激动剂、拮抗剂)
  • 识别代谢酶(CYP450、II相酶)
  • 分析转运体(摄取、外排)以用于ADME研究
  • 将药物映射到生物通路(SMPDB)
  • 找到靶向特定蛋白质的药物
  • 识别具有共同靶点的药物以用于药物重定位
  • 分析多药理学和脱靶效应
  • 提取靶点的基因本体(GO)术语
  • 与UniProt交叉引用以获取蛋白质数据
适用场景:作用机制研究、药物重定位研究、靶点识别、通路分析、预测脱靶效应、理解药物代谢。
参考文档:详见
references/targets-pathways.md
,获取有关靶点提取、通路分析、重定位策略、CYP450特征分析和转运体分析的信息。

5. Chemical Properties and Similarity

5. 化学属性与相似性

Perform structure-based analysis including molecular similarity searches, property calculations, substructure searches, and ADMET predictions.
Chemical analysis capabilities:
  • Extract chemical structures (SMILES, InChI, molecular formula)
  • Calculate physicochemical properties (MW, logP, PSA, H-bonds)
  • Apply Lipinski's Rule of Five and Veber's rules
  • Calculate Tanimoto similarity between molecules
  • Generate molecular fingerprints (Morgan, MACCS, topological)
  • Perform substructure searches with SMARTS patterns
  • Find structurally similar drugs for repurposing
  • Create similarity matrices for drug clustering
  • Predict oral absorption and BBB permeability
  • Analyze chemical space with PCA and clustering
  • Export chemical property databases
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.
执行基于结构的分析,包括分子相似性搜索、属性计算、子结构搜索和ADMET预测。
化学分析功能
  • 提取化学结构(SMILES、InChI、分子式)
  • 计算物理化学属性(分子量、logP、PSA、氢键)
  • 应用Lipinski五规则和Veber规则
  • 计算分子之间的Tanimoto相似性
  • 生成分子指纹(Morgan、MACCS、拓扑指纹)
  • 使用SMARTS模式执行子结构搜索
  • 找到结构相似的药物以用于重定位
  • 创建药物聚类的相似性矩阵
  • 预测口服吸收和血脑屏障通透性
  • 使用PCA和聚类分析化学空间
  • 导出化学属性数据库
适用场景:构效关系(SAR)研究、药物相似性搜索、QSAR建模、类药性评估、ADMET预测、化学空间探索。
参考文档:详见
references/chemical-analysis.md
,获取有关结构提取、相似性计算、指纹生成、ADMET预测和化学空间分析的信息。

Typical Workflows

典型工作流程

Drug Discovery Workflow

药物发现工作流程

  1. Use
    data-access.md
    to download and access latest DrugBank data
  2. Use
    drug-queries.md
    to build searchable drug database
  3. Use
    chemical-analysis.md
    to find similar compounds
  4. Use
    targets-pathways.md
    to identify shared targets
  5. Use
    interactions.md
    to check safety of candidate combinations
  1. 使用
    data-access.md
    下载并访问最新的DrugBank数据
  2. 使用
    drug-queries.md
    构建可搜索的药物数据库
  3. 使用
    chemical-analysis.md
    寻找相似化合物
  4. 使用
    targets-pathways.md
    识别共同靶点
  5. 使用
    interactions.md
    检查候选组合的安全性

Polypharmacy Safety Analysis

多重用药安全性分析

  1. Use
    drug-queries.md
    to look up patient medications
  2. Use
    interactions.md
    to check all pairwise interactions
  3. Use
    interactions.md
    to classify interaction severity
  4. Use
    interactions.md
    to calculate overall risk score
  5. Use
    targets-pathways.md
    to understand interaction mechanisms
  1. 使用
    drug-queries.md
    查询患者用药信息
  2. 使用
    interactions.md
    检查所有成对相互作用
  3. 使用
    interactions.md
    对相互作用严重程度进行分类
  4. 使用
    interactions.md
    计算总体风险评分
  5. 使用
    targets-pathways.md
    理解相互作用机制

Drug Repurposing Research

药物重定位研究

  1. Use
    targets-pathways.md
    to find drugs with shared targets
  2. Use
    chemical-analysis.md
    to find structurally similar drugs
  3. Use
    drug-queries.md
    to extract indication and pharmacology data
  4. Use
    interactions.md
    to assess potential combination therapies
  1. 使用
    targets-pathways.md
    找到具有共同靶点的药物
  2. 使用
    chemical-analysis.md
    找到结构相似的药物
  3. 使用
    drug-queries.md
    提取适应症和药理学数据
  4. 使用
    interactions.md
    评估潜在联合疗法

Pharmacology Study

药理学研究

  1. Use
    drug-queries.md
    to extract drug of interest
  2. Use
    targets-pathways.md
    to identify all protein interactions
  3. Use
    targets-pathways.md
    to map to biological pathways
  4. Use
    chemical-analysis.md
    to predict ADMET properties
  5. Use
    interactions.md
    to identify potential contraindications
  1. 使用
    drug-queries.md
    提取目标药物
  2. 使用
    targets-pathways.md
    识别所有蛋白质相互作用
  3. 使用
    targets-pathways.md
    映射到生物通路
  4. 使用
    chemical-analysis.md
    预测ADMET属性
  5. 使用
    interactions.md
    识别潜在禁忌症

Installation Requirements

安装要求

Python Packages

Python包

bash
uv 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)
bash
uv 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)

Account Setup

账户设置

  1. Create free account at go.drugbank.com
  2. Accept license agreement (free for academic use)
  3. Obtain username and password credentials
  4. Configure credentials as documented in
    references/data-access.md
  1. 在go.drugbank.com创建免费账户
  2. 接受许可协议(学术用途免费)
  3. 获取用户名和密码凭证
  4. 按照
    references/data-access.md
    中的文档配置凭证

Data Version and Reproducibility

数据版本与可重复性

Always specify the DrugBank version for reproducible research:
python
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.
为了确保研究的可重复性,请始终指定DrugBank版本:
python
from drugbank_downloader import download_drugbank
path = download_drugbank(version='5.1.10')  # Specify exact version
在出版物和分析脚本中记录所使用的版本。

Best Practices

最佳实践

  1. Credentials: Use environment variables or config files, never hardcode
  2. Versioning: Specify exact database version for reproducibility
  3. Caching: Cache parsed data to avoid re-downloading and re-parsing
  4. Namespaces: Handle XML namespaces properly when parsing
  5. Validation: Validate chemical structures with RDKit before use
  6. Cross-referencing: Use external identifiers (UniProt, PubChem) for integration
  7. Clinical Context: Always consider clinical context when interpreting interaction data
  8. License Compliance: Ensure proper licensing for your use case
  1. 凭证管理:使用环境变量或配置文件,切勿硬编码
  2. 版本控制:指定确切的数据库版本以确保可重复性
  3. 缓存策略:缓存解析后的数据,避免重复下载和解析
  4. 命名空间:解析时正确处理XML命名空间
  5. 结构验证:在使用前用RDKit验证化学结构
  6. 交叉引用:使用外部标识符(UniProt、PubChem)进行集成
  7. 临床背景:解读相互作用数据时始终考虑临床背景
  8. 许可合规:确保你的使用场景符合许可要求

Reference Documentation

参考文档

All detailed implementation guidance is organized in modular reference files:
  • references/data-access.md: Authentication, download, parsing, API access, caching
  • references/drug-queries.md: XML navigation, query methods, data extraction, indexing
  • references/interactions.md: DDI extraction, classification, network analysis, safety scoring
  • references/targets-pathways.md: Target/enzyme/transporter extraction, pathway mapping, repurposing
  • references/chemical-analysis.md: Structure extraction, similarity, fingerprints, ADMET prediction
Load these references as needed based on your specific analysis requirements.
所有详细的实现指导都组织在模块化的参考文件中:
  • references/data-access.md:身份验证、下载、解析、API访问、缓存
  • references/drug-queries.md:XML导航、查询方法、数据提取、索引
  • references/interactions.md:DDI提取、分类、网络分析、安全评分
  • references/targets-pathways.md:靶点/酶/转运体提取、通路映射、重定位
  • references/chemical-analysis.md:结构提取、相似性、指纹、ADMET预测
根据你的具体分析需求,按需查阅这些参考文档。