cell-ontology icon indicating copy to clipboard operation
cell-ontology copied to clipboard

Add DOSDP pattern for endocrine cell grouping

Open Copilot opened this issue 3 months ago • 0 comments

Adds pattern for cells that secrete hormones into circulation and are part of the endocrine system.

Pattern Structure

  • Variables: secretion: 'hormone secretion', cell: 'cell'
  • EquivalentTo: Cell capable of hormone secretion with target end location in circulatory system
  • SubClassOf: Part of endocrine system

Implementation

Created src/patterns/dosdp-patterns/endocrineCell.yaml with:

  • Class mappings: CL:0000000 (cell), GO:0046879 (hormone secretion), UBERON:0001009 (circulatory system), UBERON:0000949 (endocrine system)
  • Relation mappings: RO:0002215 (capable of), RO:0002339 (has target end location), BFO:0000050 (part of)
  • Logical axioms combining equivalence class definition and subsumption constraint

Pattern validates against DOSDP schema and generates successfully alongside existing patterns.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add DOSDP pattern for grouping endocrine cell</issue_title> <issue_description>

vars: 
   secretion: 'hormone secretion'
   cell: 'cell'

EquivalentTo: 
 text: %s that 'capable of' some (%s and ('has target end location' some 'circulatory system'))
 vars: 
    - cell
    - secretion

text: 
    subClassOf: part_of some 'endocrine system' (Uberon)
vars: []

Add new pattern to https://github.com/obophenotype/cell-ontology/tree/master/src/patterns/dosdp-patterns (see examples in there + schema https://raw.githubusercontent.com/INCATools/dead_simple_owl_design_patterns/refs/heads/master/src/schema/dosdp_schema.yaml) </issue_description>

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

  • Fixes obophenotype/cell-ontology#1887

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot avatar Nov 24 '25 16:11 Copilot