Repository navigation
Description
I am a new openMS user trying to extract ion chromatograms from a large batch of mzML files acquired from an MS1-only qTOF instrument (Sciex), and to convert them to a plain-text format. I suspect I am looking for the dumbest behavior possible: I'd like to specify target m/zs, an m/z tolerance, and maybe an RT range, and have openMS look inside each input mzML file, and output chromatograms in a format that I can use for plotting (e.g. with ggplot2 in R or similar). An ideal format would be CSV two columns per input mzML file, one for time and the other for intensity. I'm really attracted to the command-line usability and modularity of openMS, but couldn't figure out how to do this task. Here are several independent approaches I tried, but none so far has worked as well as I'd hoped:
-
EICExtractor. This function seems to simultaneously extract and integrate peaks of interest. I'm not looking for peak integrals / areas, just the EIC data. So potentially I was mislead by the name of this function. -
TargetedFileConverterto convert a TSV file with my m/zs of interest to TraML, followed byOpenSwathChromatogramExtractorto generate an mzML output file, followed byFileConverterto convert to CSV. This did not work becauseFileConvertercannot generate CSV output from mzML. Also, it seems to lump multiple m/z values into the same chromatogram, which makes sense for SWATH but not for the generic case of arbitrary m/z values.
It took me a bit of searching to figure out that 2 was the preferred approach, since initially I assumed that this function was irrelevant for me since I did not have SWATH data. I was able to generate an mzML file with this approach, which seems to contain all the data I need, but was hoping to avoid having to use any other MS analysis programs to read these chromatogram-containing mzML files.
Is there another approach I should try? Any pointers or help appreciated.
Activity
tentrillion commentedon May 26, 2020
Also, perhaps a minor bug in
TargetedFileConverter: it crashes with an error when there are less than 8 columns in the input TSV. I was able to fix it by adding more columns (e.g.Annotation) which are listed as not being required, but it does seem like 8 columns are required, which is not what the documentation says.tentrillion commentedon Mar 18, 2025
Closing due to inactivity