Skip to content

tanyalama/Variant-Calling

 
 

Repository files navigation

Variant discovery tutorials

This repository contains a variant detection tutorial for UConn CBC workshops.

Introduction

This repository an introduction to the basics of variant calling from high-throughput, short-read sequencing data. While some limited conceptual ground will be covered in the tutorial, if you are working through it independently, it will be much more helpful if you understand the motivation for the steps in advance. A useful (if dated) review of the underlying concepts is Nielsen et al. 2011 in Nature Reviews Genetics.

Most steps have associated bash scripts tailored to the UConn CBC Xanadu cluster with appropriate headers for the Slurm scheduler. These can be modified to run interactively or with another job scheduler.

Commands should never be executed on the submit nodes of any HPC machine. If working on the Xanadu cluster, you should submit each script to the scheduler as sbatch scriptname.sh after modifying it as appropriate.

Basic editing of all scripts can be performed on the server with tools such as nano, vim, or emacs. If you are new to Linux, please use this handy guide for the operating system commands. In this tutorial, you will be working with common bioinformatic file formats, such as FASTA, FASTQ, SAM/BAM, GFF3/GTF and VCF. You can learn even more about each file format here. If you do not have a Xanadu account and are an affiliate of UConn/UCHC, you can get one here.

Structure:

  1. Stepwise QC, alignment, post-alignment processing

  2. Variant Calling: bcftools

  3. Part 1, but a piped example

  4. a. Variant calling: Freebayes

    b. Variant calling: GATK, joint calling using gvcf

  5. Filtering and comparing variant sets

  6. Variant annotation

Data:

In this tutorial we will use human whole genome sequence data from the NIST Genome in a Bottle project. The data are Illumina paired-end sequence data from a chinese trio consisting of a mother, father and son. For the son, the data are 2x250bp reads at 100x coverage. For the parents, the data are 2x150bp reads at 50x coverage. To make things run quickly, we'll only analyze a 5mb region of chromosome 20: chr20:29400000-34400000

This 5mb region of the genome is somewhat arbitrary, but it is near the centromere and has a few regions with mapping problems that can help illustrate technical issues that might arise during variant calling.

For the reference genome, we'll use GRCh38. The specific version we'll use is recommended by Heng Li, author of bwa for variant calling.

Source:

  • GiaB
  • GiaB FTP site
  • Heng Li recommends to use this version of the human genome for variant calling:
    • ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCA/000/001/405/GCA_000001405.15_GRCh38/seqs_for_alignment_pipelines.ucsc_ids/GCA_000001405.15_GRCh38_no_alt_analysis_set.fna.gz

Required software tools:

quality control

alignment

sequence alignment manipulation and visualization

variant calling

other utilities

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%