-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
included
/ formerly
refactor
#167
base: develop
Are you sure you want to change the base?
Changes from 1 commit
5ec1680
6a68607
e806fe2
5edfeb0
95f78c2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,7 +164,7 @@ def omim2obo(use_cache: bool = False): | |
# - Non-OMIM triples | ||
graph.add((URIRef('http://purl.obolibrary.org/obo/mondo/omim.owl'), RDF.type, OWL.Ontology)) | ||
graph.add((URIRef(oboInOwl.hasSynonymType), RDF.type, OWL.AnnotationProperty)) | ||
graph.add((URIRef(MONDONS.omim_included), RDF.type, OWL.AnnotationProperty)) | ||
graph.add((URIRef(MONDONS.includedEntryInOMIM), RDF.type, OWL.AnnotationProperty)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Snake or camel case
Originally we were doing snake case, but then we 3 met a few weeks ago and coming out of that meeting, determined this and Edit: <owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/mondo#CLINGEN_LABEL">
<rdfs:subPropertyOf rdf:resource="http://www.geneontology.org/formats/oboInOwl#SynonymTypeProperty"/>
</owl:AnnotationProperty> @twhetzel Can make the judgement on this one? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Based on this, I think UPPER_SNAKE_CASE is best. |
||
graph.add((URIRef(OMO['0003000']), RDF.type, OWL.AnnotationProperty)) | ||
graph.add((BIOLINK['has_evidence'], RDF.type, OWL.AnnotationProperty)) | ||
graph.add((TAX_URI, RDF.type, OWL.Class)) | ||
|
@@ -252,7 +252,7 @@ def omim2obo(use_cache: bool = False): | |
if label_endswith_included_alt or label_endswith_included_inc: | ||
graph.add((omim_uri, RDFS['comment'], Literal(included_detected_comment))) | ||
for included_label in cleaned_inc_labels: | ||
graph.add((omim_uri, URIRef(MONDONS.omim_included), Literal(label_cleaner.clean(included_label, abbrev)))) | ||
graph.add((omim_uri, URIRef(MONDONS.includedEntryInOMIM), Literal(label_cleaner.clean(included_label, abbrev)))) | ||
|
||
# Gene ID | ||
# Why is 'skos:exactMatch' appropriate for disease::gene relationships? - joeflack4 2022/06/06 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename
Discussed w/ Nico today. These are not the same.We need to keep both.
omim_included
toomimIncluded
orOMIM_INCLUDED
(see: comment)includedEntryInOMIM