The pyteomics.ms2.MS2
type in Pyteomics is for reading the plain text ms2 file format. If you have an mzML file, you should use pyteomics.mzml.MzML
instead. If you want to retrieve a scan by its scan number, use reader[scan_number - 1]
, and for retention time reader.time[rt]
. For more information about random access behavior, see https://pyteomics.readthedocs.io/en/latest/data.html#indexed-parsers and https://pyteomics.readthedocs.io/en/latest/data.html#rich-indexing.
Thank you,
Joshua Klein
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/pyteomics/305167d7-8b2d-4f3e-854c-d76d477da5d6n%40googlegroups.com.