Skip to content

Commit

Permalink
Fixes #1389 (#1803)
Browse files Browse the repository at this point in the history
* Fixes #1389

* update template

---------

Co-authored-by: Anita Caron <[email protected]>
  • Loading branch information
dosumis and anitacaron authored May 12, 2023
1 parent 08e5489 commit cda37b7
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions src/patterns/dosdp-patterns/neuronHasSomaLoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
pattern_name: neuronHasSomaLoc
pattern_iri: http://purl.obolibrary.org/obo/cl/cellHasSomaLoc

description: "Use this template to define a class of neurons by a combination of
gross type and soma locataion. e.g. cortical interneuron."
# examples:
# - http://purl.obolibrary.org/obo/CL_0008031 # cortical interneuron
# - http://purl.obolibrary.org/obo/FBbt_00003702 # adult optic lobe neuron

contributors:
- https://orcid.org/0000-0002-6601-2165 # Christopher Mungall
- https://orcid.org/0000-0002-7073-9172 # David Osumi-Sutherland

classes:
neuron: "CL:0000540"
anatomical entity: "UBERON:0001062"

relations:
has soma location: "RO:0002100"

annotationProperties:
xref: oio:hasDbXref

vars:
neuron: "'neuron'"
anatomical_entity: "'anatomical entity'"

data_list_vars:
pubs: "'xref'"
# Use this for recording reference using PMID/DOIS

name:
text: "%s of %s"
vars:
- neuron
- anatomical_entity

def:
text: "Any %s whose soma is located in a(n) %s."
vars:
- neuron
- anatomical_entity
annotations:
- annotationProperty: xref
value: pubs

equivalentTo:
text: "%s and ('has soma location' some %s)"
vars:
- neuron
- anatomical_entity

0 comments on commit cda37b7

Please sign in to comment.