GithubHelp home page GithubHelp logo

ldhat_workflow's Introduction

Quick and dirty pipeline for running LDhat.

Purpose

Simple pipeline to run LDhat and estimate variable recombination rates

To obtain realistic results, the pipeline splits whole genome data into small chunk of 2,000 - 5,000 SNPs before running the different programs from LDhat

Dependencies

LDhat available here

vcftools software available here

python3.6

GNU parallel (installed by default on most linux cluster)

software installation

#ldhat:

make

#then add path to bashrc or cp to bin

#vcftools
git clone https://github.com/vcftools/vcftools.git
./autogen.sh
./configure --prefix=/path/to/vcftools/
make
make install

#then add path to bashrc or cp to bin

Running the pipeline

input needed: vcf file split by populations. vcf file should be stored in 00-data and named as follows: batch."$pop".recode.vcf where "$pop" is the name of the target population

to create input files: ./02-script/00-extract_data.sh population_name list_chromosome

Running interval and rhomap

first make sure you have an appropriate lk file.

Such file can be obtained from lkgen or from running complete.

Setting LDhat parameters

Edit files 02.interval_iteration.sh and 03.rhomap_iteration.sh in 02-scripts

to choose appropriate MCMC length, and other relevand parameters.

Then edit files

02-scripts/graham_cedar/04.interval_parallel_NC_arg.sh and

02-scripts/graham_cedar/05.rhomap_parallel_NC_arg.sh

to match your cluster requirement end run the script

Please read the manual and LDhat papers before use

References

A. Auton and G. McVean. Recombination rate estimation in the presence of hotspots. Genome Res., 2007

ldhat_workflow's People

Contributors

enormandeau avatar quentinrougemont avatar

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.