Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take Unimod modification compositions from psims.controlled_vocabulary.unimod #76

Open
vrkosk opened this issue Jul 16, 2024 · 2 comments

Comments

@vrkosk
Copy link

vrkosk commented Jul 16, 2024

Currently, DeepLC hardcodes Unimod modification compositions in unimod_to_formula.csv. As new modifications are added, this file will grow out of date. It would be better to take modification compositions from a central place like psims.controlled_vocabulary.unimod.

@RobbinBouwmeester
Copy link
Member

Actually the documentation is out of data here. It currently uses:

https://github.com/compomics/psm_utils

Where most of the parsing (as far as I know) of the modifications is done with pyteomics.

When adding new modifications you can use the ProForma composition encoding:

SEQUEN[Formula:C12H20O2]CE

@RobbinBouwmeester
Copy link
Member

Will update the documentation soon.

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

No branches or pull requests

2 participants