Class Bio::UniProt
In: lib/bio/db/embl/uniprot.rb
Parent: SPTR

Description

Parser class for SwissProt database entry.# See also Bio::SPTR class. This class holds name space for UniProtKB/SwissProt specific methods.

UniProtKB/SwissProt specific methods are defined in this class. Shared methods for UniProtKB/SwissProt and TrEMBL classes are defined in Bio::SPTR class.

Examples

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

Referencees

[Validate]