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

New modification statements #1161

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

kkaris
Copy link
Member

@kkaris kkaris commented Aug 19, 2020

This PR adds new Modification statement types:

  • Carboxylation/Decarboxylation
  • Amidation/Deamidation
  • Sulfation/Desulfation
  • Neddylation/Deneddylation
  • Alkylation/Dealkylation
  • Prenylation/Deprenylation

@kkaris kkaris mentioned this pull request Aug 19, 2020
@kkaris
Copy link
Member Author

kkaris commented Aug 20, 2020

@@ -1005,6 +1020,66 @@ class Demethylation(RemoveModification):
"""Demethylation modification."""


class Carboxylation(AddModification):
"""Carboxylation modification."""
pass
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you have a docstring, you actually don't need a pass

@cthoyt
Copy link
Collaborator

cthoyt commented Sep 15, 2020

Maybe it makes sense to add a bit of metadata along with each statement type to align them with related entries in other controlled vocabularies. For example, neddylation corresponds to the GO biological process "protein neddylation" (GO:0045116).

I did this for PyBEL and you could copy relevant parts if you think this is a good idea. No single controlled vocabulary is covering all types of modifications, though. See: https://github.com/pybel/pybel/blob/57b24a9ddf6d5d73d82c92294ed2186ddf4443c5/src/pybel/language.py#L320-L524

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

Successfully merging this pull request may close these issues.

None yet

3 participants