Class: Ensembl::Core::SimpleFeature
- Inherits:
-
DBConnection
- Object
- ActiveRecord::Base
- DBConnection
- Ensembl::Core::SimpleFeature
- Includes:
- Sliceable
- Defined in:
- lib/ensembl/core/activerecord.rb
Overview
DESCRIPTION
The SimpleFeature class describes simple features that have positions on a SeqRegion.
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.
This class includes the mixin Sliceable, which means that it is mapped to a SeqRegion object and a Slice can be created for objects of this class. See Sliceable and Slice for more information.
USAGE
simple_feature = SimpleFeature.find(123)
puts simple_feature.analysis.logic_name
Method Summary
Methods included from Sliceable
#length, #project, #seq, #slice, #start, #stop, #strand, #transform