Closed:Retrieving species information from ensembl bacteria in JSON doesn't work
0
0
Entering edit mode
7.3 years ago
Diego ▴ 50

When I try to retrieve the information with

$wget -O bacterias.txt http://rest.ensemblgenomes.org/info/species?content-type=application/json;compara=bacteria

my download doesn't surpasses the 87%

--2017-01-17 13:27:17--  http://rest.ensemblgenomes.org/info/species?content-type=application/json
Resolviendo rest.ensemblgenomes.org rest.ensemblgenomes.org)... 193.62.192.83
Conectando con rest.ensemblgenomes.org rest.ensemblgenomes.org)[193.62.192.83]:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 14291898 (14M) [application/json]
Grabando a: “bacterias.txt”

bacterias.txt                   86%[=============================================>        ]  11,75M  --.-KB/s   en 2m 15s 

2017-01-17 13:29:41 (89,3 KB/s) - Conexión cerrada en el byte 12320768. Reintentando.

My OS is in Spanish, but I guess you can understand: the download never ends, the connections closes and then wget retries the operation indefinitely.

When I try using xml

wget -O bacterias.txt http://rest.ensemblgenomes.org/info/species?content-type=text/xml;compara=bacteria

everything works fine. Do you know any workaround to get this information in JSON format?

ensemble api REST • 45 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1800 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6