Git Product home page Git Product logo

ldak's Introduction

A pipeline for running LDAK methods on a computing cluster.

Uses gwf

How to use:

  • Install conda requirements
conda create --name plink
conda activate plink
conda install -c bioconda plink
conda create --name ldak
conda activate ldak
conda install gwf
conda install -c conda-forge julia
git clone https://github.com/ymer/process_sumstats
  • Install julia packages. Go to the process_sumstats directory, and
julia julia_install.jl
  • Make the ldak file executable. Or download the newest version from dougspeed.com

  • Download and untar a reference data set from LDAK. https://genetics.ghpc.au.dk/doug/ref.tgz.
    This has SNP position as identifier, and genetic distances. It is called ref_snp.

  • Download a reference data set from MAGMA. https://ctg.cncr.nl/software/MAGMA/ref_data/g1000_eur.zip.
    This has Rsid as identifier. It is called ref_rsid.

  • Go to the directory of the pipeline you are interested in running. Eg 'prediction'.

  • Open workflow.py and change the settings.
    The paths for Julia and plink can be found with the conda command 'which'.
    Add the paths to the just downloaded ref_snp and ref_rsid files, as well as the study you want to analyze (individuals)

  • Open studies.csv and add the studies you are interested in running ldak on.
    Delete the example on the second line.
    Note that some sumstat files may require special commands for ProcessSumstats. These can all be added in the process_sumstats_arguments column.

  • Run the pipeline with gwf run

  • Look at the progress of the pipeline with gwf status

For great justice.

ldak's People

Watchers

 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.