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
433 434 435 |
# File 'lib/ms/sequest/srf.rb', line 433 def end_mass @end_mass end |
#end_scan ⇒ Object
Integer
448 449 450 |
# File 'lib/ms/sequest/srf.rb', line 448 def end_scan @end_scan end |
#group_scan ⇒ Object
Integer
437 438 439 |
# File 'lib/ms/sequest/srf.rb', line 437 def group_scan @group_scan end |
#min_group_count ⇒ Object
not sure if this is correct Integer
440 441 442 |
# File 'lib/ms/sequest/srf.rb', line 440 def min_group_count @min_group_count end |
#min_ion_threshold ⇒ Object
Integer
442 443 444 |
# File 'lib/ms/sequest/srf.rb', line 442 def min_ion_threshold @min_ion_threshold end |
#num_dta_files ⇒ Object
Integer
435 436 437 |
# File 'lib/ms/sequest/srf.rb', line 435 def num_dta_files @num_dta_files end |
#start_mass ⇒ Object
Float
431 432 433 |
# File 'lib/ms/sequest/srf.rb', line 431 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
446 447 448 |
# File 'lib/ms/sequest/srf.rb', line 446 def start_scan @start_scan end |
#start_time ⇒ Object
not sure if this is correct Float
429 430 431 |
# File 'lib/ms/sequest/srf.rb', line 429 def start_time @start_time end |
Instance Method Details
#from_io(fh) ⇒ Object
451 452 453 454 455 456 |
# File 'lib/ms/sequest/srf.rb', line 451 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 |