Method: MS::Sequest::Pepxml::Modifications#initialize
- Defined in:
- lib/ms/sequest/pepxml/modifications.rb
#initialize(params = nil, modification_symbols_string = '') ⇒ Modifications
The modification symbols string looks like this: (M* 15.90000) (M# 29.00000) (S@ 80.00000) (C^ 12.00000) (ct[ 12.33000) (nt] 14.20000) ct is cterminal peptide (differential) nt is nterminal peptide (differential) the C is just cysteine will set_modifications and aa_mod_to_tot_mass hash
36 37 38 39 40 41 |
# File 'lib/ms/sequest/pepxml/modifications.rb', line 36 def initialize(params=nil, modification_symbols_string='') @params = params if @params set_modifications(params, modification_symbols_string) end end |