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.
Class Method Summary collapse
Instance Method Summary collapse
-
#from_io(io) ⇒ Object
sets self based on the io object and returns self.
Instance Attribute Details
#end_mass ⇒ Object
Float
430 431 432 |
# File 'lib/ms/sequest/srf.rb', line 430 def end_mass @end_mass end |
#end_scan ⇒ Object
Integer
445 446 447 |
# File 'lib/ms/sequest/srf.rb', line 445 def end_scan @end_scan end |
#group_scan ⇒ Object
Integer
434 435 436 |
# File 'lib/ms/sequest/srf.rb', line 434 def group_scan @group_scan end |
#min_group_count ⇒ Object
not sure if this is correct Integer
437 438 439 |
# File 'lib/ms/sequest/srf.rb', line 437 def min_group_count @min_group_count end |
#min_ion_threshold ⇒ Object
Integer
439 440 441 |
# File 'lib/ms/sequest/srf.rb', line 439 def min_ion_threshold @min_ion_threshold end |
#num_dta_files ⇒ Object
Integer
432 433 434 |
# File 'lib/ms/sequest/srf.rb', line 432 def num_dta_files @num_dta_files end |
#start_mass ⇒ Object
Float
428 429 430 |
# File 'lib/ms/sequest/srf.rb', line 428 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
443 444 445 |
# File 'lib/ms/sequest/srf.rb', line 443 def start_scan @start_scan end |
#start_time ⇒ Object
not sure if this is correct Float
426 427 428 |
# File 'lib/ms/sequest/srf.rb', line 426 def start_time @start_time end |
Class Method Details
.from_io(io) ⇒ Object
447 448 449 |
# File 'lib/ms/sequest/srf.rb', line 447 def self.from_io(io) self.new.from_io(io) end |
Instance Method Details
#from_io(io) ⇒ Object
sets self based on the io object and returns self
452 453 454 455 456 457 |
# File 'lib/ms/sequest/srf.rb', line 452 def from_io(io) io.pos = 0 if io.pos != 0 st = io.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 |