| Class | Ensembl::Core::SeqRegionAttrib |
| In: |
lib/ensembl/core/activerecord.rb
|
| Parent: | CoreDBConnection |
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.
chr4 = SeqRegion.find_by_name('4')
chr4.seq_region_attribs.each do |attrib|
puts attrib.attrib_type.name + "\t" + attrib.value.to_s
end