Class: Bio::SQL::Seqfeature
Instance Method Summary (collapse)
-
- (Object) sequence
get the subsequence described by the locations objects.
-
- (Object) translate(*args)
translate the subsequences represented by the feature and its locations not considering the qualifiers Return a Bio::Sequence::AA object.
Instance Method Details
- (Object) sequence
get the subsequence described by the locations objects
174 175 176 |
# 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 |
- (Object) translate(*args)
translate the subsequences represented by the feature and its locations not considering the qualifiers Return a Bio::Sequence::AA object
181 182 183 |
# File 'lib/bio/io/biosql/ar-biosql.rb', line 181 def translate(*args) self.sequence.translate(*args) end |