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

PeptideShaker error when loading SearchGui output #479

Open
kromer-m opened this issue Feb 9, 2022 · 10 comments
Open

PeptideShaker error when loading SearchGui output #479

kromer-m opened this issue Feb 9, 2022 · 10 comments
Assignees

Comments

@kromer-m
Copy link

kromer-m commented Feb 9, 2022

Hello,
I ran SearchGui search using ThermoRaw converter and MS-GF+. When some files are processed, the loading in PeptideShaker is aborted with following error (from log):

Wed Feb 09 12:31:03 CET 2022: PeptideShaker version 2.2.5. Memory given to the Java virtual machine: 3817865216. Total amount of memory in the Java virtual machine: 128974848. Free memory: 113782192. Java version: 1.8.0_311. java.lang.ArrayIndexOutOfBoundsException: 63193 at com.compomics.util.experiment.io.identification.idfilereaders.MzIdentMLIdfileReader.parsePsm(MzIdentMLIdfileReader.java:757) at com.compomics.util.experiment.io.identification.idfilereaders.MzIdentMLIdfileReader.parseFile(MzIdentMLIdfileReader.java:301) at com.compomics.util.experiment.io.identification.idfilereaders.MzIdentMLIdfileReader.getAllSpectrumMatches(MzIdentMLIdfileReader.java:202) at eu.isas.peptideshaker.fileimport.FileImporter.importPsms(FileImporter.java:466) at eu.isas.peptideshaker.fileimport.FileImporter.importFiles(FileImporter.java:277) at eu.isas.peptideshaker.PeptideShaker.importFiles(PeptideShaker.java:219) at eu.isas.peptideshaker.cmd.PeptideShakerCLI.createProject(PeptideShakerCLI.java:1249) at eu.isas.peptideshaker.cmd.PeptideShakerCLI.call(PeptideShakerCLI.java:245) at eu.isas.peptideshaker.cmd.PeptideShakerCLI.main(PeptideShakerCLI.java:1465)

Do you have by any chance, what is going on? Most files are processed without any errors. Thank you!

@hbarsnes hbarsnes self-assigned this Feb 9, 2022
@hbarsnes
Copy link
Member

hbarsnes commented Feb 9, 2022

Hi! Seems like there is an error when parsing the spectrum titles for some of your MS-GF+ mzIdentML files. Any chance you can share one of these files so that we can try to figure out why?

@hbarsnes
Copy link
Member

hbarsnes commented Feb 9, 2022

Oh, and I would also need the corresponding spectrum file (in order to be able to load the data and reproduce the issue).

@kromer-m
Copy link
Author

kromer-m commented Feb 9, 2022

@hbarsnes
Copy link
Member

hbarsnes commented Feb 9, 2022

Did you do the raw file conversion separately outside of SearchGUI? As the mzid file you shared indicates that mgf was used as input, while SearchGUI's internal conversion (using ThermoRawFileParser) rather converts the raw file to mzml with regards to input to MS-GF+.

@kromer-m
Copy link
Author

kromer-m commented Feb 9, 2022

I always did the conversion using SearchGUI to either mzML or mgf. Both formats gave the same error. If I'm not mistaken, MS-GF+ should accept both files.

@hbarsnes
Copy link
Member

hbarsnes commented Feb 9, 2022

Aha, I see. Forgot that we implemented this option directly in SearchGUI. :)

And yes, MS-GF+ does accept both mzml and mgf.

I have no issues loading the shared mzid file though. Perhaps you can also share the converted mgf file just to make sure that there are no differences there? It should be located next to your raw file.

@kromer-m
Copy link
Author

kromer-m commented Feb 9, 2022

@hbarsnes
Copy link
Member

hbarsnes commented Feb 9, 2022

Thanks for sharing the mgf file. It is however identical do mine. Hence I still have no problems loading your mzid file...

Can you delete the file called 220202_MBH_538.cms that should be in the same folder as your mgf file? It contains an index of the spectra in the mgf file and will be regenerated the next time you select the same mgf file in PeptideShaker (or SearchGUI). After deleting the cms file, try loading the data in PeptideShaker again.

@carolinelennartsson
Copy link

carolinelennartsson commented Oct 6, 2022

I am also encountering errors while importing identify files using ms-gf+ in searchGUI. I'm posting this here because it sounds relevant to this thread.

Screenshot 2022-10-06 at 12 09 52

@hbarsnes
Copy link
Member

hbarsnes commented Oct 6, 2022

@carolinelennartsson I'm not sure if this is the same issue after all. Perhaps best of you set up a new issue and share the PeptideShaker log file there?

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

No branches or pull requests

3 participants