mzml how to get RT

17 views
Skip to first unread message

manto...@gmail.com

unread,
Aug 8, 2019, 5:02:43 AM8/8/19
to Pyteomics
Hi~
I load the mzML file but I do not know how to get the spectrum RT. Only in this way: f[0]['scanList']['scan'][0]['scan start time']?
Thanks.

Lev Levitsky

unread,
Aug 8, 2019, 5:18:31 AM8/8/19
to Pyteomics
Hi,

yes, that sounds right. The dictionaries produced by the parser reflect the file structure. If you find yourself typing this particular lookup too often, I suggest writing a one-line function for that.

Best regards,
Lev
Reply all
Reply to author
Forward
0 new messages