Your mzML file contains only chromatograms, not spectra, because MSConvert detected you acquired an SRM experiment. I would be surprised if there was any content in the produced MGF file. To obtain spectra, you have to pass the --srmAsSpectra
flag to MSConvert on the command line. This option isn’t available from the GUI.
Alternatively, if you want to work with those chromatograms, the mzML reader will work with those with only a small adjustment:
from pyteomics import mzml, auxiliary
with mzml.MzML(path) as reader:
for chrom in reader.iterfind("chromatogram"):
auxiliary.print_tree(chrom)
Neither mzML nor MGF produce data that fit in a DataFrame
.
--
You received this message because you are subscribed to the Google Groups "Pyteomics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyteomics+...@googlegroups.com.
To post to this group, send email to pyte...@googlegroups.com.
Visit this group at https://groups.google.com/group/pyteomics.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyteomics/0de28b42-1d21-4b57-a820-84ffbdd9ee48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Pyteomics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyteomics+...@googlegroups.com.
To post to this group, send email to pyte...@googlegroups.com.
Visit this group at https://groups.google.com/group/pyteomics.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyteomics/25fab274-08ee-411b-bfc6-d68175cf909d%40googlegroups.com.