Reactome identifiers enrichment
Skill ma-compbio-lab/SkillFoundry/skills/systems-biology/reactome-identifiers-enrichment
Use this skill to submit a short identifier list to Reactome Analysis Service and return compact pathway enrichment summaries. Do not use it for full downstream statistical analysis or unsupported identifier normalization.From its SKILL.md
npx -y skills add ma-compbio-lab/SkillFoundry --skill reactome-identifiers-enrichmentAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
2.6 KB, 526 tokens by cl100k_base, as published. Nobody here has run it
Purpose
Run a lightweight Reactome pathway over-representation query from a small list of identifiers and summarize the top enriched pathways.
When to use
- You have a short list of genes or other supported identifiers and need quick pathway context.
- You want a compact Reactome enrichment snapshot before a larger systems-biology workflow.
When not to use
- You need a complete enrichment pipeline with custom background models.
- You need offline execution.
- You need unsupported identifier conversion or pathway visualization.
Inputs
- Identifier list via
--identifiersor--input-file - Optional page size, page number, and output path
Outputs
- JSON payload with query metadata, top pathway summaries, species coverage, resource coverage, and not-found identifiers
Requirements
- Python 3.10+
- Network access to
reactome.org
Procedure
- Run
python3 skills/systems-biology/reactome-identifiers-enrichment/scripts/analyze_reactome_identifiers.py --identifiers BRCA1,TP53 --page-size 5 --out skills/systems-biology/reactome-identifiers-enrichment/assets/brca1_tp53_enrichment.json. - Inspect
pathwaysforstable_id,name,species,entities_fdr,entities_p_value, andreactions_found. - Review
identifiers_not_foundbefore using the results downstream.
Validation
- Command exits successfully.
pathwayscontains at least one Reactome stable ID for a known human gene list.- The first pathway has non-empty
stable_id,name, and numeric enrichment statistics.
Failure modes and fixes
- No pathways returned: check the identifiers and reduce the list to supported gene symbols or IDs.
- Many missing identifiers: provide one symbol or accession per line or comma-separated item.
- HTTP errors: retry later and keep the identifier list small for smoke validation.
Safety and limits
- Knowledge lookup only.
- This skill does not justify biological claims on its own and does not replace statistical study design.
Example
python3 skills/systems-biology/reactome-identifiers-enrichment/scripts/analyze_reactome_identifiers.py --identifiers BRCA1,TP53 --page-size 3
Provenance
- Reactome Analysis Service docs: https://reactome.org/dev/analysis
- Reactome platform: https://reactome.org/
Related skills
reactome-event-summaryncbi-gene-search
What ships with it: 8 files
14.1 KB alongside SKILL.md, 2 of them executable
assets/
- brca1_tp53_enrichment.json3.7 KB
- README.md74 B
examples/
- README.md503 B
scripts/
- analyze_reactome_identifiers.pyruns6.4 KB
tests/
- README.md130 B
- test_reactome_identifiers_enrichment.pyruns2.1 KB
- metadata.yaml1.0 KB
- refs.md201 B