Class Ensembl::Core::AssemblyLink
In: lib/ensembl/core/activerecord.rb
Parent: DBConnection


The AssemblyLink class describes the relationships between different seq_regions. For example, a chromosome might consist of a number of scaffolds, each of which in turn consists of a number of contigs. The AssemblyLink class This class is an interface to the assembly table of the Ensembl mysql database.

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')
 puts     #--> 'chromosome'
 chr4.genes.each do |gene|
   puts gene.biotype