DeepLC icon indicating copy to clipboard operation
DeepLC copied to clipboard

Take Unimod modification compositions from psims.controlled_vocabulary.unimod

Open vrkosk opened this issue 1 year ago • 2 comments

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.

vrkosk avatar Jul 16 '24 15:07 vrkosk

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 avatar Jul 28 '24 11:07 RobbinBouwmeester

Will update the documentation soon.

RobbinBouwmeester avatar Jul 28 '24 11:07 RobbinBouwmeester

Should be fixed in the latest release

RobbinBouwmeester avatar Feb 03 '25 14:02 RobbinBouwmeester