Module: BELParser::Language::CovalentProteinModification
- Defined in:
- lib/bel_parser/language/covalent_protein_modification.rb
Overview
CovalentProteinModification defines a controlled vocabulary of post-translational protein modifications.
Constant Summary collapse
- Acetylation =
[:Acetylation, :A].freeze
- Farnesylation =
[:Farnesylation, :F].freeze
- Glycosylation =
[:Glycosylation, :G].freeze
- Hydroxylation =
[:Hydroxylation, :H].freeze
- Methylation =
[:Methylation, :M].freeze
- Phosphorylation =
[:Phosphorylation, :P].freeze
- Ribosylation =
[:Ribosylation, :R].freeze
- Sumoylation =
[:Sumoylation, :S].freeze
- Ubiquitination =
[:Ubiquitination, :U].freeze
Class Method Summary collapse
-
.includes?(sym) ⇒ Boolean
Determines if
sym
represents a covalent protein modification. -
.names ⇒ Object
Gets all supported covalent protein modification.
-
.values ⇒ Object
Gets all supported covalent protein modification (i.e. name, 1-Letter).
Class Method Details
.includes?(sym) ⇒ Boolean
Determines if sym
represents a covalent protein modification.
covalent protein modifications; false
if not supported
23 24 25 |
# File 'lib/bel_parser/language/covalent_protein_modification.rb', line 23 def self.includes?(sym) @hash.key?(sym.to_sym) end |
.names ⇒ Object
Gets all supported covalent protein modification.
28 29 30 |
# File 'lib/bel_parser/language/covalent_protein_modification.rb', line 28 def self.names @names end |
.values ⇒ Object
Gets all supported covalent protein modification (i.e. name, 1-Letter).
33 34 35 |
# File 'lib/bel_parser/language/covalent_protein_modification.rb', line 33 def self.values @values end |