Module | Bio::Blast::Remote::Information |
In: |
lib/bio/appl/blast/remote.rb
|
Common methods for meta-information processing (e.g. list of databases).
Returns a short description of given database.
Note: see the note of databases method.
Arguments:
Returns: | String |
# File lib/bio/appl/blast/remote.rb, line 90 90: def database_description(program, db) 91: _parse_databases 92: h = @database_descriptions[program] 93: h ? (h[db] || '') : '' 94: end
Returns a list of available databases for given program.
Note: It parses remote sites to obtain database information (e.g. blast.genome.jp/ for Bio::Blast::Remote::GenomeNet). Thus, if the site is changed, this method can not return correct data. Please tell BioRuby developers when the site is changed.
Arguments:
Returns: | Array containing String objects |
# File lib/bio/appl/blast/remote.rb, line 77 77: def databases(program) 78: _parse_databases 79: @databases[program] || [] 80: end