mygene.info icon indicating copy to clipboard operation
mygene.info copied to clipboard

Ensembl gene annotations not uniform

Open aiqc opened this issue 11 months ago • 2 comments

If it's possible for multiple ensembl values to be returned, then they should always be a list.

When using fields="symbol,ensembl.type_of_gene"

[
{
    'query': 'ENSG00000283341',
    '_id': 'ENSG00000283341',
    '_version': 1,
    'ensembl': {'type_of_gene': 'lncRNA'}
},
{
    'query': 'ENSG00000199352', 
    '_id': '100169751',
    '_version': 2, 
    'ensembl': [{'type_of_gene': 'rRNA'}, {'type_of_gene': 'rRNA'}], 
    'symbol': 'RNA5S1'
}
]

aiqc avatar Jul 23 '23 18:07 aiqc