class Bio::GenPept
Public Instance Methods
circular()
click to toggle source
# File lib/bio/db/genbank/genpept.rb 35 def circular; locus.circular; end
date()
click to toggle source
# File lib/bio/db/genbank/genpept.rb 37 def date; locus.date; end
dbsource()
click to toggle source
DBSOURCE
# File lib/bio/db/genbank/genpept.rb 55 def dbsource 56 get('DBSOURCE') 57 end
division()
click to toggle source
# File lib/bio/db/genbank/genpept.rb 36 def division; locus.division; end
entry_id()
click to toggle source
# File lib/bio/db/genbank/genpept.rb 33 def entry_id; locus.entry_id; end
length()
click to toggle source
# File lib/bio/db/genbank/genpept.rb 34 def length; locus.length; end
Also aliased as: aalen
locus()
click to toggle source
# File lib/bio/db/genbank/genpept.rb 30 def locus 31 @data['LOCUS'] ||= Locus.new(get('LOCUS')) 32 end
seq()
click to toggle source
ORIGIN
# File lib/bio/db/genbank/genpept.rb 41 def seq 42 unless @data['SEQUENCE'] 43 origin 44 end 45 Bio::Sequence::AA.new(@data['SEQUENCE']) 46 end
Also aliased as: aaseq
seq_len()
click to toggle source
# File lib/bio/db/genbank/genpept.rb 50 def seq_len 51 seq.length 52 end