monarch-initiative / monarch-ingest

Data ingest application for Monarch Initiative knowledge graph using Koza
https://monarchinitiative.org
15 stars 2 forks source link

Ingest for HGNC Gene unnecessarily needs taxon-label map #597

Closed DnlRKorn closed 3 months ago

DnlRKorn commented 3 months ago

https://github.com/monarch-initiative/monarch-ingest/blob/4544837a713497d44d41fcd84ef9307b37cd6194/src/monarch_ingest/ingests/hgnc/gene.py#L6

We pull in the entirety of taxon-labels which has a relatively complex build process, and all this is used to do is grab the term "Homo sapiens" from the dictionary with a hard coded taxon.

https://github.com/monarch-initiative/monarch-ingest/blob/4544837a713497d44d41fcd84ef9307b37cd6194/src/monarch_ingest/ingests/hgnc/gene.py#L27-L28