Class: AminoAcidModification
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- AminoAcidModification
- Defined in:
- lib/msf/models/amino_acid_modification.rb
Overview
ActiveRecord model of MSF AminoAcidModification
Example:
AminoAcidModification.find(1)
AminoAcidModification.first.modification_name
AminoAcidModification.first.amino_acids.first.amino_acid_name
Class Method Summary collapse
Instance Method Summary collapse
- #abbreviation ⇒ Object
- #amino_acid_modification_id ⇒ Object
- #delta_average_mass ⇒ Object
- #delta_mass ⇒ Object
- #is_active ⇒ Object
- #is_substitution ⇒ Object
- #leaving_group ⇒ Object
- #modification_name ⇒ Object
- #position_type ⇒ Object
- #substitution ⇒ Object
- #unimod_accession ⇒ Object
Class Method Details
.primary_key ⇒ Object
12 13 14 |
# File 'lib/msf/models/amino_acid_modification.rb', line 12 def self.primary_key :AminoAcidModificationID end |
.table_name ⇒ Object
9 10 11 |
# File 'lib/msf/models/amino_acid_modification.rb', line 9 def self.table_name :AminoAcidModifications end |
Instance Method Details
#abbreviation ⇒ Object
30 31 32 |
# File 'lib/msf/models/amino_acid_modification.rb', line 30 def abbreviation self.Abbreviation end |
#amino_acid_modification_id ⇒ Object
15 16 17 |
# File 'lib/msf/models/amino_acid_modification.rb', line 15 def amino_acid_modification_id self.AminoAcidModificationID end |
#delta_average_mass ⇒ Object
39 40 41 |
# File 'lib/msf/models/amino_acid_modification.rb', line 39 def delta_average_mass self.DeltaAverageMass end |
#delta_mass ⇒ Object
21 22 23 |
# File 'lib/msf/models/amino_acid_modification.rb', line 21 def delta_mass self.DeltaMass end |
#is_active ⇒ Object
36 37 38 |
# File 'lib/msf/models/amino_acid_modification.rb', line 36 def is_active self.IsActive end |
#is_substitution ⇒ Object
45 46 47 |
# File 'lib/msf/models/amino_acid_modification.rb', line 45 def is_substitution self.IsSubstitution end |
#leaving_group ⇒ Object
27 28 29 |
# File 'lib/msf/models/amino_acid_modification.rb', line 27 def leaving_group self.LeavingGroup end |
#modification_name ⇒ Object
18 19 20 |
# File 'lib/msf/models/amino_acid_modification.rb', line 18 def modification_name self.ModificationName end |
#position_type ⇒ Object
33 34 35 |
# File 'lib/msf/models/amino_acid_modification.rb', line 33 def position_type self.PositionType end |
#substitution ⇒ Object
24 25 26 |
# File 'lib/msf/models/amino_acid_modification.rb', line 24 def substitution self.Substitution end |
#unimod_accession ⇒ Object
42 43 44 |
# File 'lib/msf/models/amino_acid_modification.rb', line 42 def unimod_accession self.UnimodAccession end |