Hello,
I want to download this raw data file "PXD000001" from the PRIDE repository. However I faced with the below Error:
library("MSnbase")
library("rpx")
px1 <- PXDataset("PXD000001")
mzf <- pxget(px1, 6)
Downloading 1 file
trying URL 'ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2012/03/PXD000001/README.txt'
Error in download.file(urls[i], toget[i], ...) :
cannot open URL 'ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2012/03/PXD000001/README.txt'
In addition: Warning message:
In download.file(urls[i], toget[i], ...) :
InternetOpenUrl failed: 'The login request was denied
> ms <- openMSfile(mzf)
Error in openMSfile(mzf) : object 'mzf' not found
Can you please advice me how can I fix this problem and successfully download this data into my RStudio?
Thank you very much.
Hello, I have the same exact problem.
I am doing a tutorial about Quantitative Proteomics using rpx to import data an PXDataset keep giving me error in fpt connexion. Is there any way to load all needed data into "px1" without the need to download it from fpt? I downloaded all needed files in local. I both tried from behind a firewall and not.
Thank you very much for your help
gianluigi
Yes, indeed, if you have local files, you can provide their full path as input to the
openMSfile()
function. This is also what happens in the example above, except that the path to the local file is extracted from the rpx cache once it has been downloaded.I would highly advise to have a look at the more recent Bioconductor packages and teaching material, all described in the R for Mass Spectrometry handbook.