[ensembl-dev] Ensembl REST API | Bug in ld/:species/pairwise/:id1/:id2?

Ramiro Magno ramiro.magno at gmail.com
Wed Jul 17 17:41:47 BST 2019


Hi

It seems that the response returned by this endpoint:

http://rest.ensembl.org/documentation/info/ld_pairwise_get

does not always respect what is variant id1 and variant id2.

Example:

https://rest.ensembl.org/ld/human/pairwise/rs1042779/rs62255400?population_name=1000GENOMES:phase_3:CEU;d_prime=0;r2=0

As per the documentation, I was expecting variant1 = rs1042779, and
variant2 = rs62255400 but the actual response is:

  d_prime: '0.999977'
  population_name: 1000GENOMES:phase_3:CEU
  r2: '0.271200'
  variation1: rs62255400
  variation2: rs1042779

The two variants are swapped.

Can you confirm this is a bug?

Cheers, Ramiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20190717/cf76a0a6/attachment.html>


More information about the Dev mailing list