鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

reactome-database

支持系统生物学研究中的通路分析与解读,可对基因或蛋白列表进行富集分析,解析表达数据关联的生物学通路,查询人类及其他物种的分子通路、反应、相互作用及疾病机制,并提供结果可视化与跨物种投影能力。

数据与分析研究
访问 GitHub
文档Skills.MD
name
reactome-database
description
Query Reactome REST API for pathway analysis, enrichment, gene-pathway mapping, disease pathways, molecular interactions, expression analysis, for systems biology studies.

Reactome Database

Overview

Reactome is a free, open-source, curated pathway database with 2,825+ human pathways. Query biological pathways, perform overrepresentation and expression analysis, map genes to pathways, explore molecular interactions via REST API and Python client for systems biology research.

When to Use This Skill

This skill should be used when:

  • Performing pathway enrichment analysis on gene or protein lists
  • Analyzing gene expression data to identify relevant biological pathways
  • Querying specific pathway information, reactions, or molecular interactions
  • Mapping genes or proteins to biological pathways and processes
  • Exploring disease-related pathways and mechanisms
  • Visualizing analysis results in the Reactome Pathway Browser
  • Conducting comparative pathway analysis across species

Core Capabilities

Reactome provides two main API services and a Python client library:

1. Content Service - Data Retrieval

Query and retrieve biological pathway data, molecular interactions, and entity information.

Common operations:

  • Retrieve pathway information and hierarchies
  • Query specific entities (proteins, reactions, complexes)
  • Get participating molecules in pathways
  • Access database version and metadata
  • Explore pathway compartments and locations

API Base URL: https://reactome.org/ContentService

2. Analysis Service - Pathway Analysis

Perform computational analysis on gene lists and expression data.

Analysis types:

  • Overrepresentation Analysis: Identify statistically significant pathways from gene/protein lists
  • Expression Data Analysis: Analyze gene expression datasets to find relevant pathways
  • Species Comparison: Compare pathway data across different organisms

API Base URL: https://reactome.org/AnalysisService

3. reactome2py Python Package

Python client library that wraps Reactome API calls for easier programmatic access.

Installation:

▼
bash
复制代码
uv pip install reactome2py

Note: The reactome2py package (version 3.0.0, released January 2021) is functional but not actively maintained. For the most up-to-date functionality, consider using direct REST API calls.

Querying Pathway Data

Using Content Service REST API

The Content Service uses REST protocol and returns data in JSON or plain text formats.

Get database version:

▼
python
复制代码
import requests response = requests.get("https://reactome.org/ContentService/data/database/version") version = response.text print(f"Reactome version: {version}")

Query a specific entity:

▼
python
复制代码
import requests entity_id = "R-HSA-69278" # Example pathway ID response = requests.get(f"https://reactome.org/ContentService/data/query/{entity_id}") data = response.json()

Get participating molecules in a pathway:

▼
python
复制代码
import requests event_id = "R-HSA-69278" response = requests.get( f"https://reactome.org/ContentService/data/event/{event_id}/participatingPhysicalEntities" ) molecules = response.json()

Using reactome2py Package

▼
python
复制代码
import reactome2py from reactome2py import content # Query pathway information pathway_info = content.query_by_id("R-HSA-69278") # Get database version version = content.get_database_version()

For detailed API endpoints and parameters, refer to references/api_reference.md in this skill.

Performing Pathway Analysis

Overrepresentation Analysis

Submit a list of gene/protein identifiers to find enriched pathways.

Using REST API:

▼
python
复制代码
import requests # Prepare identifier list identifiers = ["TP53", "BRCA1", "EGFR", "MYC"] data = "\n".join(identifiers) # Submit analysis response = requests.post( "https://reactome.org/AnalysisService/identifiers/", headers={"Content-Type": "text/plain"}, data=data ) result = response.json() token = result["summary"]["token"] # Save token to retrieve results later # Access pathways for pathway in result["pathways"]: print(f"{pathway['stId']}: {pathway['name']} (p-value: {pathway['entities']['pValue']})")

Retrieve analysis by token:

▼
python
复制代码
# Token is valid for 7 days response = requests.get(f"https://reactome.org/AnalysisService/token/{token}") results = response.json()

Expression Data Analysis

Analyze gene expression datasets with quantitative values.

Input format (TSV with header starting with #):

▼
text
复制代码
#Gene Sample1 Sample2 Sample3 TP53 2.5 3.1 2.8 BRCA1 1.2 1.5 1.3 EGFR 4.5 4.2 4.8

Submit expression data:

▼
python
复制代码
import requests # Read TSV file with open("expression_data.tsv", "r") as f: data = f.read() response = requests.post( "https://reactome.org/AnalysisService/identifiers/", headers={"Content-Type": "text/plain"}, data=data ) result = response.json()

Species Projection

Map identifiers to human pathways exclusively using the /projection/ endpoint:

▼
python
复制代码
response = requests.post( "https://reactome.org/AnalysisService/identifiers/projection/", headers={"Content-Type": "text/plain"}, data=data )

Visualizing Results

Analysis results can be visualized in the Reactome Pathway Browser by constructing URLs with the analysis token:

▼
python
复制代码
token = result["summary"]["token"] pathway_id = "R-HSA-69278" url = f"https://reactome.org/PathwayBrowser/#{pathway_id}&DTAB=AN&ANALYSIS={token}" print(f"View results: {url}")

Working with Analysis Tokens

  • Analysis tokens are valid for 7 days
  • Tokens allow retrieval of previously computed results without re-submission
  • Store tokens to access results across sessions
  • Use GET /token/{TOKEN} endpoint to retrieve results

Data Formats and Identifiers

Supported Identifier Types

Reactome accepts various identifier formats:

  • UniProt accessions (e.g., P04637)
  • Gene symbols (e.g., TP53)
  • Ensembl IDs (e.g., ENSG00000141510)
  • EntrezGene IDs (e.g., 7157)
  • ChEBI IDs for small molecules

The system automatically detects identifier types.

Input Format Requirements

For overrepresentation analysis:

  • Plain text list of identifiers (one per line)
  • OR single column in TSV format

For expression analysis:

  • TSV format with mandatory header row starting with "#"
  • Column 1: identifiers
  • Columns 2+: numeric expression values
  • Use period (.) as decimal separator

Output Format

All API responses return JSON containing:

  • pathways: Array of enriched pathways with statistical metrics
  • summary: Analysis metadata and token
  • entities: Matched and unmapped identifiers
  • Statistical values: pValue, FDR (false discovery rate)

Helper Scripts

This skill includes scripts/reactome_query.py, a helper script for common Reactome operations:

▼
bash
复制代码
# Query pathway information python scripts/reactome_query.py query R-HSA-69278 # Perform overrepresentation analysis python scripts/reactome_query.py analyze gene_list.txt # Get database version python scripts/reactome_query.py version

Additional Resources

  • API Documentation: https://reactome.org/dev
  • User Guide: https://reactome.org/userguide
  • Documentation Portal: https://reactome.org/documentation
  • Data Downloads: https://reactome.org/download-data
  • reactome2py Docs: https://reactome.github.io/reactome2py/

For comprehensive API endpoint documentation, see references/api_reference.md in this skill.

Current Database Statistics (Version 94, September 2025)

  • 2,825 human pathways
  • 16,002 reactions
  • 11,630 proteins
  • 2,176 small molecules
  • 1,070 drugs
  • 41,373 literature references
数据与分析
研究

快捷安装

复制到终端去安装 Skill

npxskillsadddavila7/claude-code-templates--skill"reactome-database"
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
朱雀AI检测助手朱雀AI检测助手
零感AI零感AI
Skills 推荐
definition-of-done-generator
自动生成项目完成标准的规范定义与配置文件,提供符合企业级工作流要求的最佳实践指导,输出可直接投入生产环境的代码和验证结果,适用于需要标准化流程审批、合规审查及跨系统集成的复杂项目管理场景。
sagemaker-endpoint-deployer
自动化部署机器学习模型至云端服务端点,支持从配置生成到生产验证的全流程,适用于模型上线、服务监控与推理优化等场景,确保部署方案符合工业级标准。
docx
支持专业级 Word 文档的全生命周期处理,包括从零创建结构化文档、精准编辑内容、管理修订痕迹与批注、提取纯文本或原始 XML 数据、转换为 PDF 或图像用于视觉分析,适用于法律、学术及企业场景下的高保真文档协作与自动化处理。
skills-search
提供对 Claude Code 技能生态的全周期管理能力,支持按功能关键词检索技能、查看详细信息、安装或卸载指定技能,并区分用户级与项目级作用域,覆盖发现、评估、部署及维护各环节。
moai-foundation-core
构建高质量、可扩展的AI开发工作流,通过领域驱动设计与模块化架构实现需求规范先行,结合自动化质量门禁、精细化上下文管理与渐进式知识呈现,在保障安全与可维护性的同时提升开发效率与协作清晰度。