Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getSRAdbFile Problem #28

Open
GanQiao1990 opened this issue Dec 11, 2019 · 2 comments
Open

getSRAdbFile Problem #28

GanQiao1990 opened this issue Dec 11, 2019 · 2 comments

Comments

@GanQiao1990
Copy link

Error in download.file(url_sra, destfile = localfile, mode = "wb", method = method) :
srafile = getSRAdbFile(destdir = getwd(), destfile = "SRAmetadb.sqlite.gz", method="auto")
trying URL 'https://s3.amazonaws.com/starbuck1/sradb/SRAmetadb.sqlite.gz'
Error in download.file(url_sra, destfile = localfile, mode = "wb", method = method) :
cannot open URL 'https://s3.amazonaws.com/starbuck1/sradb/SRAmetadb.sqlite.gz'

srafile = getSRAdbFile(destdir = getwd(), destfile = "SRAmetadb.sqlite.gz", method="libcurl")
trying URL 'https://gbnci-abcc.ncifcrf.gov/backup/SRAmetadb.sqlite.gz'
Error in download.file(url_sra, destfile = localfile, mode = "wb", method = method) :
cannot open URL 'https://gbnci-abcc.ncifcrf.gov/backup/SRAmetadb.sqlite.gz'

@seandavi
Copy link
Owner

Hi, @allanharper. This is working for me today. If still not working for you, can you try using curl or accessing from a web browser the amazonaws link?

@cparsania
Copy link

Same problem I am facing today. I also tried downloading from AWS using wget. Didn't work.

library(SRAdb)
sqlfile <- getSRAdbFile()
#> Error in download.file(url_sra, destfile = localfile, mode = "wb", method = method): cannot open URL 'https://gbnci-abcc.ncifcrf.gov/backup/SRAmetadb.sqlite.gz'

Created on 2022-07-19 by the reprex package (v0.3.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants