Skip to content

Commit

Permalink
Add mesh and mondo fields to mapping. (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo authored Dec 26, 2023
1 parent 0745adb commit 643995d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/hub/dataload/sources/clinvar/clinvar_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,14 @@ def get_mapping(klass):
"human_phenotype_ontology": {
"type": "text",
"analyzer": "string_lowercase"
},
"mondo": {
"type": "text",
"analyzer": "string_lowercase"
},
"mesh": {
"type": "text",
"analyzer": "string_lowercase"
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions static/context/context.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"clinvar.rcv.conditions.identifiers.omim": "http://identifiers.org/omim/",
"clinvar.rcv.conditions.identifiers.efo": "http://identifiers.org/efo/",
"clinvar.rcv.conditions.identifiers.orphanet": "http://identifiers.org/orphanet/",
"clinvar.rcv.conditions.identifiers.mesh": "http://identifiers.org/mesh/",
"clinvar.rcv.conditions.identifiers.mondo": "http://identifiers.org/mondo/",
"clinvar.gene.symbol": "http://identifiers.org/hgnc.symbol/",
"clinvar.gene.id": "http://identifiers.org/ncbigene/",
"dbnsfp.rsid": "http://identifiers.org/dbsnp/",
Expand Down

0 comments on commit 643995d

Please sign in to comment.