[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74MW6J5M2W137DGR7GAQ88T":3,"skill-same:01M74MW6J5M2W137DGR7GAQ88T":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M74MW6J5M2W137DGR7GAQ88T","reactome-database",null,"Query the Reactome database (Analysis and Content Services). Use when the user asks about pathway analysis, gene list enrichment, retrieving results by token, finding unmapped or not-found identifiers, mapping identifiers, reaction participants (inputs, outputs), pathway hierarchy (including top-level pathways), diagram export, cross-reference mapping, or searching the knowledgebase.","pengqianhan\u002FAI-Human-Research-OS","pengqianhan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4286531?v=4","01M74M3DT9HNZ6HPAK8TX69EX9","PengqianHan","01M74M3DTVSN2GXW0JH2W396FK",3,"MIT","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Freactome_database\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: reactome-database\ndescription: >\n  Query the Reactome database (Analysis and Content Services). Use when the user\n  asks about pathway analysis, gene list enrichment, retrieving results by\n  token, finding unmapped or not-found identifiers, mapping identifiers,\n  reaction participants (inputs, outputs), pathway hierarchy (including\n  top-level pathways), diagram export, cross-reference mapping, or searching the\n  knowledgebase.\n---\n\n# Reactome Analysis & Content Service\n\n## Prerequisites\n\n1.  **`uv`**: Read the `uv` skill and follow its Setup instructions to ensure\n    `uv` is installed and on PATH.\n2.  **User Notification**: If .licenses\u002Freactome_database_LICENSE.txt does not\n    already exist in the workspace root directory then (1) prominently notify\n    the user to check the terms at https:\u002F\u002Freactome.org\u002Flicense and\n    https:\u002F\u002Freactome.org\u002Fcite, then (2) create the file recording the\n    notification text and timestamp.\n\n## Overview\n\nReactome is a free, open-source, curated pathway database. This skill wraps both\nthe **Analysis Service** (`https:\u002F\u002Freactome.org\u002FAnalysisService\u002F`) and the\n**Content Service** (`https:\u002F\u002Freactome.org\u002FContentService\u002F`) providing pathway\nenrichment analysis, identifier mapping, reaction details, pathway hierarchy\nnavigation, diagram export, cross-reference mapping, and search.\n\n## When to Use This Skill\n\n-   Performing pathway enrichment (overrepresentation) analysis on gene\u002Fprotein\n    lists\n-   Retrieving analysis results using a token from previous enrichment\n-   Identifying which genes or proteins were not found in a pathway analysis\n-   Analyzing gene expression data against pathway annotations\n-   Mapping identifiers to Reactome entities across species\n-   Retrieving reaction participants (inputs, outputs, catalysts, regulators)\n-   Navigating pathway hierarchy and listing top-level pathways\n-   Finding which complexes or sets contain a protein\n-   Exporting pathway\u002Freaction diagrams (PNG\u002FSVG) with gene highlighting\n-   Cross-referencing identifiers across databases (UniProt, Ensembl, etc.)\n-   Searching the Reactome knowledgebase\n-   Downloading analysis reports (PDF, CSV, JSON)\n-   Comparing pathways across species\n\n## Common Species IDs\n\nReference list for common research organisms:\n\n-   Homo sapiens\n    -   ID: 9606\n-   Mus musculus (Mouse)\n    -   ID: 48892\n-   Rattus norvegicus (Rat)\n    -   ID: 48895\n\n## Common Pathway IDs\n\nReference list for commonly used Reactome pathway stable IDs:\n\n-   Cell Cycle\n    -   Stable ID: R-HSA-1640170\n    -   Notes: Top-level pathway (broad)\n-   Cell Cycle, Mitotic\n    -   Stable ID: R-HSA-69278\n    -   Notes: Specific sub-pathway — use this for diagrams and drill-downs\n-   Immune System\n    -   Stable ID: R-HSA-168256\n    -   Notes: Top-level pathway\n-   Signal Transduction\n    -   Stable ID: R-HSA-162582\n    -   Notes: Top-level pathway\n-   Gene Expression\n    -   Stable ID: R-HSA-74160\n    -   Notes: Top-level pathway\n-   Programmed Cell Death\n    -   Stable ID: R-HSA-5357801\n    -   Notes: Top-level pathway\n\n> **Important**: When the user asks for a \"Cell Cycle\" diagram or analysis,\n> prefer the specific **Cell Cycle, Mitotic** pathway (`R-HSA-69278`) unless the\n> user explicitly requests the top-level overview. The examples throughout this\n> document use `R-HSA-69278`.\n\n## Core Rules\n\n1.  **Always use `--output`**: Every subcommand requires `--output \u003Cfile>` to\n    write results to a file. Never rely on stdout for large results.\n2.  **Default species is Homo sapiens**: Use `--species` to override.\n3.  **Tokens expire after 7 days**: Store tokens from analysis results to\n    retrieve them later without re-submitting data.\n4.  **Use `--fdr` and `--pvalue` to filter**: Enrichment results can be\n    overwhelming. Filter with `--fdr 0.05` or `--pvalue 0.01` to focus on\n    statistically significant pathways.\n5.  **Identifier formats**: Reactome auto-detects identifiers including gene\n    symbols (TP53), UniProt (P04637), Ensembl (ENSG00000141510), ChEBI, OMIM,\n    EntrezGene, and many more.\n6.  **Handle large outputs**: For commands that return large data (like\n    `species-comparison`), use the `--summary` flag to truncate lists and avoid\n    exceeding workspace file size limits (1MB).\n7.  **Notification**: If this skill is used, ensure this is mentioned in the\n    output.\n\n## Tool Execution\n\nThe CLI tool is at `scripts\u002Freactome_analysis.py`. Run with `uv`:\n\n```bash\nuv run scripts\u002Freactome_analysis.py \u003Ccommand> [options] --output \u002Ftmp\u002Fout.json\n```\n\n**To list all available subcommands and flags**, run:\n\n```bash\nuv run scripts\u002Freactome_analysis.py --help\n```\n\nUse `--help` to verify available subcommands or flags before executing an\nunfamiliar command.\n\n## Feature Domains\n\n### 1. Database Info\n\n```bash\nuv run scripts\u002Freactome_analysis.py db-version --output \u002Ftmp\u002Fversion.json\nuv run scripts\u002Freactome_analysis.py db-name --output \u002Ftmp\u002Fname.json\n```\n\n### 2. Single Identifier Analysis\n\n```bash\nuv run scripts\u002Freactome_analysis.py identifier --id TP53 --output \u002Ftmp\u002Ftp53.json\nuv run scripts\u002Freactome_analysis.py identifier-projection --id TP53 --output \u002Ftmp\u002Ftp53_proj.json\n```\n\n### 3. Batch Analysis (Enrichment)\n\nSubmit a list of identifiers for overrepresentation or expression analysis:\n\n```bash\nuv run scripts\u002Freactome_analysis.py analyze --data \"TP53,BRCA1,EGFR\" --output \u002Ftmp\u002Fenrich.json\nuv run scripts\u002Freactome_analysis.py analyze --file genes.txt --output \u002Ftmp\u002Fenrich.json\nuv run scripts\u002Freactome_analysis.py analyze-projection --data \"TP53,BRCA1\" --output \u002Ftmp\u002Fproj.json\nuv run scripts\u002Freactome_analysis.py analyze --data \"TP53,BRCA1\" --fdr 0.05 --output \u002Ftmp\u002Fsig.json\n```\n\nCommon options: `--page-size` (alias `--limit`), `--page` (alias `--offset`),\n`--sort-by`, `--order`, `--resource`, `--species`, `--fdr`, `--pvalue`.\n\n### 4. Token-Based Result Retrieval\n\n```bash\nuv run scripts\u002Freactome_analysis.py token-result --token TOKEN --output \u002Ftmp\u002Fresult.json\nuv run scripts\u002Freactome_analysis.py token-not-found --token TOKEN --output \u002Ftmp\u002Fnotfound.json\nuv run scripts\u002Freactome_analysis.py token-resources --token TOKEN --output \u002Ftmp\u002Fresources.json\nuv run scripts\u002Freactome_analysis.py token-found-entities --token TOKEN --pathway R-HSA-69278 --output \u002Ftmp\u002Ffound.json\nuv run scripts\u002Freactome_analysis.py token-filter-species --token TOKEN --species-filter 9606 --output \u002Ftmp\u002Ffiltered.json\nuv run scripts\u002Freactome_analysis.py token-reactions-pathway --token TOKEN --pathway R-HSA-69278 --output \u002Ftmp\u002Frxns.json\n```\n\n### 5. Download Results\n\n```bash\nuv run scripts\u002Freactome_analysis.py download-result --token TOKEN --output \u002Ftmp\u002Ffull.json\nuv run scripts\u002Freactome_analysis.py download-pathways --token TOKEN --output \u002Ftmp\u002Fpathways.csv\nuv run scripts\u002Freactome_analysis.py download-found --token TOKEN --output \u002Ftmp\u002Ffound.csv\nuv run scripts\u002Freactome_analysis.py download-not-found --token TOKEN --output \u002Ftmp\u002Fnotfound.csv\n```\n\n### 6. Identifier Mapping\n\n```bash\nuv run scripts\u002Freactome_analysis.py mapping --data \"TP53,BRCA1\" --output \u002Ftmp\u002Fmapped.json\nuv run scripts\u002Freactome_analysis.py mapping-projection --data \"TP53\" --output \u002Ftmp\u002Fmapped_proj.json\n```\n\n### 7. Reaction Participants & Mechanism of Action\n\nRetrieve the molecular participants of a reaction (inputs, outputs, catalysts):\n\n```bash\nuv run scripts\u002Freactome_analysis.py participants --id R-HSA-6804194 --output \u002Ftmp\u002Fparticipants.json\nuv run scripts\u002Freactome_analysis.py participating-entities --id R-HSA-6804194 --output \u002Ftmp\u002Fentities.json\n```\n\n### 8. Complex & Set Membership\n\nFind which complexes or sets contain a given entity:\n\n```bash\nuv run scripts\u002Freactome_analysis.py component-of --id R-HSA-69488 --output \u002Ftmp\u002Fcomplexes.json\n```\n\n### 9. Pathway Hierarchy Navigation\n\nMove up (ancestors) or down (contained events) the pathway hierarchy:\n\n```bash\nuv run scripts\u002Freactome_analysis.py event-ancestors --id R-HSA-69278 --output \u002Ftmp\u002Fancestors.json\nuv run scripts\u002Freactome_analysis.py contained-events --id R-HSA-69278 --output \u002Ftmp\u002Fsteps.json\nuv run scripts\u002Freactome_analysis.py top-pathways --output \u002Ftmp\u002Ftop.json\nuv run scripts\u002Freactome_analysis.py low-pathways --id R-HSA-69488 --output \u002Ftmp\u002Flow.json\n```\n\n### 10. Diagram Export\n\nExport pathway or reaction diagrams as PNG\u002FSVG, with optional gene highlighting:\n\n```bash\nuv run scripts\u002Freactome_analysis.py diagram --id R-HSA-69278 --output \u002Ftmp\u002Fdiagram.png\nuv run scripts\u002Freactome_analysis.py diagram --id R-HSA-69278 --highlight TP53 --output \u002Ftmp\u002Fhighlighted.png\nuv run scripts\u002Freactome_analysis.py diagram --id R-HSA-69278 --format svg --output \u002Ftmp\u002Fdiagram.svg\nuv run scripts\u002Freactome_analysis.py reaction-diagram --id R-HSA-6804194 --output \u002Ftmp\u002Frxn.png\n```\n\n### 11. Cross-Reference Mapping\n\nResolve identifiers to Reactome internal IDs and cross-references:\n\n```bash\nuv run scripts\u002Freactome_analysis.py xref-mapping --id TP53 --output \u002Ftmp\u002Fxref.json\nuv run scripts\u002Freactome_analysis.py xref-mapping-batch --data \"TP53,BRCA1\" --output \u002Ftmp\u002Fxrefs.json\n```\n\n### 12. Search\n\n```bash\nuv run scripts\u002Freactome_analysis.py search --query \"TP53 apoptosis\" --output \u002Ftmp\u002Fresults.json\n```\n\n### 13. Query Entry by ID\n\n```bash\nuv run scripts\u002Freactome_analysis.py query --id R-HSA-69278 --output \u002Ftmp\u002Fentry.json\n```\n\n### 14. Report & Species Comparison\n\n```bash\nuv run scripts\u002Freactome_analysis.py report --token TOKEN --output \u002Ftmp\u002Freport.pdf\nuv run scripts\u002Freactome_analysis.py species-comparison --species-id 48892 --output \u002Ftmp\u002Fspecies.json\n# Use --summary to truncate large output and avoid workspace file size limits\nuv run scripts\u002Freactome_analysis.py species-comparison --species-id 48892 --summary --output \u002Ftmp\u002Fspecies.json\n```\n\n## Recipe: Interpreting Gene Set Enrichment\n\nA step-by-step workflow for interpreting gene set enrichment results:\n\n1.  **Submit gene list** with projection to human pathways: `bash uv run\n    scripts\u002Freactome_analysis.py analyze-projection \\ --data\n    \"TP53,BRCA1,EGFR,MYC,PTEN\" --fdr 0.05 --output \u002Ftmp\u002Fenrichment.json`\n\n2.  **Inspect top pathways** — examine `pathwaysFound`, top pathway names,\n    p-values, and FDR values in the output.\n\n3.  **Drill into a pathway** — get its sub-events and reaction details: `bash uv\n    run scripts\u002Freactome_analysis.py contained-events --id R-HSA-69278 --output\n    \u002Ftmp\u002Fsteps.json uv run scripts\u002Freactome_analysis.py participants --id\n    \u003Creaction_id> --output \u002Ftmp\u002Fparts.json`\n\n4.  **Visualise** — export a diagram with your genes highlighted: `bash uv run\n    scripts\u002Freactome_analysis.py diagram --id R-HSA-69278 \\ --highlight\n    \"TP53,BRCA1\" --output \u002Ftmp\u002Fdiagram.png`\n\n5.  **Check hierarchy** — navigate up to see broader biological context: `bash\n    uv run scripts\u002Freactome_analysis.py event-ancestors --id R-HSA-69278\n    --output \u002Ftmp\u002Fancestors.json`\n\n6.  **Cross-reference** — map identifiers to other databases: `bash uv run\n    scripts\u002Freactome_analysis.py xref-mapping --id TP53 --output\n    \u002Ftmp\u002Fxrefs.json`\n\n## Reference\n\nFor detailed API endpoint documentation, see\n[references\u002Fapi_reference.md](references\u002Fapi_reference.md).\n","# Reactome Analysis & Content Service\n\n## Prerequisites\n\n1.  **`uv`**: Read the `uv` skill and follow its Setup instructions to ensure\n    `uv` is installed and on PATH.\n2.  **User Notification**: If .licenses\u002Freactome_database_LICENSE.txt does not\n    already exist in the workspace root directory then (1) prominently notify\n    the user to check the terms at https:\u002F\u002Freactome.org\u002Flicense and\n    https:\u002F\u002Freactome.org\u002Fcite, then (2) create the file recording the\n    notification text and timestamp.\n\n## Overview\n\nReactome is a free, open-source, curated pathway database. This skill wraps both\nthe **Analysis Service** (`https:\u002F\u002Freactome.org\u002FAnalysisService\u002F`) and the\n**Content Service** (`https:\u002F\u002Freactome.org\u002FContentService\u002F`) providing pathway\nenrichment analysis, identifier mapping, reaction details, pathway hierarchy\nnavigation, diagram export, cross-reference mapping, and search.\n\n## When to Use This Skill\n\n-   Performing pathway enrichment (overrepresentation) analysis on gene\u002Fprotein\n    lists\n-   Retrieving analysis results using a token from previous enrichment\n-   Identifying which genes or proteins were not found in a pathway analysis\n-   Analyzing gene expression data against pathway annotations\n-   Mapping identifiers to Reactome entities across species\n-   Retrieving reaction participants (inputs, outputs, catalysts, regulators)\n-   Navigating pathway hierarchy and listing top-level pathways\n-   Finding which complexes or sets contain a protein\n-   Exporting pathway\u002Freaction diagrams (PNG\u002FSVG) with gene highlighting\n-   Cross-referencing identifiers across databases (UniProt, Ensembl, etc.)\n-   Searching the Reactome knowledgebase\n-   Downloading analysis reports (PDF, CSV, JSON)\n-   Comparing pathways across species\n\n## Common Species IDs\n\nReference list for common research organisms:\n\n-   Homo sapiens\n    -   ID: 9606\n-   Mus musculus (Mouse)\n    -   ID: 48892\n-   Rattus norvegicus (Rat)\n    -   ID: 48895\n\n## Common Pathway IDs\n\nReference list for commonly used Reactome pathway stable IDs:\n\n-   Cell Cycle\n    -   Stable ID: R-HSA-1640170\n    -   Notes: Top-level pathway (broad)\n-   Cell Cycle, Mitotic\n    -   Stable ID: R-HSA-69278\n    -   Notes: Specific sub-pathway — use this for diagrams and drill-downs\n-   Immune System\n    -   Stable ID: R-HSA-168256\n    -   Notes: Top-level pathway\n-   Signal Transduction\n    -   Stable ID: R-HSA-162582\n    -   Notes: Top-level pathway\n-   Gene Expression\n    -   Stable ID: R-HSA-74160\n    -   Notes: Top-level pathway\n-   Programmed Cell Death\n    -   Stable ID: R-HSA-5357801\n    -   Notes: Top-level pathway\n\n> **Important**: When the user asks for a \"Cell Cycle\" diagram or analysis,\n> prefer the specific **Cell Cycle, Mitotic** pathway (`R-HSA-69278`) unless the\n> user explicitly requests the top-level overview. The examples throughout this\n> document use `R-HSA-69278`.\n\n## Core Rules\n\n1.  **Always use `--output`**: Every subcommand requires `--output \u003Cfile>` to\n    write results to a file. Never rely on stdout for large results.\n2.  **Default species is Homo sapiens**: Use `--species` to override.\n3.  **Tokens expire after 7 days**: Store tokens from analysis results to\n    retrieve them later without re-submitting data.\n4.  **Use `--fdr` and `--pvalue` to filter**: Enrichment results can be\n    overwhelming. Filter with `--fdr 0.05` or `--pvalue 0.01` to focus on\n    statistically significant pathways.\n5.  **Identifier formats**: Reactome auto-detects identifiers including gene\n    symbols (TP53), UniProt (P04637), Ensembl (ENSG00000141510), ChEBI, OMIM,\n    EntrezGene, and many more.\n6.  **Handle large outputs**: For commands that return large data (like\n    `species-comparison`), use the `--summary` flag to truncate lists and avoid\n    exceeding workspace file size limits (1MB).\n7.  **Notification**: If this skill is used, ensure this is mentioned in the\n    output.\n\n## Tool Execution\n\nThe CLI tool is at `scripts\u002Freactome_analysis.py`. Run with `uv`:\n\n```bash\nuv run scripts\u002Freactome_analysis.py \u003Ccommand> [options] --output \u002Ftmp\u002Fout.json\n```\n\n**To list all available subcommands and flags**, run:\n\n```bash\nuv run scripts\u002Freactome_analysis.py --help\n```\n\nUse `--help` to verify available subcommands or flags before executing an\nunfamiliar command.\n\n## Feature Domains\n\n### 1. Database Info\n\n```bash\nuv run scripts\u002Freactome_analysis.py db-version --output \u002Ftmp\u002Fversion.json\nuv run scripts\u002Freactome_analysis.py db-name --output \u002Ftmp\u002Fname.json\n```\n\n### 2. Single Identifier Analysis\n\n```bash\nuv run scripts\u002Freactome_analysis.py identifier --id TP53 --output \u002Ftmp\u002Ftp53.json\nuv run scripts\u002Freactome_analysis.py identifier-projection --id TP53 --output \u002Ftmp\u002Ftp53_proj.json\n```\n\n### 3. Batch Analysis (Enrichment)\n\nSubmit a list of identifiers for overrepresentation or expression analysis:\n\n```bash\nuv run scripts\u002Freactome_analysis.py analyze --data \"TP53,BRCA1,EGFR\" --output \u002Ftmp\u002Fenrich.json\nuv run scripts\u002Freactome_analysis.py analyze --file genes.txt --output \u002Ftmp\u002Fenrich.json\nuv run scripts\u002Freactome_analysis.py analyze-projection --data \"TP53,BRCA1\" --output \u002Ftmp\u002Fproj.json\nuv run scripts\u002Freactome_analysis.py analyze --data \"TP53,BRCA1\" --fdr 0.05 --output \u002Ftmp\u002Fsig.json\n```\n\nCommon options: `--page-size` (alias `--limit`), `--page` (alias `--offset`),\n`--sort-by`, `--order`, `--resource`, `--species`, `--fdr`, `--pvalue`.\n\n### 4. Token-Based Result Retrieval\n\n```bash\nuv run scripts\u002Freactome_analysis.py token-result --token TOKEN --output \u002Ftmp\u002Fresult.json\nuv run scripts\u002Freactome_analysis.py token-not-found --token TOKEN --output \u002Ftmp\u002Fnotfound.json\nuv run scripts\u002Freactome_analysis.py token-resources --token TOKEN --output \u002Ftmp\u002Fresources.json\nuv run scripts\u002Freactome_analysis.py token-found-entities --token TOKEN --pathway R-HSA-69278 --output \u002Ftmp\u002Ffound.json\nuv run scripts\u002Freactome_analysis.py token-filter-species --token TOKEN --species-filter 9606 --output \u002Ftmp\u002Ffiltered.json\nuv run scripts\u002Freactome_analysis.py token-reactions-pathway --token TOKEN --pathway R-HSA-69278 --output \u002Ftmp\u002Frxns.json\n```\n\n### 5. Download Results\n\n```bash\nuv run scripts\u002Freactome_analysis.py download-result --token TOKEN --output \u002Ftmp\u002Ffull.json\nuv run scripts\u002Freactome_analysis.py download-pathways --token TOKEN --output \u002Ftmp\u002Fpathways.csv\nuv run scripts\u002Freactome_analysis.py download-found --token TOKEN --output \u002Ftmp\u002Ffound.csv\nuv run scripts\u002Freactome_analysis.py download-not-found --token TOKEN --output \u002Ftmp\u002Fnotfound.csv\n```\n\n### 6. Identifier Mapping\n\n```bash\nuv run scripts\u002Freactome_analysis.py mapping --data \"TP53,BRCA1\" --output \u002Ftmp\u002Fmapped.json\nuv run scripts\u002Freactome_analysis.py mapping-projection --data \"TP53\" --output \u002Ftmp\u002Fmapped_proj.json\n```\n\n### 7. Reaction Participants & Mechanism of Action\n\nRetrieve the molecular participants of a reaction (inputs, outputs, catalysts):\n\n```bash\nuv run scripts\u002Freactome_analysis.py participants --id R-HSA-6804194 --output \u002Ftmp\u002Fparticipants.json\nuv run scripts\u002Freactome_analysis.py participating-entities --id R-HSA-6804194 --output \u002Ftmp\u002Fentities.json\n```\n\n### 8. Complex & Set Membership\n\nFind which complexes or sets contain a given entity:\n\n```bash\nuv run scripts\u002Freactome_analysis.py component-of --id R-HSA-69488 --output \u002Ftmp\u002Fcomplexes.json\n```\n\n### 9. Pathway Hierarchy Navigation\n\nMove up (ancestors) or down (contained events) the pathway hierarchy:\n\n```bash\nuv run scripts\u002Freactome_analysis.py event-ancestors --id R-HSA-69278 --output \u002Ftmp\u002Fancestors.json\nuv run scripts\u002Freactome_analysis.py contained-events --id R-HSA-69278 --output \u002Ftmp\u002Fsteps.json\nuv run scripts\u002Freactome_analysis.py top-pathways --output \u002Ftmp\u002Ftop.json\nuv run scripts\u002Freactome_analysis.py low-pathways --id R-HSA-69488 --output \u002Ftmp\u002Flow.json\n```\n\n### 10. Diagram Export\n\nExport pathway or reaction diagrams as PNG\u002FSVG, with optional gene highlighting:\n\n```bash\nuv run scripts\u002Freactome_analysis.py diagram --id R-HSA-69278 --output \u002Ftmp\u002Fdiagram.png\nuv run scripts\u002Freactome_analysis.py diagram --id R-HSA-69278 --highlight TP53 --output \u002Ftmp\u002Fhighlighted.png\nuv run scripts\u002Freactome_analysis.py diagram --id R-HSA-69278 --format svg --output \u002Ftmp\u002Fdiagram.svg\nuv run scripts\u002Freactome_analysis.py reaction-diagram --id R-HSA-6804194 --output \u002Ftmp\u002Frxn.png\n```\n\n### 11. Cross-Reference Mapping\n\nResolve identifiers to Reactome internal IDs and cross-references:\n\n```bash\nuv run scripts\u002Freactome_analysis.py xref-mapping --id TP53 --output \u002Ftmp\u002Fxref.json\nuv run scripts\u002Freactome_analysis.py xref-mapping-batch --data \"TP53,BRCA1\" --output \u002Ftmp\u002Fxrefs.json\n```\n\n### 12. Search\n\n```bash\nuv run scripts\u002Freactome_analysis.py search --query \"TP53 apoptosis\" --output \u002Ftmp\u002Fresults.json\n```\n\n### 13. Query Entry by ID\n\n```bash\nuv run scripts\u002Freactome_analysis.py query --id R-HSA-69278 --output \u002Ftmp\u002Fentry.json\n```\n\n### 14. Report & Species Comparison\n\n```bash\nuv run scripts\u002Freactome_analysis.py report --token TOKEN --output \u002Ftmp\u002Freport.pdf\nuv run scripts\u002Freactome_analysis.py species-comparison --species-id 48892 --output \u002Ftmp\u002Fspecies.json\n# Use --summary to truncate large output and avoid workspace file size limits\nuv run scripts\u002Freactome_analysis.py species-comparison --species-id 48892 --summary --output \u002Ftmp\u002Fspecies.json\n```\n\n## Recipe: Interpreting Gene Set Enrichment\n\nA step-by-step workflow for interpreting gene set enrichment results:\n\n1.  **Submit gene list** with projection to human pathways: `bash uv run\n    scripts\u002Freactome_analysis.py analyze-projection \\ --data\n    \"TP53,BRCA1,EGFR,MYC,PTEN\" --fdr 0.05 --output \u002Ftmp\u002Fenrichment.json`\n\n2.  **Inspect top pathways** — examine `pathwaysFound`, top pathway names,\n    p-values, and FDR values in the output.\n\n3.  **Drill into a pathway** — get its sub-events and reaction details: `bash uv\n    run scripts\u002Freactome_analysis.py contained-events --id R-HSA-69278 --output\n    \u002Ftmp\u002Fsteps.json uv run scripts\u002Freactome_analysis.py participants --id\n    \u003Creaction_id> --output \u002Ftmp\u002Fparts.json`\n\n4.  **Visualise** — export a diagram with your genes highlighted: `bash uv run\n    scripts\u002Freactome_analysis.py diagram --id R-HSA-69278 \\ --highlight\n    \"TP53,BRCA1\" --output \u002Ftmp\u002Fdiagram.png`\n\n5.  **Check hierarchy** — navigate up to see broader biological context: `bash\n    uv run scripts\u002Freactome_analysis.py event-ancestors --id R-HSA-69278\n    --output \u002Ftmp\u002Fancestors.json`\n\n6.  **Cross-reference** — map identifiers to other databases: `bash uv run\n    scripts\u002Freactome_analysis.py xref-mapping --id TP53 --output\n    \u002Ftmp\u002Fxrefs.json`\n\n## Reference\n\nFor detailed API endpoint documentation, see\n[references\u002Fapi_reference.md](references\u002Fapi_reference.md).\n",{"name":5,"description":7},"main","e71245365df78e06cd166602744bf2491f79910e","research-skills-hub\u002Fscience-skills\u002Freactome_database",0,"https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS","https:\u002F\u002Fpengqianhan.github.io\u002FAI-Human-Research-OS\u002F","https:\u002F\u002Fgithub.com\u002Fpengqianhan","Ph.D. candidate of The University of Auckland, New Zealand","2026-11-14 18:08:16",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add pengqianhan\u002FAI-Human-Research-OS --skill reactome-database",{"tool":39,"command":40},"bunx","bunx skills add pengqianhan\u002FAI-Human-Research-OS --skill reactome-database",{"tool":42,"command":43},"pnpm","pnpm dlx skills add pengqianhan\u002FAI-Human-Research-OS --skill reactome-database","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Freactome_database\u002FSKILL.md",true,[47,53,57],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fapi_reference.md","REFERENCE","参考文档",4156,"https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Freactome_database\u002Freferences\u002Fapi_reference.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcitation.bib",2284,"https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Freactome_database\u002Freferences\u002Fcitation.bib",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"scripts\u002Freactome_analysis.py","SCRIPT","脚本",31209,"https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Freactome_database\u002Fscripts\u002Freactome_analysis.py",[64,71,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M74MWYTHT498SVMN823896T7","workflow-skill-creator","Distills a completed user workflow or interaction into a reusable agent skill. Use when the user asks to turn their workflow, interaction, or multi-step process into a skill, or when they say \"make this a skill\", \"create a skill from what we just did\", \"package this workflow\" or similar. Do not use for creating skills from scratch without an existing workflow (use a generic skill-creator for that).","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fworkflow_skill_creator\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M74MWWVCFZ8HQS8840F1V1FT","uv","Checks whether the uv Python package manager is installed and installs it if missing. Ensures uv is on PATH. Use when another skill requires uv as a prerequisite.","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fuv\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M74MWRH5BTSWZ2C5PCTD5FV9","uniprot-database","Access protein metadata, function, taxonomy, and sequences across UniProtKB, UniParc, and UniRef. Use when searching for proteins, mapping identifiers, or retrieving functional annotations and publications. Don't use for sequence alignment, protein folding, or sequence similarity search (use specialized skills for those tasks).","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Funiprot_database\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M74MWN1D3ER9F1FZPWH8HQC1","unibind-database","Queries the UniBind database for experimentally validated transcription factor (TF) binding sites. Use when retrieving direct TF-DNA interaction datasets, downloading binding site coordinates (BED\u002FFASTA) for local analysis, or listing available datasets by species, cell line, or TF name. Don't use to query specific intervals, locations, genes, motif models or expression data.","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Funibind_database\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M74MWHHB5QZY3NR2FYA1EK4N","ucsc-conservation-and-tfbs","Fetch Evolutionary Conservation scores (phyloP, phastCons) and Transcription Factor Binding Sites (TFBS) from the UCSC Genome Browser. Use when analyzing whether genomic variants or regions are evolutionarily conserved, functionally important, or bounded by TF regulators across major projects (ENCODE, JASPAR, ReMap).","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fucsc_conservation_and_tfbs\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M74MWERYHSY87P21FDMVE6BA","string-database","Query the STRING database for protein-protein interactions (PPIs), functional enrichment, and homology. Use when the user asks about interactions between specific proteins, interaction evidence, confidence scores, protein interaction partners, or pathway enrichments.","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fstring_database\u002FSKILL.md",[],[]]