Class: Ensembl::Core::ObjectXref

Inherits:
DBConnection show all
Defined in:
lib/ensembl/core/activerecord.rb

Overview

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.

Examples:

gene = Gene.find(1)
gene.object_xrefs.each do |ox|
  puts ox.to_yaml
end

Method Summary

Methods inherited from DBConnection

connect, ensemblgenomes_connect

Methods inherited from DBRegistry::Base

generic_connect, get_info, get_name_from_db