ms2rescore icon indicating copy to clipboard operation
ms2rescore copied to clipboard

Could not find matching spectra

Open JesusCastano01 opened this issue 1 year ago • 1 comments

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

JesusCastano01 avatar Apr 05 '24 20:04 JesusCastano01

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

RalfG avatar Apr 08 '24 15:04 RalfG

Relevant documentation: https://ms2rescore.readthedocs.io/en/stable/userguide/configuration/#mapping-psms-to-spectra

RalfG avatar Aug 14 '24 08:08 RalfG