Class: MS::Sequest::SqtGroup
- Inherits:
-
Object
- Object
- MS::Sequest::SqtGroup
- Includes:
- Ident::SearchGroup
- Defined in:
- lib/ms/sequest/sqt.rb
Instance Method Summary collapse
- #extension ⇒ Object
-
#initialize(arg, opts = {}, &block) ⇒ SqtGroup
constructor
A new instance of SqtGroup.
-
#search_class ⇒ Object
attr_accessor :sqts, :filenames.
Constructor Details
#initialize(arg, opts = {}, &block) ⇒ SqtGroup
Returns a new instance of SqtGroup.
24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/ms/sequest/sqt.rb', line 24 def initialize(arg, opts={}, &block) orig_opts = opts.dup indiv_opts = { :link_protein_hits => false } super(arg, opts.merge(indiv_opts)) do unless orig_opts[:link_protein_hits] == false puts "MERGING GROUP!" (@peptides, @proteins) = merge!(@searches.map {|v| v.peptides }, &MS::Sequest::Sqt::NEW_PROT) end end block.call(self) if block_given? end |