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

Error running ms2query #254

Open
ShinyBasu opened this issue Sep 27, 2024 · 3 comments
Open

Error running ms2query #254

ShinyBasu opened this issue Sep 27, 2024 · 3 comments

Comments

@ShinyBasu
Copy link

Hello,
Python
Python
I have been trying to process .mgf files generated with MZMine with ms2query. I got the following error (detailed screenshot attached below):
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

I have precious little experience with Python and any tips on fixing this would be greatly appreciated.

@niekdejonge
Copy link
Collaborator

Hi @ShinyBasu, I don't directly recognize the error. But it sounds like the model you are loading in might be of an incorrect format. Did you download the models by running:
ms2query --library .\folder_to_store_the_library --download --ionmode positive

You can replace the .\folder_to_store_the_library with the location where you want to store the library.

after that you can run:
ms2query --spectra .\Blanks_MZMine --library .\folder_to_store_the_library --ionmode positive

@ShinyBasu
Copy link
Author

ShinyBasu commented Sep 27, 2024 via email

@ShinyBasu
Copy link
Author

ShinyBasu commented Sep 27, 2024 via email

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

No branches or pull requests

2 participants