Class: Bio::Blast::Default::Report::F0dbstat
- Defined in:
- lib/bio/appl/blast/format0.rb
Overview
Stores format0 database statistics. Internal use only. Users must not use the class.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#f0dbstat ⇒ Object
readonly
Returns the value of attribute f0dbstat.
-
#f0params ⇒ Object
Returns the value of attribute f0params.
Instance Method Summary collapse
-
#database ⇒ Object
Returns name (title or filename) of the database.
-
#db_len ⇒ Object
Returns number of letters in database.
-
#db_num ⇒ Object
Returns number of sequences in database.
-
#eff_space ⇒ Object
Returns effective length of the database.
-
#expect ⇒ Object
Returns e-value threshold specified when BLAST was executed.
-
#gap_extend ⇒ Object
Returns gap extend penalty value.
-
#gap_open ⇒ Object
Returns gap open penalty value.
-
#initialize(ary) ⇒ F0dbstat
constructor
Creates new F0dbstat class.
-
#matrix ⇒ Object
Returns name of the matrix.
-
#num_hits ⇒ Object
Returns number of hits.
-
#posted_date ⇒ Object
Returns posted date of the database.
-
#sc_match ⇒ Object
Returns the match score of the matrix.
-
#sc_mismatch ⇒ Object
Returns the mismatch score of the matrix.
Constructor Details
#initialize(ary) ⇒ F0dbstat
Creates new F0dbstat class. Internal use only.
316 317 318 319 |
# File 'lib/bio/appl/blast/format0.rb', line 316 def initialize(ary) @f0dbstat = ary @hash = {} end |
Instance Attribute Details
#f0dbstat ⇒ Object (readonly)
Returns the value of attribute f0dbstat.
320 321 322 |
# File 'lib/bio/appl/blast/format0.rb', line 320 def f0dbstat @f0dbstat end |
#f0params ⇒ Object
Returns the value of attribute f0params.
321 322 323 |
# File 'lib/bio/appl/blast/format0.rb', line 321 def f0params @f0params end |
Instance Method Details
#database ⇒ Object
Returns name (title or filename) of the database.
439 440 441 |
# File 'lib/bio/appl/blast/format0.rb', line 439 def database unless defined?(@database); parse_dbstat; end; @database end |
#db_len ⇒ Object
Returns number of letters in database.
449 450 451 |
# File 'lib/bio/appl/blast/format0.rb', line 449 def db_len unless defined?(@db_len); parse_dbstat; end; @db_len end |
#db_num ⇒ Object
Returns number of sequences in database.
454 455 456 |
# File 'lib/bio/appl/blast/format0.rb', line 454 def db_num unless defined?(@db_num); parse_dbstat; end; @db_num end |
#eff_space ⇒ Object
Returns effective length of the database.
392 |
# File 'lib/bio/appl/blast/format0.rb', line 392 def eff_space; parse_params; @eff_space; end |
#expect ⇒ Object
Returns e-value threshold specified when BLAST was executed.
395 |
# File 'lib/bio/appl/blast/format0.rb', line 395 def expect; parse_params; @expect; end |
#gap_extend ⇒ Object
Returns gap extend penalty value.
389 |
# File 'lib/bio/appl/blast/format0.rb', line 389 def gap_extend; parse_params; @gap_extend; end |
#gap_open ⇒ Object
Returns gap open penalty value.
387 |
# File 'lib/bio/appl/blast/format0.rb', line 387 def gap_open; parse_params; @gap_open; end |
#matrix ⇒ Object
Returns name of the matrix.
380 |
# File 'lib/bio/appl/blast/format0.rb', line 380 def matrix; parse_params; @matrix; end |
#num_hits ⇒ Object
Returns number of hits.
398 |
# File 'lib/bio/appl/blast/format0.rb', line 398 def num_hits; parse_params; @num_hits; end |
#posted_date ⇒ Object
Returns posted date of the database.
444 445 446 |
# File 'lib/bio/appl/blast/format0.rb', line 444 def posted_date unless defined?(@posted_date); parse_dbstat; end; @posted_date end |
#sc_match ⇒ Object
Returns the match score of the matrix.
382 |
# File 'lib/bio/appl/blast/format0.rb', line 382 def sc_match; parse_params; @sc_match; end |
#sc_mismatch ⇒ Object
Returns the mismatch score of the matrix.
384 |
# File 'lib/bio/appl/blast/format0.rb', line 384 def sc_mismatch; parse_params; @sc_mismatch; end |