class Ensembl::Core::MiscAttrib

The MiscAttrib class provides an interface to the misc_attrib table. It is the link between MiscFeature and AttribType.

This class uses ActiveRecord to access data in the Ensembl database. See the general documentation of the Ensembl module for more information on what this means and what methods are available.

@example

marker = Marker.find(52194)
puts marker.marker_feature.seq_region_start.to_s
puts marker.marker_feature.seq_region_end.to_s

Public Instance Methods

to_s() click to toggle source
# File lib/bio-ensembl/core/activerecord.rb, line 976
def to_s
  return self.attrib_type.code + ":" + self.value.to_s
end