compomics / ms2rescore

Modular and user-friendly platform for AI-assisted rescoring of peptide identifications
https://ms2rescore.readthedocs.io
Apache License 2.0
39 stars 14 forks source link

Could not find matching spectra #140

Open JesusCastano01 opened 3 months ago

JesusCastano01 commented 3 months ago

Hi, I've been trying to run MS2Rescore from the Command Line, and I ran into an issue. I'm using MaxQuant search results, and it looks like I have to specify something for the parameters below, which are currently set at "null."

"psm_id_pattern": null, "spectrum_id_pattern": null,

I've checked the documentation, but I haven't been able to find a solution to this. There's an example for MGF, but not for MaxQuant. Do you have any ideas about how to solve this problem?

I'd appreciate any advice.

image

This is what my config.json file looks like, just in case it's useful.

image

RalfG commented 2 months ago

Hi @JesusCastano01,

You will indeed have to set one (or both) of those settings. Could you share the top of the MaxQuant msms.txt file and a section of an mzML file that contains a spectrum header? Depending on what the spectra are named in both files, we need to set regular expression patterns to match the two to each other.

Best, Ralf