| Path: | lib/bio/db/embl/sptr.rb |
| Last Update: | Thu Oct 15 17:07:39 +0000 2015 |
| Copyright: | Copyright (C) 2001-2006 Mitsuteru C. Nakao <n@bioruby.org> |
| License: | The Ruby License |
$Id:$
Shared methods for UniProtKB/SwissProt and TrEMBL classes.
See the SWISS-PROT document file SPECLIST.TXT or UniProtKB/SwissProt user manual.
str = File.read("p53_human.swiss")
obj = Bio::SPTR.new(str)
obj.entry_id #=> "P53_HUMAN"