[BioRuby] help wtih bioruby wrapper for emboss tools...

Sharvari Gujja sgujja at broad.mit.edu
Tue Jan 8 19:03:54 UTC 2008


Hi all,

I am trying to use emboss tool "water" in bioruby. However when I try to 
run the following script I get the error as : uninitialized constant 
Bio::EBI (NameError).

Do I need to import any files?

#!/usr/bin/env ruby
require 'bio'
require 'base64'
 
emboss = Bio::EBI::SOAP::Emboss.new

emboss.list_methods

hash = {
"tool" => "water",
"asequence" => "uniprot:alk1_human",
"bsequence" => "uniprot:alk1_mouse",
"email" => "ebisoap at example.org"
}
poll = emboss.run(hash, [])
emboss.checkStatus(poll)
base = emboss.poll(poll, "tooloutput")
puts Base64.decode64(base)


Thanks
-S




More information about the BioRuby mailing list