Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 20, 2025

GWAS Catalog contains associations where reported traits mention specific drugs (e.g., "response to mesalamine") but are mapped to generic parent terms like "response to xenobiotic stimulus". This adds precise drug response terms to enable accurate trait annotation.

Changes

New Terms (7)

  • 5 individual drugs: mesalamine, nintedanib, vandetanib, vemurafenib, sunitinib
  • 2 drug classes: GLP-1 receptor agonist, DPP-4 inhibitor
  • IDs: EFO:0920016-0920022
  • Parent: GO:0009410 (response to xenobiotic stimulus)
  • Relationship: has_primary_input (RO:0004009) → ChEBI entity

Terms Not Created (already exist in GO)

  • GO:0097328 (response to carboplatin) - existing GO term
  • GO:0072718 (response to cisplatin) - existing GO term

ChEBI Imports

  • Added 5 new: nintedanib, vandetanib, vemurafenib, GLP-1 receptor agonist, DPP-4 inhibitor
  • Verified 2 existing: mesalamine, sunitinib

Metadata

  • Literature support: ALL 7 terms include PMID dbxrefs (18 PMIDs total)
  • Synonyms: Chemical names and abbreviations use hasExactSynonym; brand names use hasNarrowSynonym

Source
Identified via EBI Knowledge Graph query filtering GWAS associations under GO:0009410 where reported trait was more specific than mapped trait (93 associations analyzed).

Each term includes mechanism-based definition, clinical context, appropriately typed synonyms, and literature references.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add missing drug response terms for GWAS catalog</issue_title>
<issue_description>Using the EBI KG MCP's gwas_traits_reported_different_from_matched tool, find GWAS associations under "response to xenobiotic stimulus" where the reported trait is a more specific drug than the mapped trait, and if the response terms for the drugs don't exist in EFO create new terms using the OLS MCP to find drugs in ChEBI (relation: has_primary_input (RO:0004009)).</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits November 20, 2025 11:47
Added terms for pharmacogenomic responses identified through GWAS Catalog:
- EFO:0920016 response to carboplatin
- EFO:0920017 response to mesalamine
- EFO:0920018 response to cisplatin
- EFO:0920019 response to nintedanib
- EFO:0920020 response to vandetanib
- EFO:0920021 response to vemurafenib
- EFO:0920022 response to sunitinib
- EFO:0920023 response to glucagon-like peptide-1 receptor agonist
- EFO:0920024 response to dipeptidyl-peptidase IV inhibitor

All terms:
- Parent: GO:0042493 (response to drug)
- Include has_primary_input (RO:0004009) relationship to ChEBI terms
- Have complete definitions with drug mechanism information
- Include appropriate synonyms
Copilot AI changed the title [WIP] Add missing drug response terms for GWAS catalog Add 9 drug response terms from GWAS Catalog analysis Nov 20, 2025
Copilot AI requested a review from aleixpuigb November 20, 2025 11:56
@aleixpuigb
Copy link
Collaborator

@copilot it looks great, but unfortunately GO:0042493 (response to drug) is obsoleted. For the parent term, a good starting point would be to use the term that the GWAS catalog was using the EBI KG MCP's gwas_traits_reported_different_from_matched tool to retrieve them.

Also, I can see that the EFO-curator provided many references to support the definition of each term. Could you use that report (no need to search again if you have access) to add dbxrefs to the definition of each term?

Finally, also with the curated terms, some synonyms are the brand name of the drug. In that case it would be great to change the annotation property to 'hasNarrowSynonym' instead of 'hasExactSynonym'.

- Change parent from obsoleted GO:0042493 to GO:0009410 (response to xenobiotic stimulus)
- Add PMID dbxrefs to 4 terms with literature support (cisplatin, sunitinib, GLP-1 agonist, DPP-4 inhibitor)
- Change brand name synonyms from hasExactSynonym to hasNarrowSynonym for 6 terms

Co-authored-by: aleixpuigb <[email protected]>
Copy link
Contributor Author

Copilot AI commented Nov 20, 2025

@copilot it looks great, but unfortunately GO:0042493 (response to drug) is obsoleted. For the parent term, a good starting point would be to use the term that the GWAS catalog was using the EBI KG MC...

Fixed in commit fa31cf2:

  1. Changed parent term from obsoleted GO:0042493 to GO:0009410 (response to xenobiotic stimulus) - the term GWAS Catalog was using
  2. Added PMID dbxrefs to 4 terms with literature support: cisplatin (3 PMIDs), sunitinib (3 PMIDs), GLP-1 receptor agonist (3 PMIDs), DPP-4 inhibitor (4 PMIDs)
  3. Changed 7 brand name synonyms to hasNarrowSynonym: paraplatin, platinol, ofev, vargatef, caprelsa, zelboraf, sutent

@aleixpuigb
Copy link
Collaborator

@copilot two of the terms ('response to carboplatin' and 'response to cisplatin') already exist as GO terms. Therefore, we do not need to create them. Please, make sure that the ID for the rest of new terms are consecutive.

- Removed EFO:0920016 (response to carboplatin) - already exists as GO:0097328
- Removed EFO:0920018 (response to cisplatin) - already exists as GO:0072718
- Renumbered 7 remaining terms to be consecutive (EFO:0920016-0920022):
  - EFO:0920016: response to mesalamine (was EFO:0920017)
  - EFO:0920017: response to nintedanib (was EFO:0920019)
  - EFO:0920018: response to vandetanib (was EFO:0920020)
  - EFO:0920019: response to vemurafenib (was EFO:0920021)
  - EFO:0920020: response to sunitinib (was EFO:0920022)
  - EFO:0920021: response to glucagon-like peptide-1 receptor agonist (was EFO:0920023)
  - EFO:0920022: response to dipeptidyl-peptidase IV inhibitor (was EFO:0920024)
Copy link
Contributor Author

Copilot AI commented Nov 20, 2025

@copilot two of the terms ('response to carboplatin' and 'response to cisplatin') already exist as GO terms. Therefore, we do not need to create them. Please, make sure that the ID for the rest of new...

Fixed in commit bcc3024. Removed EFO:0920016 (carboplatin) and EFO:0920018 (cisplatin) since they already exist as GO:0097328 and GO:0072718. Renumbered the remaining 7 terms to be consecutive (EFO:0920016-0920022): mesalamine, nintedanib, vandetanib, vemurafenib, sunitinib, GLP-1 receptor agonist, DPP-4 inhibitor.

Copilot AI changed the title Add 9 drug response terms from GWAS Catalog analysis Add 7 drug response terms from GWAS Catalog analysis Nov 20, 2025
@aleixpuigb aleixpuigb marked this pull request as ready for review November 20, 2025 17:47
Copy link
Collaborator

@aleixpuigb aleixpuigb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good!

@aleixpuigb
Copy link
Collaborator

aleixpuigb commented Nov 21, 2025

@copilot 4 of the new terms do not have references and it would be good if you add 2 references to each term that support the definitions. Also, please remove the RO term RO:0004009 from src/ontology/iri_dependencies/efo-relations.txt.

…o-relations.txt

- Added PMID:40951082 and PMID:41219776 to EFO:0920016 (response to mesalamine)
- Added PMID:41118026 and PMID:41155824 to EFO:0920017 (response to nintedanib)
- Added PMID:40725174 and PMID:40940449 to EFO:0920018 (response to vandetanib)
- Added PMID:41225509 and PMID:41198656 to EFO:0920019 (response to vemurafenib)
- Removed RO:0004009 from efo-relations.txt (available through OBA import)
Copy link
Contributor Author

Copilot AI commented Nov 21, 2025

@copilot 4 of the new terms do not have references and it would be good if you add 2 references to each term that support the definitions. Also, please remove the RO term RO:0004009 from `src/ontology...

Fixed in commit cdceb55:

  1. Added 2 PMIDs to each of the 4 terms without references (mesalamine: PMID:40951082, PMID:41219776; nintedanib: PMID:41118026, PMID:41155824; vandetanib: PMID:40725174, PMID:40940449; vemurafenib: PMID:41225509, PMID:41198656)
  2. Removed RO:0004009 from efo-relations.txt (already available via OBA import)

All 7 terms now have literature support (18 PMIDs total).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add missing drug response terms for GWAS catalog

2 participants