Class Ensembl::Core::Marker
In: lib/ensembl/core/activerecord.rb
Parent: CoreDBConnection

DESCRIPTION

The Marker class provides an interface to the marker table. This table contains primer sequences and PCR product lengths.

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.

USAGE

 marker = Marker.find(52194)
 puts marker.left_primer
 puts marker.right_primer
 puts marker.min_primer_dist.to_s

Methods

Public Class methods

DESCRIPTION

The Marker#find_all_by_name class method returns all markers with this name. If no marker is found, it returns an empty array.


Arguments:name
Returns:empty array or array of Marker objects

DESCRIPTION

The Marker#find_by_name class method returns one marker with this name.


Arguments:name
Returns:Marker object or nil

Public Instance methods

DESCRIPTION

The Marker#name method returns a comma-separated list of synonyms of this marker

USAGE

 marker = Marker.find(1)
 puts marker.name    --> 58017,D29149

[Validate]