Skip to content

ProForma parser / convert annotation style #12

@guideflandre

Description

@guideflandre

Hi @lgatto @sgibb ,

I have created a ProForma parser/annotation style converter between 3 different annotation styles: delta mass, unimod name and unimod id. All three styles can be retrieved from the modifications dataframe in the unimod package.

This converter can be found here under the name convertAnnotation.R.

By itself, I find the convert already very useful. But ideally, I would like to implement it into calculateFragments from the PSMatch package. This way, calculateFragments could have as input positional modifications with different annotation styles. If needed, more style parsers could be added but I believe these 3 are the most prominent ones. (the positional modifications refer to this PR in PSMatch).

This implementation however, would not be user-friendly as unimod is not part of Bioconductor and users would need to install it from github in order to use calculateFragments.

One solution would be to transfer the relevant code (modifications dataframe, convertAnnotation function) from the unimod package to PSMatch. I'm curious to know if you think this is a good approach or if you have other ideas in mind.

Either way, I can create a PR for this converter in unimod if that is of interest to you.

Metadata

Metadata

Assignees

No one assigned

    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