Method: Bio::Blast::Default::Report#db
- Defined in:
- lib/bio/appl/blast/format0.rb
#db ⇒ Object
Returns the name (filename or title) of the database.
245 246 247 248 249 250 251 252 253 254 |
# File 'lib/bio/appl/blast/format0.rb', line 245 def db unless defined?(@db) if /Database *\: *(.*)/m =~ @f0database then a = $1.split(/^/) a.pop if a.size > 1 @db = a.collect { |x| x.sub(/\s+\z/, '') }.join(' ') end end #unless @db end |