Class: Ms::Sequest::Srf::DTAGen
- Inherits:
-
Object
- Object
- Ms::Sequest::Srf::DTAGen
- Defined in:
- lib/ms/sequest/srf.rb
Overview
the DTA Generation Params
Instance Attribute Summary collapse
-
#end_mass ⇒ Object
Float.
-
#end_scan ⇒ Object
Integer.
-
#group_scan ⇒ Object
Integer.
-
#min_group_count ⇒ Object
not sure if this is correct Integer.
-
#min_ion_threshold ⇒ Object
Integer.
-
#num_dta_files ⇒ Object
Integer.
-
#start_mass ⇒ Object
Float.
-
#start_scan ⇒ Object
attr_accessor :intensity_threshold # can’t find yet attr_accessor :precursor_tolerance # can’t find yet Integer.
-
#start_time ⇒ Object
not sure if this is correct Float.
Instance Method Summary collapse
Instance Attribute Details
#end_mass ⇒ Object
Float
357 358 359 |
# File 'lib/ms/sequest/srf.rb', line 357 def end_mass @end_mass end |
#end_scan ⇒ Object
Integer
372 373 374 |
# File 'lib/ms/sequest/srf.rb', line 372 def end_scan @end_scan end |
#group_scan ⇒ Object
Integer
361 362 363 |
# File 'lib/ms/sequest/srf.rb', line 361 def group_scan @group_scan end |
#min_group_count ⇒ Object
not sure if this is correct Integer
364 365 366 |
# File 'lib/ms/sequest/srf.rb', line 364 def min_group_count @min_group_count end |
#min_ion_threshold ⇒ Object
Integer
366 367 368 |
# File 'lib/ms/sequest/srf.rb', line 366 def min_ion_threshold @min_ion_threshold end |
#num_dta_files ⇒ Object
Integer
359 360 361 |
# File 'lib/ms/sequest/srf.rb', line 359 def num_dta_files @num_dta_files end |
#start_mass ⇒ Object
Float
355 356 357 |
# File 'lib/ms/sequest/srf.rb', line 355 def start_mass @start_mass end |
#start_scan ⇒ Object
attr_accessor :intensity_threshold # can’t find yet attr_accessor :precursor_tolerance # can’t find yet Integer
370 371 372 |
# File 'lib/ms/sequest/srf.rb', line 370 def start_scan @start_scan end |
#start_time ⇒ Object
not sure if this is correct Float
353 354 355 |
# File 'lib/ms/sequest/srf.rb', line 353 def start_time @start_time end |
Instance Method Details
#from_io(fh) ⇒ Object
375 376 377 378 379 380 |
# File 'lib/ms/sequest/srf.rb', line 375 def from_io(fh) fh.pos = 0 if fh.pos != 0 st = fh.read(148) (@start_time, @start_mass, @end_mass, @num_dta_files, @group_scan, @min_group_count, @min_ion_threshold, @start_scan, @end_scan) = st.unpack('x36ex12ex4ex48Ix12IIIII') self end |