class Bio::Blast::Report::Iteration

Bio::Blast::Report::Iteration

Attributes

hits[R]

Returns an Array of Bio::Blast::Report::Hit objects.

message[RW]

Returns a String (or nil) containing execution message (typically “CONVERGED”).

num[RW]

Returns the number of iteration counts.

query_def[RW]

query definition, only available for new BLAST XML format

query_id[RW]

query ID, only available for new BLAST XML format

query_len[RW]

query length, only available for new BLAST XML format

statistics[R]

Returns a Hash containing execution statistics. Valid keys are: ‘db-len’, ‘db-num’, ‘eff-space’, ‘entropy’, ‘hsp-len’, ‘kappa’, ‘lambda’

Public Class Methods

new() click to toggle source
    # File lib/bio/appl/blast/report.rb
219 def initialize
220   @message = nil
221   @statistics = {}
222   @num = 1
223   @hits = []
224 end

Public Instance Methods

each() { |x| ... } click to toggle source

Iterates on each Bio::Blast::Report::Hit object.

    # File lib/bio/appl/blast/report.rb
241 def each
242   @hits.each do |x|
243     yield x
244   end
245 end