<div dir="ltr">Hi<div><br></div><div>It seems that the response returned by this endpoint:</div><div><br></div><div><a href="http://rest.ensembl.org/documentation/info/ld_pairwise_get">http://rest.ensembl.org/documentation/info/ld_pairwise_get</a></div><div><br></div><div>does not always respect what is variant id1 and variant id2.</div><div><br></div><div>Example:</div><div><br></div><div><a href="https://rest.ensembl.org/ld/human/pairwise/rs1042779/rs62255400?population_name=1000GENOMES:phase_3:CEU;d_prime=0;r2=0">https://rest.ensembl.org/ld/human/pairwise/rs1042779/rs62255400?population_name=1000GENOMES:phase_3:CEU;d_prime=0;r2=0</a><br></div><div><br></div><div>As per the documentation, I was expecting variant1 = rs1042779, and variant2 = rs62255400 but the actual response is:</div><div><br></div><div>  d_prime: '0.999977'<br>  population_name: 1000GENOMES:phase_3:CEU<br>  r2: '0.271200'<br>  variation1: rs62255400<br>  variation2: rs1042779<br></div><div><br></div><div>The two variants are swapped.</div><div><br></div><div>Can you confirm this is a bug?</div><div><br></div><div>Cheers, Ramiro</div><div><br></div></div>