bioruby ent function

K

kipling.houston.tx

Hello,

I can use the function "ent" from interactive bioruby environment

###################################################
$ bioruby
Loading config (session/config) ... done
Loading object (session/object) ... done
Loading history (session/history) ... done

.. . . B i o R u b y i n t h e s h e l l . . .

Version : BioRuby 1.0.0 / Ruby 1.8.5

bioruby> ss = ent('genbank:AB169639')
Retrieving entry from KEGG API (genbank:AB169639)
###################################################

but from the regular ruby environment, it does not recognize the
function even after calling the library with

require 'bio'

although all other functions of bioruby can be used in this way.

###################################################
$ irb
irb(main):001:0> require 'bio'
=> true
irb(main):002:0> seq = Bio::Sequence::NA.new("atgcatgcaaaa")
=> "atgcatgcaaaa"
irb(main):003:0> puts seq.complement
ttttgcatgcat
=> nil
irb(main):004:0> ss = ent('genbank:AB169639')
NoMethodError: undefined method `ent' for main:Object
from (irb):4
from :0
irb(main):005:0> exit
###################################################

The same is true when I try to run a script that uses "ent" function
--- it crushes because it does not recognize the ent function although
all other bioruby functions seem to work fine. This occurs under two
different installations (linux and cygwin).

Could you tell me how to get around of this problem?

Thank you.
Kipling
 
E

Evan Weaver

Kipling said:
but from the regular ruby environment, it does not recognize the
function even after calling the library with

Hmm. I'll take a look today or tomorrow.

Evan Weaver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,216
Latest member
Best cryptoconsultant

Latest Threads

Top