Class: Mspire::Identml::SearchModification
- Inherits:
-
Object
- Object
- Mspire::Identml::SearchModification
- Includes:
- CV::Paramable
- Defined in:
- lib/mspire/mzid/search_modification.rb
Overview
a parameter for a spectral search. An idealized modification. See Modification for describing a modification on an actual peptide.
Instance Attribute Summary collapse
-
#fixed_mod ⇒ Object
boolean.
-
#mass_delta ⇒ Object
mass delta in daltons.
-
#residues ⇒ Object
A Set of characters.
-
#specificity_rules ⇒ Object
A single SpecificityRules object.
Method Summary
Methods included from CV::Paramable
#describe!, #describe_from_xml!, #describe_many!, #describe_self_from_xml!, #each_param, #fetch, #fetch_by_accession, #initialize, #param?, #param_by_accession, #params?, #reject!, #replace!, #replace_many!, #to_xml
Instance Attribute Details
#fixed_mod ⇒ Object
boolean
12 13 14 |
# File 'lib/mspire/mzid/search_modification.rb', line 12 def fixed_mod @fixed_mod end |
#mass_delta ⇒ Object
mass delta in daltons
15 16 17 |
# File 'lib/mspire/mzid/search_modification.rb', line 15 def mass_delta @mass_delta end |
#residues ⇒ Object
A Set of characters. From mzIdentml: “The residue(s) searched with the specified modification. For N or C terminal modifications that can occur on any residue, the . character should be used to specify any, otherwise the list of amino acids should be provided.”
21 22 23 |
# File 'lib/mspire/mzid/search_modification.rb', line 21 def residues @residues end |
#specificity_rules ⇒ Object
A single SpecificityRules object
24 25 26 |
# File 'lib/mspire/mzid/search_modification.rb', line 24 def specificity_rules @specificity_rules end |