Class: Ensembl::Core::SeqRegionAttrib

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

Overview

The SeqRegionAttrib class provides an interface to the seq_region_attrib table. This table contains attribute values for SeqRegion objects

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:

chr4 = SeqRegion.find_by_name('4')
chr4.seq_region_attribs.each do |attrib|
puts attrib.attrib_type.name + "\t" + attrib.value.to_s
end

Method Summary

Methods inherited from DBConnection

connect, ensemblgenomes_connect

Methods inherited from DBRegistry::Base

generic_connect, get_info, get_name_from_db