class Bio::SQL::Seqfeature
Public Instance Methods
sequence()
click to toggle source
get the subsequence described by the locations objects
# File lib/bio/io/biosql/ar-biosql.rb, line 174 def sequence return self.locations.inject(Bio::Sequence::NA.new("")){|seq, location| seq<<location.sequence} end
translate(*args)
click to toggle source
translate the subsequences represented by the feature and its locations not considering the qualifiers Return a Bio::Sequence::AA object
# File lib/bio/io/biosql/ar-biosql.rb, line 181 def translate(*args) self.sequence.translate(*args) end