You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IDFileConverter crashes with PeptideProphet output #3502
Hello,
when running IDFileConverter with PeptideProphet output, the tool crashes.
Conversion from pepXML to idXML; option "peptide_prophet_analyzed" is on
Error message:
C:\jenkins\ws\openms_release_packaging\c2e226b2\source\src\openms\source\FORMAT\HANDLERS\XMLHandler.cpp(110): While loading 'D:\data\Oliver\iprophet-multiplse-search-engines\tandem\interact.pep.xml': Found no experiment with name 'D:\data\Oliver\iprophet-multiplse-search-engines\tandem\2015-02-04-Hek3.mzML'
Error: Unable to read file (While loading 'D:\data\Oliver\iprophet-multiplse-search-engines\tandem\interact.pep.xml': Found no experiment with name 'D:\data\Oliver\iprophet-multiplse-search-engines\tandem\2015-02-04-Hek3.mzML' in: D:\data\Oliver\iprophet-multiplse-search-engines\tandem\interact.pep.xml)
The file (D:\data\Oliver\iprophet-multiplse-search-engines\tandem\2015-02-04-Hek3.mzML) does however exist.
Triage: still reproducible on current develop and with pyopenms 3.5.0.
This is not a crash (IDFileConverter stops with a parse error), and PeptideProphet is not involved: peptideprophet_analyzed only affects pepXML output. Without -mz_name, IDFileConverter passes the full -mz_file path as the experiment name, and PepXMLFile keeps only runs whose base_name ends with exactly that string. It never checks whether the file exists. The TPP writes base_name with forward slashes even on Windows (e.g. c:/Inetpub/... in our TPP test data), so D:\data\...\2015-02-04-Hek3.mzML can never match. The same happens on any OS when the data was moved, or when -mz_file has a directory part and the pepXML stores only the file name.
Workaround for released versions: keep -mz_file for the retention time lookup and add -mz_name 2015-02-04-Hek3 (the file name only).
Fix:#10309. -mz_file is matched by its file name, whole path components are compared with / and \ treated alike, runs of equally named files in different folders are no longer merged silently (the name used to be a raw suffix, so e.g. LN1 selected both L_LN1 and H_LN1), and when nothing matches, the error lists the base_names in the file.
Separate finding, not part of this fix: for enzymes OpenMS does not know, the reader requires no_cut on <specificity>, which the pepXML schema marks optional and OpenMS' own writer omits. OpenMS therefore cannot read back its own pepXML in that case (Required attribute 'no_cut' not present!).
Activity
timosachsenberg commentedon Sep 28, 2026
Triage: still reproducible on current
developand with pyopenms 3.5.0.This is not a crash (IDFileConverter stops with a parse error), and PeptideProphet is not involved:
peptideprophet_analyzedonly affects pepXML output. Without-mz_name, IDFileConverter passes the full-mz_filepath as the experiment name, andPepXMLFilekeeps only runs whosebase_nameends with exactly that string. It never checks whether the file exists. The TPP writesbase_namewith forward slashes even on Windows (e.g.c:/Inetpub/...in our TPP test data), soD:\data\...\2015-02-04-Hek3.mzMLcan never match. The same happens on any OS when the data was moved, or when-mz_filehas a directory part and the pepXML stores only the file name.Workaround for released versions: keep
-mz_filefor the retention time lookup and add-mz_name 2015-02-04-Hek3(the file name only).Fix: #10309.
-mz_fileis matched by its file name, whole path components are compared with/and\treated alike, runs of equally named files in different folders are no longer merged silently (the name used to be a raw suffix, so e.g.LN1selected bothL_LN1andH_LN1), and when nothing matches, the error lists thebase_names in the file.Separate finding, not part of this fix: for enzymes OpenMS does not know, the reader requires
no_cuton<specificity>, which the pepXML schema marks optional and OpenMS' own writer omits. OpenMS therefore cannot read back its own pepXML in that case (Required attribute 'no_cut' not present!).Generated by Claude Code
[TEST] IDFileConverter: select the pepXML run of real SpectraST outpu…
[FIX] IDFileConverter/PepXMLFile: select pepXML runs by file name, se…