reactome-skill
$
npx mdskill add aipoch/medical-research-skills/reactome-skillQuery Reactome REST API for pathway enrichment and curated content.
- Analyzes gene lists for overrepresentation against curated pathways.
- Integrates with Reactome REST API and reactome2py library.
- Executes species projection and expression mapping on pathway data.
- Returns structured pathway hierarchies and reaction details.
SKILL.md
.github/skills/reactome-skillView on GitHub ↗
--- name: reactome-skill description: Query the Reactome REST API for pathway content and enrichment analyses; use when you need curated pathway data, reaction details, or overrepresentation results for a gene list. license: MIT author: aipoch --- > **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills) ## When to Use - You have a list of genes/proteins and want to run pathway overrepresentation (enrichment) analysis against Reactome. - You need to retrieve curated pathway content (hierarchy, reactions, participants) by Reactome stable IDs (e.g., `R-HSA-69278`). - You want to map expression values onto pathways to support pathway-level interpretation. - You need to project pathways across species/organisms using Reactome’s species projection capabilities. - You are building a systems biology workflow that requires programmatic access to Reactome via its REST API. ## Key Features - **Pathway enrichment (overrepresentation)** for identifier lists. - **Expression analysis** by mapping expression data to Reactome pathways. - **Content retrieval** for pathways, reactions, and participating molecules. - **Pathway hierarchy access** to navigate curated pathway structures. - **Species projection** to map pathways across organisms. - **API documentation reference**: see `references/api_reference.md`. ## Dependencies - `python` (3.x) - `requests` (latest compatible) - `reactome2py` (latest compatible) Install: ```bash uv pip install reactome2py requests ``` ## Example Usage The following commands are runnable examples using the provided CLI script. ### 1) Query pathway content by Reactome ID ```bash python scripts/reactome_tool.py query_content --id "R-HSA-69278" ``` ### 2) Run overrepresentation analysis for a gene list ```bash python scripts/reactome_tool.py analyze_identifiers --identifiers "TP53,BRCA1" ``` ## Implementation Details - **API access pattern**: The skill uses the Reactome REST API (via `reactome2py` and/or direct HTTP calls with `requests`) to fetch pathway content and submit analyses. - **Identifier input**: Gene/protein identifiers are provided as a comma-separated string (e.g., `TP53,BRCA1`) and are submitted for overrepresentation analysis. - **Stable IDs**: Content retrieval expects Reactome stable identifiers (commonly formatted like `R-HSA-xxxxx` for human pathways). - **Outputs**: Results typically include pathway/reaction metadata and analysis outputs (e.g., enriched pathways with associated statistics), depending on the invoked action. - **Reference**: Reactome developer documentation is available at https://reactome.org/dev and the local API notes at `references/api_reference.md`.
More from aipoch/medical-research-skills
- 3d-molecule-ray-tracerGenerate photorealistic rendering scripts for PyMOL and UCSF ChimeraX.
- abstract-summarizerTransform lengthy academic papers into concise, structured 250-word abstracts.
- abstract-trimmerPrecision editing tool that reduces abstract word count through intelligent compression techniques, maintaining scientific rigor while meeting strict journal and conference requirements.
- academic-abstract-refinerRefines long medical academic texts into SCI-style unstructured Chinese and English abstracts; use when you need to condense drafts/reports/summaries into bilingual abstracts and generate Summary_Report.md.
- academic-cv-generatorGenerate structured academic CVs from free-form Chinese/English text and export to Word (.docx). Use this skill when you are asked to organize, generate, or optimize an academic CV (e.g., publications/projects/awards) into a consistent, formatted document with uniform-colored section headers and optional bilingual output.
- academic-highlight-generatorGenerates submission-ready Elsevier/SCI Highlights from manuscript text or extracted PDF/DOCX/TXT content. Use when a user needs 3-5 concise, evidence-grounded highlight bullets for a research paper, review, meta-analysis, case report, or bioinformatics manuscript.
- academic-norm-reviewDetects content similarity, verifies standardized citations and abbreviations, and flags potential academic integrity risks; use it before submission, during academic writing QA, or for compliance reviews.
- academic-poster-generatorComplete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster (beamerposter/tikzposter/baposter) with mandatory figure generation and a final rendered HTML deliverable.
- acronym-unpackerIntelligent medical abbreviation disambiguation tool that resolves ambiguous acronyms using clinical context, specialty-specific knowledge, and document-level semantic analysis.
- active-comparator-single-soc-faers-safety-comparisonGenerates complete FAERS pharmacovigilance study designs for multi-drug or class-level safety comparison inside one predefined SOC or AE family using active comparators, disproportionality analysis, subgroup characterization, and reviewer-facing evidence control.