opentargets-database
它能做什么
这项技能让你的智能体通过 GraphQL API 查询 Open Targets 平台。适合需要挑选或评估治疗靶点的药物研发团队和研究人员。
适用场景
- ✓需要获取与某种疾病相关的基因排序列表的时候。
- ✓想评估某个基因靶点的可成药性或安全性的时候。
- ✓需要查询某种疾病的已知药物或其临床阶段的时候。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/opentargets-database/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在 Open Targets 中,哪些基因与哮喘的关联证据最强?哪些已知药物作用于这些基因?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体针对你指定的疾病或基因,向 Open Targets API 发送 GraphQL 查询。它返回关联分数、证据和药物记录。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Open Targets Database
Overview
The Open Targets Platform is a comprehensive resource for systematic identification and prioritization of potential therapeutic drug targets. It integrates publicly available datasets including human genetics, omics, literature, and chemical data to build and score target-disease associations.
Key capabilities:
- Query target (gene) annotations including tractability, safety, expression
- Search for disease-target associations with evidence scores
- Retrieve evidence from multiple data types (genetics, pathways, literature, etc.)
- Find known drugs for diseases and their mechanisms
- Access drug information including clinical trial phases and adverse events
- Evaluate target druggability and therapeutic potential
Data access: The platform provides a GraphQL API, web interface, data downloads, and Google BigQuery access. This skill focuses on the GraphQL API for programmatic access.
When to Use This Skill
This skill should be used when:
- Target discovery: Finding potential therapeutic targets for a disease
- Target assessment: Evaluating tractability, safety, and druggability of genes
- Evidence gathering: Retrieving supporting evidence for target-disease associations
- Drug repurposing: Identifying existing drugs that could be repurposed for new indications
- Competitive intelligence: Understanding clinical precedence and drug development landscape
- Target prioritization: Ranking targets based on genetic evidence and other data types
- Mechanism research: Investigating biological pathways and gene functions
- Biomarker discovery: Finding genes differentially expressed in disease
- Safety assessment: Identifying potential toxicity concerns for drug targets
Core Workflow
1. Search for Entities
Start by finding the identifiers for targets, diseases, or drugs of interest.
For targets (genes):
from scripts.query_opentargets import search_entities
# Search by gene symbol or name
results = search_entities("BRCA1", entity_types=["target"])
# Returns: [{"id": "ENSG00000012048", "name": "BRCA1", ...}]
For diseases:
# Search by disease name
results = search_entities("alzheimer", entity_types=["disease"])
# Returns: [{"id": "EFO_0000249", "name": "Alzheimer disease", ...}]
For drugs:
# Search by drug name
results = search_entities("aspirin", entity_types=["drug"])
# Returns: [{"id": "CHEMBL25", "name": "ASPIRIN", ...}]
Identifiers used:
- Targets: Ensembl gene IDs (e.g.,
ENSG00000157764) - Diseases: EFO (Experimental Factor Ontology) IDs (e.g.,
EFO_0000249) - Drugs: ChEMBL IDs (e.g.,
CHEMBL25)
2. Query Target Information
Retrieve comprehensive target annotations to assess druggability and biology.
from scripts.query_opentargets import get_target_info
target_info = get_target_info("ENSG00000157764", include_diseases=True)
# Access key fields:
# - approvedSymbol: HGNC gene symbol
# - approvedName: Full gene name
# - tractability: Druggability assessments across modalities
# - safetyLiabilities: Known safety concerns
# - geneticConstraint: Constraint scores from gnomAD
# - associatedDiseases: Top disease associations with scores
Key annotations to review:
- Tractability: Small molecule, antibody, PROTAC druggability predictions
- Safety: Known toxicity concerns from multiple databases
- Genetic constraint: pLI and LOEUF scores indicating essentiality
- Disease associations: Diseases linked to the target with evidence scores
Refer to references/target_annotations.md for detailed information about all target features.
3. Query Disease Information
Get disease details and associated targets/drugs.
from scripts.query_opentargets import get_disease_info
disease_info = get_disease_info("EFO_0000249", include_targets=True)
# Access fields:
# - name: Disease name
# - description: Disease description
# - therapeuticAreas: High-level disease categories
# - associatedTargets: Top targets with association scores
4. Retrieve Target-Disease Evidence
Get detailed evidence supporting a target-disease association.
from scripts.query_opentargets import get_target_disease_evidence
# Get all evidence
evidence = get_target_disease_evidence(
ensembl_id="ENSG00000157764",
efo_id="EFO_0000249"
)
# Filter by evidence type
genetic_evidence = get_target_disease_evidence(
ensembl_id="ENSG00000
常见问题
它展示哪些类型的证据?
该技能提到的证据来自人类遗传学、组学、文献和化学数据。
能显示药物试验的阶段吗?
可以。该技能提到已知药物的临床试验阶段。
它如何访问数据?
该技能主要介绍 GraphQL API,不过也支持数据下载和 BigQuery 访问。
详情
作者的原始描述
Query Open Targets Platform for target-disease associations, drug target discovery, tractability/safety data, genetics/omics evidence, known drugs, for therapeutic target identification.
热度
- GitHub 星标
- 33k
- 排名
- #8988
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。