| Class | Bio::Blast::WU::Report::Hit |
| In: |
lib/bio/appl/blast/wublast.rb
(CVS)
|
| Parent: | Default::Report::Hit |
Bio::Blast::WU::Report::Hit contains information about a hit. It may contain some Bio::Blast::WU::Report::HSP objects.
Because it inherits Bio::Blast::Default::Report::Hit, please also refer Bio::Blast::Default::Report::Hit.
| n_number | [R] | n-number (???) |
| pvalue | [R] | p-value |
Creates a new Hit object. It is designed to be called only internally from the Bio::Blast::WU::Report::Iteration class. Users should not call the method directly.
# File lib/bio/appl/blast/wublast.rb, line 285 def initialize(data) @f0hitname = data.shift @hsps = [] while r = data.first if r =~ /^\s*(?:Plus|Minus) +Strand +HSPs\:/ then data.shift r = data.first end if /\A\s+Score/ =~ r then @hsps << HSP.new(data) else break end end @again = false end