[ensembl-dev] Ensembl REST API | Imprecision in documentation of ld/:species/region/:region/:population_name?
anja at ebi.ac.uk
Thu Jul 18 10:29:49 BST 2019
thank you for reporting this. We reduced the maximum allowed region size because of timeout problems we encountered for larger regions. We will need to update our documentation accordingly. If you want to work with larger regions I recommend using our LD perl script <https://github.com/Ensembl/ensembl-variation/tree/release/97/tools/linkage_disequilibrium>.
> On 17 Jul 2019, at 17:59, Ramiro Magno <ramiro.magno at gmail.com> wrote:
> Hi :)
> The documentation http://rest.ensembl.org/documentation/info/ld_region_get <http://rest.ensembl.org/documentation/info/ld_region_get> says the query region max size is 1Mb.
> Yet https://rest.ensembl.org/ld/human/region/1:1..500001/1000GENOMES:phase_3:CEU? <https://rest.ensembl.org/ld/human/region/1:1..500001/1000GENOMES:phase_3:CEU?> returns:
> a 400 response: error: "Specified region is too large. Maximum allowed size for region is 500KB."
> Best regards, 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...
More information about the Dev