-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
My goal is to get a complete listing of analyses for accession=408169.
I was previously using these commands:
wget "https://www.ebi.ac.uk/ena/portal/api/links/taxon?accession=408169&result=analysis&download=true&subtree=true&offset=0"
wget "https://www.ebi.ac.uk/ena/portal/api/links/taxon?accession=408169&result=analysis&download=true&subtree=true&offset=100000"
wget "https://www.ebi.ac.uk/ena/portal/api/links/taxon?accession=408169&result=analysis&download=true&subtree=true&offset=200000"But I get the error:
Resolving www.ebi.ac.uk (www.ebi.ac.uk)... 193.62.193.80
Connecting to www.ebi.ac.uk (www.ebi.ac.uk)|193.62.193.80|:443... connected.
HTTP request sent, awaiting response... 500
2024-06-08 18:15:19 ERROR 500: (no description).I'm able to download a small list of accessions by adding limit=10000:
wget "https://www.ebi.ac.uk/ena/portal/api/links/taxon?accession=408169&result=analysis&download=true&subtree=true&offset=0&limit=10000" -O testBut this fails when I increase the offset:
wget "https://www.ebi.ac.uk/ena/portal/api/links/taxon?accession=408169&result=analysis&download=true&subtree=true&offset=10000&limit=10000"
Resolving www.ebi.ac.uk (www.ebi.ac.uk)... 193.62.193.80
Connecting to www.ebi.ac.uk (www.ebi.ac.uk)|193.62.193.80|:443... connected.
HTTP request sent, awaiting response... 400
2024-06-08 18:48:26 ERROR 400: (no description).Metadata
Metadata
Assignees
Labels
No labels