Class Bio::Blast::Bl2seq::Report::Iteration
In: lib/bio/appl/bl2seq/report.rb  (CVS)
Parent: Bio::Blast::Default::Report::Iteration

Bio::Bl2seq::Report::Iteration stores information about a iteration. Normally, it may contain some Bio::Bl2seq::Report::Hit objects.

Note that its main existance reason is to keep complatibility between Bio::Blast::Default::Report::* classes.

Methods

hits   new  

Public Class methods

Creates a new Iteration object. It is designed to be called only internally from the Bio::Blast::Default::Report class. Users shall not use the method directly.

[Source]

# File lib/bio/appl/bl2seq/report.rb, line 91
        def initialize(data)
          @f0stat = []
          @f0dbstat = Bio::Blast::Default::Report::AlwaysNil.instance
          @hits = []
          @num = 1
          while r = data[0] and /^\>/ =~ r
            @hits << Hit.new(data)
          end
        end

Public Instance methods

Returns the hits of the iteration. It returns an array of Bio::Bl2seq::Report::Hit objects.

[Source]

# File lib/bio/appl/bl2seq/report.rb, line 103
        def hits; @hits; end

[Validate]