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] #192

Closed andrewdavidsmith closed 1 year ago

andrewdavidsmith commented 1 year ago

Describe the bug Example command from the README.rst is not working on a fresh install.

To Reproduce Steps to reproduce the behavior:

pip install pysradb;
pysradb metadata SRP000941 --detailed | grep 'study\|RNA-Seq' | pysradb download

Desktop (please complete the following information):

The supplied url column "None" cannot be found.

Using recommended_url instead.

Checking download URLs Key error for: ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/sra/SRR/SRR020/SRR020285 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007166/SRR020285 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007166.sra Key error for: ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/sra/SRR/SRR020/SRR020286 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007168/SRR020286 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007168.sra Key error for: ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/sra/SRR/SRR020/SRR020287 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007165/SRR020287 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007165.sra Key error for: ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/sra/SRR/SRR020/SRR020288 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007165/SRR020288 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007165.sra Key error for: ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/sra/SRR/SRR020/SRR020289 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007165/SRR020289 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007165.sra Key error for: ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/sra/SRR/SRR020/SRR020290 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007165/SRR020290 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007165.sra Key error for: ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/sra/SRR/SRR020/SRR020291 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007165/SRR020291 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007165.sra Key error for: ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/sra/SRR/SRR020/SRR020292 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007167/SRR020292 SRP000941 UCSD Human Reference Epigenome Mapping Project SRX007167.sra

saketkc commented 1 year ago

Thanks, the fix is now on develop branch.