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, line 213
def initialize
  @message = nil
  @statistics = {}
  @num = 1
  @hits = []
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, line 235
def each
  @hits.each do |x|
    yield x
  end
end