Last Modified
  2013-06-29 03:40:10 +0000
Requires
  - uri
  - cgi
  - bio/command

## Description

# bio/io/biofetch.rb - BioFetch access module

Copyright | Copyright (C) 2002, 2005 Toshiaki Katayama <k@bioruby.org>, Copyright (C) 2006 Jan Aerts <jan.aerts@bbsrc.ac.uk>
License | The Ruby License

    $Id:$

## DESCRIPTION

Using BioRuby BioFetch server

    br_server = Bio::Fetch.new()
    puts br_server.databases
    puts br_server.formats('embl')
    puts br_server.maxids

Using EBI BioFetch server

    ebi_server = Bio::Fetch.new('http://www.ebi.ac.uk/cgi-bin/dbfetch')
    puts ebi_server.fetch('embl', 'J00231', 'raw')
    puts ebi_server.fetch('embl', 'J00231', 'html')
    puts Bio::Fetch.query('genbank', 'J00231')
    puts Bio::Fetch.query('genbank', 'J00231', 'raw', 'fasta')