Class: Ensembl::Core::Map

Inherits:
DBConnection show all
Defined in:
lib/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



1195
1196
1197
# File 'lib/ensembl/core/activerecord.rb', line 1195

def name
	return self.map_name
end