Giter Site home page Giter Site logo

angelovici-lab / happi.gwas Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 4.0 6.82 MB

A genome-wide association study (GWAS) tool written in R

Home Page: https://github.com/Angelovici-Lab/HAPPI.GWAS

License: Other

R 100.00%
r gwas gapit3 haploview blup blue

happi.gwas's Introduction

HAPPI GWAS

HAPPI GWAS is a genome-wide association study (GWAS) tool written in R.

Installation

You can install the HAPPI.GWAS from Github with:

# Run this inside R environment
install.packages("devtools", dependencies = TRUE)
devtools::install_github("Angelovici-Lab/HAPPI.GWAS")
# Run this in your terminal
mkdir HAPPI_GWAS
cd HAPPI_GWAS
git clone https://github.com/Angelovici-Lab/HAPPI.GWAS.git
cd HAPPI.GWAS
Rscript setup.R

Usage

Rscript HAPPI_GWAS.R [-h] [-generateBLUP] [-generateBLUE] [-GAPIT] [-extractHaplotype] [-searchGenes] input

positional arguments:
  input              Input YAML File

optional arguments:
  -h, --help         show this help message and exit
  -generateBLUP      Generate BLUP data from raw data
  -generateBLUE      Generate BLUE data from raw data
  -GAPIT             Run GAPIT
  -extractHaplotype  Extract haplotype (Require: -GAPIT)
  -searchGenes       Search genes (Require: -GAPIT)

Example

This is a basic example which shows you how to use HAPPI.GWAS:

cd /path/to/HAPPI_GWAS/HAPPI.GWAS
Rscript HAPPI_GWAS.R -GAPIT -extractHaplotype -searchGenes Demo_GLM.yaml
Rscript HAPPI_GWAS.R -GAPIT -extractHaplotype -searchGenes Demo_FarmCPU.yaml

Package Update

To upgrade HAPPI.GWAS to the latest version, please remove the package and re-install the latest HAPPI.GWAS package:

# Run this inside R environment
remove.packages("HAPPI.GWAS")
devtools::install_github("Angelovici-Lab/HAPPI.GWAS")
# Run this in your terminal
cd /path/to/HAPPI_GWAS/HAPPI.GWAS
git pull

Wiki

HAPPI GWAS Wiki Page

User Manual

HAPPI GWAS User Manual

Updates

10-02-2020: Updated the DESCRIPTION file because LDHeatmap was removed from CRAN
05-28-2020: Added HAPPI GWAS user manual
05-16-2020: Added HAPPI GWAS wiki page

happi.gwas's People

Contributors

yenon118 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

happi.gwas's Issues

HAPPI.GWAS results not the same as GAPIT3

Hi,

I've run FarmCPU using the demo data provided using the command below, and run the same analysis using GAPIT within R, matching the same options as the Demo_FarmCPU.yaml file. Though the results are similar, there are in fact some differences.

Using HAPPI GWAS:
Rscript HAPPI_GWAS.R -GAPIT Demo_FarmCPU.yaml

Within R:
library(GAPIT3)
phenos = read.table("mdp_traits.txt", header = TRUE)
myGAPIT <- GAPIT(
Y=phenos,
Model.selection = TRUE,
model=c("FarmCPU"),
SNP.MAF = 0.05,
ncpus = 20,
file.G="mdp_genotype_chr",
file.Ext.G="hmp.txt",
file.from=1,
file.to=10,
file.path="./Demo/"
)

Is there a reason for differences in results if presumably the same model should be being fit?

Thank you,
Jonas

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.