Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyteomics fails to parse mzId files with <Fragmentation> information #33

Closed
jgriss opened this issue Mar 22, 2021 · 3 comments · Fixed by #34
Closed

Pyteomics fails to parse mzId files with <Fragmentation> information #33

jgriss opened this issue Mar 22, 2021 · 3 comments · Fixed by #34

Comments

@jgriss
Copy link

jgriss commented Mar 22, 2021

Hi,

First of all, thanks a lot for this great library!

I recently found that pyteomics can't open mzId files created using PeptideShaker. Iterating of the SpectrumIdentificationResult objects never starts without significant CPU usage.

After I manually removed the <Fragmentation>[...]</Fragmentation> tags from the file, everything worked fine.

Kind regards,
Johannes

@jgriss jgriss changed the title Pyteomics fails to parse mzId files with <FragmentIon> information Pyteomics fails to parse mzId files with <Fragmentation> information Mar 22, 2021
@mobiusklein
Copy link
Contributor

Can you share the original mzIdentML file please? Or a reduced version if it is too large?

@jgriss
Copy link
Author

jgriss commented Mar 23, 2021

Hi @mobiusklein

You can download the file here (it's too big for GitHub):

https://cloudius.meduniwien.ac.at/index.php/s/zt7lZBf4VMTMbwT

Creating the MzIdentML object works. But as soon as I start iterating over it, the iteration never starts.

Thanks a lot for the help!

Kind regards,
Johannes

@mobiusklein
Copy link
Contributor

@jgriss could you please try the branch in PR #34? It should fix your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants