# sptr.rb

Path: | lib/bio/db/embl/sptr.rb
Last Update: | Thu Nov 19 15:47:02 +0000 2009

# bio/db/embl/sptr.rb - UniProt/SwissProt and TrEMBL database class

Copyright: | Copyright (C) 2001-2006 Mitsuteru C. Nakao <n@bioruby.org>
License: | The Ruby License

$Id:$

## Description

Shared methods for UniProtKB/SwissProt and TrEMBL classes.

See the SWISS-PROT document file SPECLIST.TXT or UniProtKB/SwissProt user manual.

## Examples

      str = File.read("p53_human.swiss")
      obj = Bio::SPTR.new(str)
      obj.entry_id #=> "P53_HUMAN"

## References

- Swiss-Prot Protein knowledgebase. TrEMBL Computer-annotated supplement to Swiss-Prot au.expasy.org/sprot/
- UniProt uniprot.org/
- The UniProtKB/SwissProt/TrEMBL User Manual www.expasy.org/sprot/userman.html

### Required files

bio/db bio/db/embl/common

[Validate]