Open rzelayafavila opened 6 years ago
They used to be just a number, ####, but now they include HGNC: at the beginning, so they look like HGNC:####.
####
HGNC:
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
HGNC:5
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.
HGNC
They used to be just a number,
####
, but now they includeHGNC:
at the beginning, so they look likeHGNC:####
.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.