EBISPOT / goci

GWAS Catalog Ontology and Curation Infrastructure
Apache License 2.0
26 stars 19 forks source link

Discrepancies between GWAS diagram trait categories in download and API #201

Open JalMacArthur opened 4 years ago

JalMacArthur commented 4 years ago

There are discrepancies between the parent term in the download file, which should be the category the EFO trait is mapped to on the diagram, and the parent tern provided by the rest API. Each EFO only maps to one category on the diagram so each data source should only display one parent term and these should be the same.

This was reported by user (Laurent Gil) see email thread "GWAS diagram trait categories [EXT]"

Hi Jackie,

It looks like that there are some discrepancies between the data in the file and the REST API calls: e.g.:

I believe this is due to the multiple parents on the ontologies and possibly different algorithms for the export file and the REST API.

I will see how it works with our PGS traits.

Thanks,

Laurent

ens-lgil commented 4 years ago

As a side note, it seems that the discrepancy only occurs for the high level traits, e.g.:

The REST API seems to return the same trait instead of the "generic" parent, which is more informative than the reported parent: e.g. for EFO_0000319 (cardiovascular disease)