GithubHelp home page GithubHelp logo

kipoi-gwas's Introduction

Kipoi-GWAS

Kipoi-GWAS is a snakemake pipeline which

  • downloads UK BioBank association files
  • merges the annotation files with variant effect predictions using Kipoi
  • runs FGWAS to fine-map variants
  • generates a report

A sample report can be found here: src/fgwas_plot.ipynb.

General workflow of Kipoi-GWAS

Installation

  1. Clone the git repo.
git clone https://github.com/NCBI-Hackathons/Kipoi-GWAS
  1. Install conda environment.
conda env create -f environment.yml
  1. Install the python package
cd Kipoi-GWAS; pip install .

Folder structure

Here is the complete folder structure.

input/
  UKBB/  # UK-biobank phenotypes downloaded from the UK Biobank site. Select phenotypes of interest. TODO
    {phenotype}.gwas.imputed_v3.both_sexes.tsv.bgz
	{phenotype}.gwas.imputed_v3.both_sexes.tsv   # after untarring the .bgz file
  anno/  # variant annotation of the phenotypes found in UKBB
    kipoi/  # annotated variants using `kipoi veff score_variants`
	  subset/
  	    {chr}/
		  {model}.tsv.gz

	

output/
  {phenotype}/
    subset/
	  {chr}/
	    {run-id}/
		  metadata.json  # information about the run
		  fgwas/
		    input/   # input tables for fgwas
		    output/  # output of fgwas, includes default outputs
		  report/  # reports
  		    fig1.ipynb
		     fig1.html

kipoi-gwas's People

Contributors

rraadd88 avatar avsecz avatar yizhenzhong avatar snafees avatar allissadillman avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.