Class Bio::SQL::Seqfeature
In: lib/bio/io/biosql/seqfeature.rb
Parent: DummyBase

Methods

Public Instance methods

get the subsequence described by the locations objects

[Source]

    # File lib/bio/io/biosql/seqfeature.rb, line 20
20:       def sequence
21:         return self.locations.inject(Bio::Sequence::NA.new("")){|seq, location| seq<<location.sequence}
22:     end

translate the subsequences represented by the feature and its locations not considering the qualifiers Return a Bio::Sequence::AA object

[Source]

    # File lib/bio/io/biosql/seqfeature.rb, line 27
27:       def translate(*args)
28:         self.sequence.translate(*args)
29:       end

[Validate]