class Bio::GenPept

Public Instance Methods

aalen()
Alias for: length
aaseq()
Alias for: seq
circular() click to toggle source
# File lib/bio/db/genbank/genpept.rb, line 35
def circular;         locus.circular;                end
date() click to toggle source
# File lib/bio/db/genbank/genpept.rb, line 37
def date;             locus.date;                end
dbsource() click to toggle source

DBSOURCE

# File lib/bio/db/genbank/genpept.rb, line 55
def dbsource
  get('DBSOURCE')
end
division() click to toggle source
# File lib/bio/db/genbank/genpept.rb, line 36
def division;         locus.division;                end
entry_id() click to toggle source
# File lib/bio/db/genbank/genpept.rb, line 33
def entry_id;         locus.entry_id;                end
length() click to toggle source
# File lib/bio/db/genbank/genpept.rb, line 34
def length;           locus.length;            end
Also aliased as: aalen
locus() click to toggle source
# File lib/bio/db/genbank/genpept.rb, line 30
def locus
  @data['LOCUS'] ||= Locus.new(get('LOCUS'))
end
seq() click to toggle source

ORIGIN

# File lib/bio/db/genbank/genpept.rb, line 41
def seq
  unless @data['SEQUENCE']
    origin
  end
  Bio::Sequence::AA.new(@data['SEQUENCE'])
end
Also aliased as: aaseq
seq_len() click to toggle source
# File lib/bio/db/genbank/genpept.rb, line 50
def seq_len
  seq.length
end