Skip to content

Commit

Permalink
Merge pull request #121 from monarch-initiative/change-hgnc-prefix
Browse files Browse the repository at this point in the history
Change HGNC URI prefix
  • Loading branch information
twhetzel authored Aug 27, 2024
2 parents 1623707 + 8684cf3 commit bf1053e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion omim2obo/namespaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
GENBANK = Namespace('http://www.ncbi.nlm.nih.gov/nuccore/') # NCBI nucleotide sequences
# HGNC = Namespace('http://www.genenames.org/cgi-bin/gene_symbol_report?hgnc_id=') # pre drupal site
# HGNC = Namespace('https://www.genenames.org/data/gene-symbol-report/#!/hgnc_id/HGNC:') # HUGO Gene Nomenclature Committee (Human)
HGNC = Namespace('https://identifiers.org/hgnc/') # HUGO Gene Nomenclature Committee (Human)
HGNC = Namespace('http://identifiers.org/hgnc/') # HUGO Gene Nomenclature Committee (Human)
HGNC_symbol = Namespace('https://www.genenames.org/data/gene-symbol-report/#!/hgnc_id/') # HUGO Gene Nomenclature Committee (Human)
IMPC = Namespace('https://www.mousephenotype.org/data/genes/') # International Mouse Phenotyping Consortium (MGI:nnn)
IMPC_PIPE = Namespace('https://www.mousephenotype.org/impress/PipelineInfo?id=') # <pipeline-key>
Expand Down
2 changes: 1 addition & 1 deletion sparql/mondo-omim-genes.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ WHERE
owl:someValuesFrom ?omim_gene
] .
?omim_gene skos:exactMatch ?hgnc_id .
FILTER(STRSTARTS(STR(?hgnc_id), "https://identifiers.org/hgnc/"))
FILTER(STRSTARTS(STR(?hgnc_id), "http://identifiers.org/hgnc/"))
FILTER(STRSTARTS(STR(?mondo_id), "http://purl.obolibrary.org/obo/MONDO_"))
BIND(REPLACE(STR(?omim_disease), "https://omim.org/entry/", "OMIM:") AS ?omim_disease_xref)
}

0 comments on commit bf1053e

Please sign in to comment.