Skip to content

Named PTMs support #219

@gritukan

Description

@gritukan

Hello!

The current way of specifying PTMs is Proforma-compatible but not the most verbose since requires downstream applications to guess the specific PTM from only mass. I propose to add a support for named PTMs similarly to other search engines. The proposed configuration is following:

{
    "max_variable_mods": 3,
    "static_mods": {
        "C": 57.0215 // This is how it works now; simplest and backward-compatible
    }
    "variable_mods": {
        "M": {
            "UNIMOD:35": 15.9949,  // Will be shown as "PEM[UNIMOD:35]AT in the output
            "Some unimod name": 42.0 // Unimod / PSI-MOD names are supported according to Proforma; output is "PEM[Some unimod name]AT"
        }
    }
}

If this plan looks good to you, I'd be happy to bring a pull request implementing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions