Class: Bio::TrEMBL

Inherits:
SPTR show all
Defined in:
lib/bio/db/embl/trembl.rb

Overview

Description

Parser class for TrEMBL database entry. See also Bio::SPTR class. This class holds name space for TrEMBL 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("Q2UNG2_ASPOR.trembl")
obj = Bio::TrEMBL.new(str)
obj.entry_id #=> "Q2UNG2_ASPOR"

Referencees

Constant Summary

Constants included from EMBLDB::Common

EMBLDB::Common::DELIMITER, EMBLDB::Common::RS, EMBLDB::Common::TAGSIZE

Method Summary

Methods inherited from SPTR

#cc, #dr, #dt, #embl_dr, #entry_id, #ft, #gene_name, #gene_names, #gn, #hi, #id_line, #molecule, #oh, #os, #ox, #protein_name, #ref, #references, #seq, #sequence_length, #set_RN, #sq, #synonyms

Methods included from EMBLDB::Common

#ac, #accession, #de, #dr, #initialize, #kw, #oc, #og, #os, #ref, #references

Methods inherited from EMBLDB

#initialize

Methods inherited from DB

#entry_id, #exists?, #fetch, #get, open, #tags