Class: Ensembl::Variation::Source
- Inherits:
-
DBConnection
- Object
- ActiveRecord::Base
- DBRegistry::Base
- DBConnection
- Ensembl::Variation::Source
- Defined in:
- lib/bio-ensembl/variation/activerecord.rb
Overview
The Source class gives information on the different databases and SNP panels used to retrieve the data
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.
Instance Method Summary collapse
-
#somatic_status ⇒ Object
workaround as ActiveRecord do not parse SET field in MySQL.
Methods inherited from DBConnection
connect, ensemblgenomes_connect
Methods inherited from DBRegistry::Base
generic_connect, get_info, get_name_from_db
Instance Method Details
#somatic_status ⇒ Object
workaround as ActiveRecord do not parse SET field in MySQL
290 291 292 |
# File 'lib/bio-ensembl/variation/activerecord.rb', line 290 def somatic_status # workaround as ActiveRecord do not parse SET field in MySQL "#{attributes_before_type_cast['somatic_status']}" end |