sneumann / mzR

This is the git repository matching the Bioconductor package mzR: parser for netCDF, mzXML, mzData and mzML files (mass spectrometry data)
40 stars 26 forks source link

Support for compressed data #231

Open shubham1637 opened 3 years ago

shubham1637 commented 3 years ago

Hi, I just installed the latest mzR (version 2.23.1) to open a compressed mzML file. Before this version, I used to get the error (#170 and #229 ) related to Invalid cvParam accession, which has been fixed (Thanks a lot). I get a new error due to compressed data:

> mz <- mzR::openMSfile("file.chrom.mzML")
Error: Can not open file file.chrom.mzML! Original error was: Error in pwizModule$open(filename): [IO::HandlerBinaryDataArray] Unknown compression type.

> devtools::session_info()
 mzR            2.23.1  2020-09-10 [1] Github (sneumann/mzR@39380f5)

I see that pwiz module does have the numpress related code. I am not sure if there is any disconnect related to compression in mzR. Once I decompress, it can be easily accessed using mzR, however, the file size is twice as big now.