HUPO-PSI / psi-mod-CV

Reactivated PSI-MOD ontology for molecular mass modifications
Creative Commons Attribution 4.0 International
8 stars 13 forks source link

Add script to generate a new-style OBO file from `PSI-MOD.obo` #66

Closed althonos closed 2 years ago

althonos commented 2 years ago

As discussed in #63 , this PR adds a Python script using fastobo to convert the old PSI-MOD.obo file into a propert OBO 1.4 file. I also added a Makefile to make it easier to regenerate the newstyle OBO and the OWL file when updating the editors version.

The script will basically:

To get it running, make sure you have Python and fastobo installed (you can get it from PyPI with `pip install fastobo).

I also fixed some typos in the editors' file (UinMod, UniMo, UnMod...)