module BELParser::Language::CovalentProteinModification
CovalentProteinModification
defines a controlled vocabulary of post-translational protein modifications.
Constants
- Acetylation
- Farnesylation
- Glycosylation
- Hydroxylation
- Methylation
- Phosphorylation
- Ribosylation
- Sumoylation
- Ubiquitination
Public Class Methods
includes?(sym)
click to toggle source
Determines if sym
represents a covalent protein modification.
@param [#to_sym] sym covalent protein modification code @return [Boolean] true
if sym
code is included in supported covalent protein modifications; false
if not supported
# File lib/bel_parser/language/covalent_protein_modification.rb, line 23 def self.includes?(sym) @hash.key?(sym.to_sym) end
names()
click to toggle source
Gets all supported covalent protein modification.
# File lib/bel_parser/language/covalent_protein_modification.rb, line 28 def self.names @names end
values()
click to toggle source
Gets all supported covalent protein modification (i.e. name, 1-Letter).
# File lib/bel_parser/language/covalent_protein_modification.rb, line 33 def self.values @values end