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
174 def sequence
175   return self.locations.inject(Bio::Sequence::NA.new("")){|seq, location| seq<<location.sequence}
176 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
181 def translate(*args)
182   self.sequence.translate(*args)
183 end