Skip to content

IDFileConverter crashes with PeptideProphet output #3502

Closed

Description

@oliverschilling

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.

Thanks for your help!

Activity

  1. added
    major
    on Jul 27, 2018
  2. added this to the Release 2.4 milestone on Jul 27, 2018
  3. timosachsenberg commented on Sep 28, 2026

    @timosachsenberg
    Contributor

    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!).


    Generated by Claude Code

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectmajor

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions