Sha256: c878cf1c12a76b160d390f5209bbad2ba431189d21224159f49c000c07f69413

Contents?: true

Size: 1.07 KB

Versions: 12

Compression:

Stored size: 1.07 KB

Contents

require 'mspire/cv/paramable'

module Mspire
  module Mzid
    class Modification
      include Mspire::CV::Paramable
      # optional avg mass
      attr_accessor :avg_mass_delta

      # From IdentML spec: "Location of the modification within the peptide -
      # position in peptide sequence, counted from the N-terminus residue,
      # starting at position 1.  Specific modifications to the N-terminus
      # should be given the location 0. Modification to the C-terminus should
      # be given as peptide length + 1. If the modification location is
      # unknown e.g. for PMF data, this attribute should be omitted."
      attr_accessor :location

      attr_accessor :monoisotopic_mass_delta

      # Array of residues. Specification of the residue (amino acid) on which
      # the modification occurs. If multiple values are given, it is assumed
      # that the exact residue modified is unknown i.e. the modification is to
      # ONE of the residues listed. Multiple residues would usually only be
      # specified for PMF data.
      attr_accessor :residues

    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mspire-0.10.8.0 lib/mspire/mzid/modification.rb
mspire-0.10.7.3 lib/mspire/mzid/modification.rb
mspire-0.10.7.2 lib/mspire/mzid/modification.rb
mspire-0.10.7.1 lib/mspire/mzid/modification.rb
mspire-0.10.7 lib/mspire/mzid/modification.rb
mspire-0.10.6 lib/mspire/mzid/modification.rb
mspire-0.10.5 lib/mspire/mzid/modification.rb
mspire-0.10.4 lib/mspire/mzid/modification.rb
mspire-0.10.3 lib/mspire/mzid/modification.rb
mspire-0.10.2 lib/mspire/mzid/modification.rb
mspire-0.10.1 lib/mspire/mzid/modification.rb
mspire-0.10.0 lib/mspire/mzid/modification.rb