Giter VIP home page Giter VIP logo

caviar's Introduction

CAVIAR (CAusal Variants Identication in Associated Regions):

======

a statistical framework that quantifies the probability of each variant to be causal while allowing with arbitrary number of causal variants.

original publications can be found here for eCAVIAR and here for CAVIAR.

Developed at the ZarLab at UCLA

More information on CAVIAR and eCAVIAR can be found on the CAVIAR website

information on running CAVIAR and eCAVIAR:

to install this repository --

git clone https://github.com/fhormoz/caviar.git

CAVIAR usage

./CAVIAR [options] 
Options:
-h, --help            		show this help message and exit 
-o OUTFILE, --out=OUTFILE 	specify the output file
-l LDFILE, --ld_file=LDFILE the ld input file
-z ZFILE, --z_file=ZFILE	the z-score and rsID files
-r RHO, --rho-prob=RHO		set $pho$ probability 
-c causal			set the maximum number of causal SNPs
-f 1				to out the probaility of different number of causal SNP

eCAVIAR usage

Usage: ./eCAVIAR [options]

Options:
-h, --help                      show this help message and exit
-o OUTFILE, --out=OUTFILE       specify the output file
-l LDFILE, --ld_file=LDFILE 	the GWAS ld input file
-l LDFILE, --ld_file=LDFILE 	the eQTL ld input file
-z ZFILE, --z_file=ZFILE        the GWAS z-score and rsID files
-z ZFILE, --z_file=ZFILE        the eQTL z-score and rsID files
-r RHO, --rho-prob=RHO          set $pho$ probability
-c causal                       set the maximum number of causal SNPs
-f 1                            to out the probaility of different number of causal SNP

Output

OUTFILE_1_set - causal SNP in GWAS

OUTFILE_2_set - causal SNP in eQTL

OUTFILE_1_post - Causal posterior probability for each SNP in GWAS

OUTFILE_2_post - Causal posterior probability for each SNP in eQTL

OUTFILE_col - The Colocalization posterior probability (CLPP) for each SNP.

Debugging

CAVIAR is written in C++ and must be compiled before running. If you are encountering errors in running CAVIAR or eCAVIAR try these steps:

  1. check if you have the GNU scientific library installed * for macOS this can be done using the homebrew package manager- brew install gsl
  2. Next, in the caviar/CAVIAR C++ repository type make clean
  3. make
  4. chmod +x eCAVIAR may also be helpful CAVIAR should be able to run using these parameters

Other helpful hints - if running eCAVIAR make sure your LD files have the same SNPs, works best for low to medium LD other related code developed by UCSF students here

CAVIAR is offered under the GNU Affero GPL (https://www.gnu.org/licenses/why-affero-gpl.html).

caviar's People

Contributors

fhormozdiari avatar fhormoz avatar christacaggiano 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.