Path: | lib/bio/db/embl/embl.rb |
Last Update: | Thu Feb 18 18:16:45 +0000 2010 |
Copyright: | Copyright (C) 2001-2007 Mitsuteru C. Nakao <n@bioruby.org> Jan Aerts <jan.aerts@bbsrc.ac.uk> |
License: | The Ruby License |
$Id: embl.rb,v 1.29.2.7 2008/06/17 16:04:36 ngoto Exp $
Parser class for EMBL database entry.
emb = Bio::EMBL.new($<.read) emb.entry_id emb.each_cds do |cds| cds # A CDS in feature table. end emb.seq #=> "ACGT..."