Code Monkey home page Code Monkey logo

dish's Introduction

DISH

DISH

Direct Imputing Summary association statistics of HLA variants

This R script is designed to impute summary association statistics of HLA variants from SNP summary association statistics based on linkage disequilibria in European and Asian populations.

!You can download the reference files from this link

https://drive.google.com/drive/folders/1DvyT4Ja_zRpS2cA0LkKIeXrXWQR2LlkC?usp=sharing

!Reference files and R script must be located in same directory

usage: Rscript DISH.r input_file input_type(T/P) hg_version(hg18/hg19) ethnicity(EUR/ASN) MAF_threshold stat_type(Z/T) output (lambda)

example) Rscript DISH.r EUR_sample.txt T hg18 EUR 0.005 T EUR_imputed.txt (lambda)

      or

Rscript DISH.r EUR_sample P hg18 EUR 0.005 T EUR_imputed.txt (lambda)

----------------------------------REQUIRED-------------------------------------

[input_file] must be a tab delimited file -If [input_type] is T, the file extension must be included in [input_file]. If [input_type] is P, the file extension must be excluded.

[input_type] must be a "T" or "P" -A T type input is a file that contains both SNP information and statistical values, and a P type input means that both plink's .frq file and the user-defined file which include SNP with specific position and statistics values are used .

[hg_version] must be "hg18" or "hg19"

[ethnicity] must be "EUR" or "ASN" -EUR means European and ASN means Asian ethnicity

[MAF_threshold] must be a numeric value -MAF_threshold must be >0 and <0.5

[stat_type] must be "Z" or "T"

[output] is an output file prefix

----------------------------------OPTIONAL-------------------------------------

[lambda] must be a numeric value. see the details in reference

dish's People

Contributors

ben-jwl avatar

Stargazers

 avatar  avatar

dish's Issues

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.