I am trying to import mm10 ChIP BED file datasets from GEO for use with:
enrichPeakOverlap
downloadGEObedFiles(genome="mm10", destDir = getwd())
However I am getting the following errors, not sure what the issue is:
trying URL 'ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM1308nnn/GSM1308182/suppl/GSM1308182_HaloSox2D.bed.gz' Content type 'unknown' length 103463 bytes (101 KB) ================================================== trying URL 'ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM1386nnn/GSM1386022/suppl/GSM1386022_4cell_mc_CG_raw.bedGraph.gz' Error in download.file(fnames[i], destfile = destfiles[i], mode = "wb") : cannot open URL 'ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM1386nnn/GSM1386022/suppl/GSM1386022_4cell_mc_CG_raw.bedGraph.gz' In addition: Warning message: In download.file(fnames[i], destfile = destfiles[i], mode = "wb") : cannot open URL 'ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM1386nnn/GSM1386022/suppl/GSM1386022_4cell_mc_CG_raw.bedGraph.gz': FTP status was '550 Requested action not taken; file unavailable'
So basically it downloads about 10 files and then quits on this one because I guess it can't locate it. Any way around this?