Giter Site home page Giter Site logo

pgxcentre / exphewas Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 16.96 MB

Browser for the results of a gene-PC based pheWAS in the UK Biobank

License: MIT License

Makefile 0.26% Jupyter Notebook 50.06% Python 15.76% R 0.44% HTML 8.67% SCSS 0.44% JavaScript 10.38% Shell 0.51% PLpgSQL 13.48%

exphewas's Introduction

This repository contains the code behind ExPheWas. A thorough description of the project can be found either in the project's documentation or in the manuscript.

Overview of the repository

Briefly, the exphewas directory contains the python package that powers the web application's backend (API, web application and database). The exphewas python package can be installed (e.g. using pip install .. Once this is done, a command-line utility will be available that offers various housekeeping utilities like data loading or database initialization.

The code for the frontend is in the frontend directory. The command npm run build can be used from that directory to build the javascript from the frontend. The code for all D3.js graphs can be found there.

Configuration

Configuration only requires a database string for SQLAlchemy and the path where the frontend gets built.

export EXPHEWAS_DATABASE_URL=postgresql+psycopg2://user:password@host/dbname
export EXPHEWAS_STATIC_FOLDER=.../exphewas/frontend/dist

Issue tracker

The issue tracker is a good way to send us suggestions or to report problems with any aspect of ExPheWas.

Citation

Marc-André Legault, Louis-Philippe Lemieux Perreault, and Marie-Pierre Dubé. "ExPheWas: a browser for gene-based pheWAS associations." medRxiv (2021).

exphewas's People

Contributors

lemieuxl avatar legaultmarc avatar

Stargazers

Truman avatar  avatar Zhe Wang avatar Jeff Hammerbacher avatar  avatar

Watchers

James Cloos avatar  avatar Michel Dahdah avatar  avatar  avatar

exphewas's Issues

gene2vec improvements

  • Set default variance explained at 95%
  • Expose MAF threshold as parameter
  • Allow sex-stratified PCA
  • Select only bi-allelic SNPs
  • Save CSV as gzip compressed by default
  • Allow imputation quality filtering (?)

Suggest: README with link to pre-print and browser

ExPheWas seems awesome to me!

The GitHub, however, feels less helpful than it could.

I suggest to add a README with links to the pre-print (and accepted manuscript in the future) and browser, such as the text below. That would help me and others to find the other parts.

Sure I can make a Pull Request to the dev branch if asked :-)

Cheers, Richel

ExPheWas

ExPheWas is [what it is] and can be found at https://exphewas.statgen.org.

Citation

Legault, Marc-André, Louis-Philippe Lemieux Perreault, and Marie-Pierre Dubé. "ExPheWas: a browser for gene-based pheWAS associations." medRxiv (2021).

Manuscript can be found here

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.