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("")){|seq, location| seq<<location.sequence}
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)