[ensembl-dev] Ensembl REST API | linkage disequilibrium

Anja Thormann anja at ebi.ac.uk
Wed Oct 9 18:00:51 BST 2019


Hi Ramiro,

our script <https://github.com/Ensembl/ensembl-variation/blob/release/98/C_code/ld_vcf.c#L44> for calculating LD filters out results with r2 values that are smaller than 0.05. I will need to update the documentation for choosing a threshold for the r2 value to reflect that.

Best wishes,
Anja

> On 9 Oct 2019, at 17:42, Ramiro Magno <ramiro.magno at gmail.com> wrote:
> 
> Hi Devs,
> 
> I was expecting to retrieve the LD between these two variants rs7707921 and rs10036319:
> 
> https://rest.ensembl.org/ld/homo_sapiens/pairwise/rs7707921/rs10036319?population_name=1000GENOMES:phase_3:CEU;d_prime=0;r2=0 <https://rest.ensembl.org/ld/homo_sapiens/pairwise/rs7707921/rs10036319?population_name=1000GENOMES:phase_3:CEU;d_prime=0;r2=0>
> 
> But nothing is returned. These variants are both on chromosome 5 and within the threshold distance.
> 
> Many thanks!
> 
> RM
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org
> Ensembl Blog: http://www.ensembl.info/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20191009/6a2837b4/attachment.html>


More information about the Dev mailing list