From: "Jan E." Date: 2012-03-05T14:12:02+09:00 Subject: Re: bioruby help Hi, You're missing one colon after "Bio::Sequence:". The line should say dna_sequence = Bio::Sequence::NA.new ... By the way, you shouldn't write File.open('dna.txt').read This creates an I/O stream (via File.open) and leaves it open. Instead, write File.read('dna.txt') So the full line is dna_sequence = Bio::Sequence::NA.new(File.read('dna.txt')) Jacques -- Posted via http://www.ruby-forum.com/.