Git Product home page Git Product logo

liteqtl.jl's Introduction

LiteQTL

Dev Build Status

LiteQTL is a package that runs whole genome QTL scans near real-time, utilizing the computation power of GPU.

LiteQTL uses new algorithms that enables near-real time whole genome QTL scans for up to 1 million traits. By using easily parallelizable operations including matrix multiplication, vectorized operations, and element-wise operations, our method is about 300 times faster than a R/qtl linear model genome scan using 16 threads.

Documentation

Paper:

To find out more about methods used and also acceleration techniques, please refer to our paper on Biorxiv:

Chelsea Trotter, Hyeonju Kim, Gregory Farage, Pjotr Prins, Robert W. Williams, Karl W. Broman, and Saunak Sen.
Speeding up eQTL scans in the BXD population using GPUs.

How to use LiteQTL:

Our package currently works for Julia v1.5 and v 1.6.

To add LiteQTL to your Julia installation:

julia> using Pkg;
julia> Pkg.add("LiteQTL")

To run the example provided by LiteQTL:

julia> using LiteQTL
julia> include(joinpath(pathof(LiteQTL), "../../example/spleen_analysis.jl"))

For more examples on how to use LiteQTL, please take a look at this example file.

Auxiliary Repositories:

This repo contais scripts to compile the LiteQTL package to remove the compilation time of Julia (the extra time in the first run in Julia REPL).

It is an effort to make our research reproducible. All code related to experiment reuslt, from dowloading data, cleaning data, to running LiteQTL and creating figure are found in this repository. You can recreate the results in our paper Speeding up eQTL scans in the BXD population using GPUs using the scripts in this repository.

liteqtl.jl's People

Contributors

chelseatrotter avatar gregfa avatar sens avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

liteqtl.jl's Issues

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Error in `scan` when calculating p-values

pval_time += @elapsed pval = pval_calc(nr ./ n, n-2)

I get error when running the scan function and requesting pval as output:

> @time pval_matrix_no_cov = scan(
    Y,
    G,
    export_matrix = export_matrix,
    maf_threshold = 0.00,
    usegpu = false,
    lod_or_pval = "pval"
);

ERROR: UndefVarError: `pval_calc` not defined

(I was just running the example in https://github.com/senresearch/LiteQTL.jl/blob/master/example/spleen_analysis.jl and then modifying to get various outputs.)

DataFrames compatibility

This package and MatrixLMnet have DataFrames incompatibility. How can we resolve this?

(@v1.6) pkg> add LiteQTL
    Updating registry at `~/.julia/registries/General`
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package MatrixLMnet [436227dc]:
 MatrixLMnet [436227dc] log:
 ├─possible versions are: 0.1.0 or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions 0.1.0
 └─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: uninstalled — no versions left
   └─DataFrames [a93c6f00] log:
     ├─possible versions are: 0.11.7-1.2.2 or uninstalled
     ├─restricted to versions * by an explicit requirement, leaving only versions 0.11.7-1.2.2
     └─restricted by compatibility requirements with LiteQTL [85e3bc59] to versions: 0.21.0-0.21.8
       └─LiteQTL [85e3bc59] log:
         ├─possible versions are: 0.1.2-0.2.1 or uninstalled
         └─restricted to versions * by an explicit requirement, leaving only versions 0.1.2-0.2.1

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.