Coder Social home page Coder Social logo

variantcalling's Introduction

๐Ÿงฌ Pedigree Analysis - Generate SNP Panel

Docker Environment

  • Download the Dockerfile and inside same directory run:

docker build -t <IMAGE_TAG> .

  • Check the IMAGE ID (look for the name of your image tag):

docker images -a

  • Start container

docker run --name <CONTAINER_NAME> -it <IMAGE_ID> bash

  • Copy your files to container

docker cp <DIRECTORY/FILES> <CONTAINER_ID>:<DIRECTORY>

variantCalling Workflow

Steps:

Input: sam files.

1 - Converts sam files to bam files

2 - Creates indexed bam files (bai) with samtools

3 - Performs variant calling with freebayes using a reference genome. It results in vcf files

4 - These files are compressed using bgzip and indexed using tabix

5 - Filter variants considering MAF, Hardy-Weinberg Equilibrium & missing variants proportion with Plink. This step generates a bed file

6 - Converts bed file back to vcf format also using Plink

7 - Compress and index filtered vcf files as in step 4

8 - Get the common variants considering all individuals of same family with bedtools isec

9 - Load the files with common SNPs of each family on R and analyse it (Venn graph and comparisons between families)

Prepare code before running:

Change in the file "variantCalling" the path to the config.yaml file.

In config.yaml file change the paths for all folder.

Run pipeline:

snakemake -s variantCalling -c 50

variantcalling's People

Contributors

natmurad 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.