Class: Ensembl::Core::Map

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

Overview

The Map class provides an interface to the map table. This table contains genetic maps.

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:

map = Map.find_by_name('MARC')
puts map.markers.length.to_s

Instance Method Summary collapse

Methods inherited from DBConnection

connect, ensemblgenomes_connect

Methods inherited from DBRegistry::Base

generic_connect, get_info, get_name_from_db

Instance Method Details

#nameObject



1198
1199
1200
# File 'lib/bio-ensembl/core/activerecord.rb', line 1198

def name
	return self.map_name
end