Class | Bio::TrEMBL |
In: |
lib/bio/db/embl/trembl.rb
|
Parent: | SPTR |
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.
str = File.read("Q2UNG2_ASPOR.trembl") obj = Bio::TrEMBL.new(str) obj.entry_id #=> "Q2UNG2_ASPOR"