Class: Ensembl::Core::ObjectXref
- Inherits:
-
DBConnection
- Object
- ActiveRecord::Base
- DBConnection
- Ensembl::Core::ObjectXref
- Defined in:
- lib/ensembl/core/activerecord.rb
Overview
DESCRIPTION
The ObjectXref class provides the link between gene, transcript and translation objects on the one hand and an xref on the other.
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
gene = Gene.find(1)
gene.object_xrefs.each do |ox|
puts ox.to_yaml
end