[BioRuby] proxy

Panayiotis Periorellis Panayiotis.Periorellis at newcastle.ac.uk
Tue Mar 16 05:03:12 EST 2004


R you doing your code on java? If yes let me knw and I will 
I will tell you ..

-----Original Message-----
From: Jean-Philippe Vert [mailto:Jean-Philippe.Vert at mines.org] 
Sent: 16 March 2004 10:55
To: bioruby at open-bio.org
Subject: [BioRuby] proxy


Dear friends,

I'd like to use the wonderful KEGG API with Ruby, but I can only connect

to the web through a proxy. Would someone know what I should do to set 
up the proxy connection? For example, let's say I want to run the
script:

#!/usr/bin/env ruby
require 'bio'
serv = Bio::KEGG::API.new
puts serv.get_best_neighbors_by_gene('eco:b0002', 500, ['hin', 'bsu'])

It does not work currently because it tries to connect directly. Should 
I change something in this code, or in a different configuration file?

Thanks if you have time to answer this basic question, or give me a
link.

yoroshiku onegaishimasu
jp

-- 
Jean-Philippe Vert
Ecole des Mines de Paris
http://www.cg.ensmp.fr/~vert


_______________________________________________
BioRuby mailing list
BioRuby at open-bio.org http://portal.open-bio.org/mailman/listinfo/bioruby



More information about the BioRuby mailing list