Sha256: 3a8b42eedf594b76228e91e426879baf453e6d2f1243fe541180045d604110dd

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

# Ensembl

Gem to access ensembl.org database. Currently only supports Variation database tables and latest version.

Some of the work is inspired of [ruby-ensembl-api] project

## 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

1. Fork it ( https://github.com/kmetsalu/ensembl/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request


[ruby-ensembl-api]: https://github.com/jandot/ruby-ensembl-api

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ensembl-0.0.3 README.md