br_biofetch.rb

Path: bin/br_biofetch.rb  (CVS)
Last Update: Fri Apr 06 08:35:39 +0900 2007

biofetch - BioFetch client

Copyright:Copyright (C) 2002 Toshiaki Katayama <k@bioruby.org>
License:The Ruby License

$Id: br_biofetch.rb,v 1.4 2007/04/05 23:35:39 trevor Exp $

Required files

bio/io/fetch  

Methods

usage  

Public Instance methods

[Source]

# File bin/br_biofetch.rb, line 14
def usage
  default_url = 'http://bioruby.org/cgi-bin/biofetch.rb'
  another_url = 'http://www.ebi.ac.uk/cgi-bin/dbfetch'
  puts "#{$0} [-s[erver] #{another_url}] db id [style] [format]"
  puts "  server : URL of the BioFetch CGI (default is #{default_url})"
  puts "      db : database name (embl, genbank, etc.)"
  puts "      id : entry id"
  puts "   style : 'raw' or 'html' (default is 'raw')"
  puts "  format : change the output format ('default', 'fasta', etc.)"
end

[Validate]