Ensembl
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'ensembl'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ensembl
Usage
require 'ensembl'
ENSEMBL.ORG database - Default configuration
Ensembl::Variation::Variation.first
Ensembl::Variation::Variation.first.source
Custom database
# Set following values before using
Ensembl.host = 'myhost.example.com'
Ensembl.port = 3306 # default
Ensembl.username = 'anonymous' # default
Ensembl.password = '' # default
Ensembl.database = 'homo_sapiens_variation_75_37' # default
Contributing
- Fork it ( https://github.com/kmetsalu/ensembl/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request