Class: Ensembl::Variation::StructuralVariation

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

Overview

The StructuralVariation class gives information on structural variations mapped on the genome

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.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from DBConnection

connect, ensemblgenomes_connect

Methods inherited from DBRegistry::Base

generic_connect, get_info, get_name_from_db

Class Method Details

.instance_method_already_implemented?(method_name) ⇒ Boolean

Returns:

  • (Boolean)


308
309
310
311
# File 'lib/bio-ensembl/variation/activerecord.rb', line 308

def instance_method_already_implemented?(method_name)
  return true if method_name == 'class'
  super
end

Instance Method Details

#sv_classObject



314
315
316
# File 'lib/bio-ensembl/variation/activerecord.rb', line 314

def sv_class
  self.attributes["class"]
end