greenelab / django-genes

A Django package to represent genes
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Change in format for HGNC identifiers. #12

Open rzelayafavila opened 6 years ago

rzelayafavila commented 6 years ago

They used to be just a number, ####, but now they include HGNC: at the beginning, so they look like HGNC:####.

For example, the Homo_sapiens.gene_info used to have values in the dbXrefs that looked like this: HGNC:5, but now they look like this: HGNC:HGNC:5

Therefore, the https://github.com/greenelab/django-genes/blob/master/genes/management/commands/genes_load_geneinfo.py management command now has trouble with this - it saves an extra HGNC Crossref object for every gene.