Class: Ensembl::Core::MarkerFeature

Inherits:
DBConnection show all
Includes:
Sliceable
Defined in:
lib/bio-ensembl/core/activerecord.rb

Overview

The MarkerFeature class provides an interface to the marker_feature table. This table contains mappings of markers to 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.

Examples:

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

Method Summary

Methods included from Sliceable

#length, #project, #seq, #slice, #start, #stop, #strand, #transform

Methods inherited from DBConnection

connect, ensemblgenomes_connect

Methods inherited from DBRegistry::Base

generic_connect, get_info, get_name_from_db