Skip to content

Conversation

@vagisha
Copy link
Collaborator

@vagisha vagisha commented Feb 3, 2025

Rationale

<ModificationList> element in the XML submitted to ProteomeXchange requires at least one cvParam subelement. https://proteomecentral.proteomexchange.org/schemas/proteomeXchange-1.4.0.html#ModificationList. We can add cvParam subelements only for modifications that have a Unimod Id. XML generated for datasets that do not have any modifications with Unimod Ids fail validation on the ProteomeXchange server.

Changes

  • If there are no modifications with Unimod Ids, write the following subelement.
    <cvParam cvRef="MS" accession="MS:1002864" name="No PTMs are included in the dataset"/>

…odifications with Unimod Ids. Instead write:

<cvParam cvRef="MS" accession="MS:1002864" name="No PTMs are included in the dataset"/> so that we do not get XML validations errors from ProteomeXchange.
Modifications without Unimod Ids are not supported by ProteomeXchange so we skip writing them to the XML file that is submitted to ProteomeXchange.
@vagisha vagisha merged commit fe000c3 into release24.11-SNAPSHOT Feb 4, 2025
3 checks passed
@vagisha vagisha deleted the 24.11_fb_fix-pxxml-when-no-unimod-mods branch February 4, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants