[BioRuby] Error reading GenBank file
urban at bettong.net
Wed Dec 7 03:39:30 EST 2005
On 7 Dec 2005, at 04:37, Toshiaki Katayama wrote:
I could not reproduce this error with this entry.
I suspect that your input file is not in GenBank format but, for example,
saved in HTML or something?
OK. Here's the code again:
fn = 'AJ271885.gb'
ff = Bio::FlatFile.auto(fn)
ff.each_entry do |gb|
And that's what I get:
NoMethodError: undefined method `=' for nil:NilClass
from /opt/local/lib/ruby/site_ruby/1.8/bio/db.rb:223:in `tag_cut'
from (irb):9:in `each_entry'
To download the file I used the 'Save to file' drop down on the site.
Just to make sure, here's the file I used:
Thanks again for the help. I very much appreciate it.
More information about the BioRuby