Git Product home page Git Product logo

variant_caller's Introduction

Variant calling pipeline that takes paired end short read data (fastq files) and a reference genome (fasta file) as inputs and output variant calls (vcf file). The pipeline uses snakemake, bwa, samtools, and freebayes.

Before running the pipeline:

  • add paired end short read fastq files to the fastq/ directory
  • add reference genome fastq file to the ref/ directory
  • edit config/config.yaml file with the base name and extension of the fastq files and the name of the fasta file

The pipeline can be run with one of the following commands:

  • snakemake --cores [number of cores] uses local dependencies
  • snakemake --cores [number of cores] --use-conda uses snakemake integrated package management to fetch dependencies from conda repository and create self-contained environments
  • snakemake --cores [number of cores] --use-conda --use-singularity uses snakemake integrated package management within a Docker container created from DockerHub (docker://svigneau/variant_caller) and carrying the required dependencies

Notes:

Unit tests generated with snakemake --generate-unit-tests were modified to do the following:

The unit tests use SARS-CoV-2 reference genome (MN908947.3) and sequencing data from a Covid patient (downsampled from SRR15660643). In the resulting vcf files, most polymorphisms are homozygous as expected with a haploid viral genome. However, a small proportion of polymorphisms appears as heterozygous. This may have been caused by primers used for viral genome amplification overlapping with polymorphisms present in the sample, as reported here: https://primer-monitor.neb.com/lineages.

To do:

  • add fastqc [DONE]
  • add multiqc
  • mark duplicates [DONE]
  • filter VCF using QUAL and DP [DONE]
  • annotate VCF with snpEff [DONE]
  • add unit tests for new rules
  • update Dockerfile and Docker image with new environments
  • use os.path.join for paths in Snakefile
  • use snakemake wrappers
  • add parallel-fastq-dump to fetch fastq by SRR id

variant_caller's People

Contributors

svigneau avatar

Watchers

 avatar James Cloos 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.