Skip to content

Dissociation method mapping misses the PSI-MS label for HCD (MS:1000422) #722

Closed

Description

@timosachsenberg

create_meta_channel maps DissociationMethod to short names by matching literal strings, but the string it expects for HCD is not the PSI-MS label. SDRFs that annotate HCD correctly therefore fall through to the passthrough branch.

Version

quantms 1.8.0.

Detail

subworkflows/local/create_input_channel/main.nf:87-101:

else if (row.DissociationMethod == "HIGHER ENERGY BEAM-TYPE COLLISION-INDUCED DISSOCIATION") {
    meta.dissociationmethod = "HCD"
}
...
else {
    meta.dissociationmethod = row.DissociationMethod
}

The PSI-MS term for HCD is MS:1000422, whose label is beam-type collision-induced dissociation (with HCD as an exact synonym) — confirmed via OLS:

https://www.ebi.ac.uk/ols4/api/ontologies/ms/terms?obo_id=MS:1000422
  label:    beam-type collision-induced dissociation
  synonyms: ['HCD']

An SDRF annotating comment[dissociation method] as NT=beam-type collision-induced dissociation;AC=MS:1000422 is converted by sdrf-pipelines to BEAM-TYPE COLLISION-INDUCED DISSOCIATION, which does not equal the expected literal. meta.dissociationmethod is then set to that raw string instead of HCD.

HIGHER ENERGY BEAM-TYPE COLLISION-INDUCED DISSOCIATION does not correspond to any PSI-MS label, so the current branch only fires for non-standard annotations.

Impact

  • modules/local/openms/msgf/main.nf:80 passes the value to -fragment_method, so MSGF+ receives an unexpected fragmentation method for correctly-annotated HCD data.
  • subworkflows/local/peptide_database_search/main.nf:42 folds it into the Sage batching group key, so runs that are chemically identical can be grouped inconsistently depending on how the SDRF spelled the term.
  • Comet is unaffected — it does not consume the field.

Prevalence

In bigbio/sdrf-annotated-datasets@main under datasets/, 128 SDRFs use the correct label NT=beam-type collision-induced dissociation;AC=MS:1000422, while only 2 use higher energy beam-type collision-induced dissociation. The current code therefore misses the overwhelming majority.

Suggested fix

Match on the accession where present, and accept the PSI-MS label plus its HCD synonym, e.g.:

else if (row.DissociationMethod in ["HIGHER ENERGY BEAM-TYPE COLLISION-INDUCED DISSOCIATION",
                                    "BEAM-TYPE COLLISION-INDUCED DISSOCIATION",
                                    "HCD"]) {
    meta.dissociationmethod = "HCD"
}

Matching MS accessions (MS:1000422 → HCD, MS:1000133 → CID, MS:1000598 → ETD, MS:1000250 → ECD) would be more robust than string comparison, since the repository shows the same method spelled many different ways.

How this surfaced

Running quantms 1.8.0 with --search_engines comet on datasets/PXD013868/PXD013868-phospho.sdrf.tsv. Comet does not use the field so the run is unaffected, but the mismatch is visible in the parsed metadata and would matter with msgf or sage.

Activity

  1. linked a pull request that will close this issuerefine #728on Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions