You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
first off I want to express my appreciation that you developed this package. Up to now I would convert with msconvert to mzML and then import with mzR. The loss of the spectrum header data in this process always annoyed me.
With that being said I have noticed the following with a file of 135 MB acquired on an Orbitrap Elite in MS1 mode, m/z 50 -2000, 8796 scans. On a PC with 16 GB memory reading the whole file with
>spec<-rawrr::readSpectrum(files,scan=1:8796)
Error in .rawrrSystem2Source(rawfile, input = scan, rawrrArgs = "scans", :
Parsing the output of 'C:\Users\operator\AppData\Local/R/cache/R/rawrr/rawrrassembly/rawrr.exe' failed for an unknown reason.
Please check the debug files:
C:\Users\operator\AppData\Local\Temp\RtmpQVfxD5\file291814a545c5.stderr
C:\Users\operator\AppData\Local\Temp\RtmpQVfxD5\file291829ef2f34.stdout
and the System Requirements
Object sizes are 814 kB for beRaw (full file) and 179 MB for spec (1/3 of file) which brings me to the reason for my issue post. The rtime and the mzslots of all spectra are empty in beRaw:
>beRaw
MsBackendRawFileReader with 8796 spectra
msLevel rtime scanIndex
<integer> <numeric> <integer>
1 1 NA 1
2 1 NA 2
3 1 NA 3
4 1 NA 4
5 1 NA 5
... ... ... ...
8792 1 NA 8792
8793 1 NA 8793
8794 1 NA 8794
8795 1 NA 8795
8796 1 NA 8796
... 26 more variables/columns.
file(s):
02_eggpep.raw
>mz(beRaw)
NumericList of length 8796
[[1]] numeric(0)
[[2]] numeric(0)
[[3]] numeric(0)
[[4]] numeric(0)
[[5]] numeric(0)
[[6]] numeric(0)
[[7]] numeric(0)
[[8]] numeric(0)
[[9]] numeric(0)
[[10]] numeric(0)
...
<8786 more elements>
Am I doing something wrong here with my MS data or is this a bug in MsBackendRawFileReader . And I know it is not the right place but can anything be done about the memory hunger of rawrr::readSpectrum? I can read in several of files like the above with MSnbase::readMSData without a problem.
EDIT:
I just realized that peaksData(beRaw) does provide the mz values albeit very, very slowly and without the rtime.
ANOTHER EDIT:
Is data read in with MsBackendRawFileReader "on-disk" or "in-memory"? That is not clear from the help documentation but looking at the object size it appears to be "on-disk".
The text was updated successfully, but these errors were encountered:
Hi,
first off I want to express my appreciation that you developed this package. Up to now I would convert with
msconvert
to mzML and then import withmzR
. The loss of the spectrum header data in this process always annoyed me.With that being said I have noticed the following with a file of 135 MB acquired on an Orbitrap Elite in MS1 mode, m/z 50 -2000, 8796 scans. On a PC with 16 GB memory reading the whole file with
fails. The following works:
Object sizes are 814 kB for
beRaw
(full file) and 179 MB forspec
(1/3 of file) which brings me to the reason for my issue post. Thertime
and themz
slots of all spectra are empty inbeRaw
:In
spec
those slots are filled with data:Am I doing something wrong here with my MS data or is this a bug in
MsBackendRawFileReader
. And I know it is not the right place but can anything be done about the memory hunger ofrawrr::readSpectrum
? I can read in several of files like the above withMSnbase::readMSData
without a problem.EDIT:
I just realized that
peaksData(beRaw)
does provide the mz values albeit very, very slowly and without the rtime.ANOTHER EDIT:
Is data read in with
MsBackendRawFileReader
"on-disk" or "in-memory"? That is not clear from the help documentation but looking at the object size it appears to be "on-disk".The text was updated successfully, but these errors were encountered: