-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include XAO life stage terms in collected-lifestages.
Ensure that collected/composite-lifestages contains the life stage terms from the Xenopus Anatomy Ontology. This requires a custom step in which we extract all XAO life-stage terms (all terms under XAO:1000000, including XAO:1000000 itself) and create bridging axioms between those terms and the corresponding Uberon terms.
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# This ruleset creates a special bridge for just the life stage terms | ||
# of XAO. | ||
prefix BFO: <http://purl.obolibrary.org/obo/BFO_> | ||
prefix NCBITaxon: <http://purl.obolibrary.org/obo/NCBITaxon_> | ||
prefix UBERON: <http://purl.obolibrary.org/obo/UBERON_> | ||
prefix XAO: <http://purl.obolibrary.org/obo/XAO_> | ||
|
||
declare(NCBITaxon:8353); | ||
declare(BFO:0000066, /type="object_property"); | ||
|
||
# Looking for any exact cross-species mapping between a Uberon term and | ||
# a XAO term below "Xenopus developmental stage" (XAO:1000000). | ||
subject==UBERON:* predicate==semapv:crossSpeciesExactMatch is_a(%{object_id}, XAO:1000000) -> { | ||
annotate(%{object_id}, IAO:0000589, "%{subject_label} (xenopus)"); | ||
create_axiom("%object_id EquivalentTo: %subject_id and (BFO:0000066 some NCBITaxon:8353)"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters