opencb / cellbase

High-Performance NoSQL database and RESTful web services to access to most relevant biological data
Apache License 2.0
88 stars 53 forks source link

/geneid/info end point not returning expected results #513

Open julie-sullivan opened 4 years ago

julie-sullivan commented 4 years ago

WORKS

http://bioinfo.hpc.cam.ac.uk/cellbase/webservices/rest/v4/hsapiens/feature/gene/BRCA2/info

FAILS

http://bioinfo.hpc.cam.ac.uk/cellbase/webservices/rest/v4/hsapiens/feature/gene/ENSG00000221181/info http://bioinfo.hpc.cam.ac.uk/cellbase/webservices/rest/v4/hsapiens/feature/gene/AC078899.5/info

WORKS

http://bioinfo.hpc.cam.ac.uk/cellbase/webservices/rest/v4/hsapiens/feature/gene/search?id=ENSG00000221181 http://bioinfo.hpc.cam.ac.uk/cellbase/webservices/rest/v4/hsapiens/feature/gene/search?name=AC078899.5

It looks like gene/info uses xrefs but that gene has none.

Should this gene have xrefs? or should our query be looking at gene ID too?

julie-sullivan commented 4 years ago

https://www.ensembl.org/Homo_sapiens/Gene/Idhistory?g=ENSG00000221181 This gene does not exist, and shouldn't be in CellBase.