Class Ensembl::Core::MiscAttrib
In: lib/ensembl/core/activerecord.rb
Parent: DBConnection


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.


 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


     # File lib/ensembl/core/activerecord.rb, line 978
978:       def to_s
979:         return self.attrib_type.code + ":" + self.value.to_s
980:       end