Class: Mspire::Identml::SearchModification

Inherits:
Object
  • Object
show all
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

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_modObject

boolean



12
13
14
# File 'lib/mspire/mzid/search_modification.rb', line 12

def fixed_mod
  @fixed_mod
end

#mass_deltaObject

mass delta in daltons



15
16
17
# File 'lib/mspire/mzid/search_modification.rb', line 15

def mass_delta
  @mass_delta
end

#residuesObject

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_rulesObject

A single SpecificityRules object



24
25
26
# File 'lib/mspire/mzid/search_modification.rb', line 24

def specificity_rules
  @specificity_rules
end