saketkc / pysradb

Package for fetching metadata and downloading data from SRA/ENA/GEO
https://saketkc.github.io/pysradb
BSD 3-Clause "New" or "Revised" License
303 stars 49 forks source link

[BUG] No results returned from db #172

Closed forrest1988 closed 1 year ago

forrest1988 commented 1 year ago

I noticed Today that there might be some issue with the database from which the detailed query information is being downloaded. E.g. the command like this works:

pysradb gse-to-srp GSE27322

study_alias   study_accession
GSE27322 SRP005845

but then command like this does not: pysradb metadata SRP005845 --detailed outputs: Unable to parse xml response. Received: OrderedDict([('EXPERIMENT_PACKAGE_SET', OrderedDict([('Error', 'Internal Server Error (db)')]))])

Also while searching like that: pysradb search --query 'SRP005845' -o search.tsv --detailed

I receive progress bar: 100%|█████████████████| 4/4 [00:00<00:00, 16.55it/s]

but the result search.tsv file is empty.


The pysradb version that I use is 1.4.2

Please let me know if I could provide you any more details to help you find the cause


Once again thanks for your awesome go-to package for automating the public NGS data downloads!

saketkc commented 1 year ago

Thanks, I can reproduce this error. I think this is due to NCBI's API response. These errors usually get fixed within a day on their own, so I will keep a watch.

forrest1988 commented 1 year ago

Git it, good to know, thanks a lot @saketkc !

forrest1988 commented 1 year ago

.

saketkc commented 1 year ago

Closing as it seems to have been resolved #173