Giter Club home page Giter Club logo

pasted / clinical_variant_database Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 2.0 2.6 MB

Rails application for storing and parsing clinical exome VCF files. Gene annotations can be retrieved via Biomart integration from Ensembl dataset. Originally developed as part of a Masters in Bioinformatics project @ University of Exeter

License: Other

Ruby 63.09% JavaScript 0.54% CoffeeScript 0.53% CSS 2.48% HTML 33.36%
biomart gene-annotations rails-application sidekiq database bioinformatics

clinical_variant_database's Introduction

#Clinical Variant Database Rails application for storing and parsing clinical VCF files. Gene annotations can be retrieved via Biomart integration from Ensembl dataset.

##Features

  • VCF file upload and parsing.
  • Serialised storage of hashed values into postgreSQL Hstore field - allows NoSQL-type unstructured data to be stored within an overall relational database structure (ACID-compliant key/value stores).
  • Integration with Biomart (hsapiens_gene_ensembl, omim), other datasets can also be interrogated.
  • Integration with Provean (Protein Variation Effect Analyzer) via Mechanize
  • Pagination,Search and sorting functionality for Variants, using Ransack and Kaminari.
  • Batch update of Gene/Disorder annotation using Sidekick / redis workers.
  • Relationships between Samples to reflect parent-offspring by Closure trees.

Web UI

##Installation

Requires:

Clone the repository to your web server's public directory, initiallizing Git if required;

	git init
	git clone https://github.com/pasted/clinical_variant_database.git

The config/database.yml file is not included in the repository, the template is included below(along with the increased number of database connections for use with Sidekiq / Redis). Modify to include your database username and password, then save in the config directory.

development:
  adapter: postgresql
  encoding: utf8
  reconnect: false
  database: cvd_development
  pool: 25
  username: 
  password: 
  host: localhost

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
  adapter: postgresql
  encoding: utf8
  reconnect: false
  database: cvd_test
  pool: 25
  username: 
  password: 
  host: localhost

production:
  adapter: postgresql
  encoding: utf8
  reconnect: false
  database: cvd_production
  pool: 25
  username: 
  password: 
  host: localhost

Then run the following commands in the app directory;

	bundle install
	rake db:create
	rake db:migrate
	rake db:seed

To start the application, first start up Redis by typing the following in the directory that you have installed redis.

	redis-server redis.conf

Then start Sidekiq in the application directory

 	 bundle exec sidekiq

More information on Sidekiq can be found on it's homepage. Finally if not using another webserver, such as Apache - start Rails webrick server (in the application directory)

	rails s

clinical_variant_database's People

Contributors

pasted avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.