sneumann / xcms

This is the git repository matching the Bioconductor package xcms: LC/MS and GC/MS Data Analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seeking advices about data importing

Babyfaceout opened this issue · comments

I need some advice about data importing,It's very important to me.
here is the original text from xcms guidline:
xcms supports analysis of any LC-MS(/MS) data that can be imported with the Spectra package. Such data will typically be provided in (AIA/ANDI) NetCDF, mzXML and mzML format but can, through dedicated extensions to the Spectra package, also be imported from other sources, e.g. also directly from raw data files in manufacturer’s formats.
I wonder if there are any suggestions about dedicated extensions. I have searched for a long time, but I have found nothing.
I am looking forward to your reply!

It's probably easier to help you if you state what you want to do.

Thank you for your reply!
I want to use raw data files in manufacturer’s formats without msconvert.
because I can't install docker in my linux. I wouder if there are any packages or modules can convert raw file to mzxml from manufacturer’s formats, or just parsing raw data files in manufacturer’s formats directly before using xcms.
looking forward to your reply!
yours sincerely,
edison

Which vendor ? Yours, Steffen

Which vendor ? Yours, Steffen

thermo QE HFX
yours sincerely,

Thermo raw files can be imported/used with the MsBackendRawFileReader.

With that you should be able to read MS data from the raw files. See the documentation from the package for more information.

With xcms, you need to load the data as an MsExperiment. You should be able to do that with the code below.

library(xcms)
library(MsExperiment)
library(MsBackendRawFileReader)

mse <- readMsExperiment(fls, source = MsBackendRawFileReader())

where fls should be the file names of your raw files. If that works you should be able to work directly with the raw files.

Note that I've never tried it and I don't know how complicated it is to get the MsBackendRawFileReader installed and working. Maybe installing Proteowizard and using its (gui) msconvert functionality to convert raw to mzML might turn out to be easier.