Class: Ensembl::Core::MiscAttrib
- Inherits:
-
DBConnection
- Object
- ActiveRecord::Base
- DBConnection
- Ensembl::Core::MiscAttrib
- Defined in:
- lib/ensembl/core/activerecord.rb
Overview
DESCRIPTION
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.
USAGE
marker = Marker.find(52194)
puts marker.marker_feature.seq_region_start.to_s
puts marker.marker_feature.seq_region_end.to_s
Instance Method Summary collapse
Methods inherited from DBConnection
Instance Method Details
#to_s ⇒ Object
979 980 981 |
# File 'lib/ensembl/core/activerecord.rb', line 979 def to_s return self.attrib_type.code + ":" + self.value.to_s end |