Variant discovery tutorials

This repository contains re-worked variant detection tutorials for UConn CBC workshop.

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

    c. Beyond variant calling: genotype likelihoods.

  5. Filtering and comparing variant sets

  6. Variant annotation

Proposed data:

NIST Genome in a Bottle chinese trio. Region chr20:29400000-34400000

This is an arbitrary 5mb region of the genome. It is:

  • near the centromere.
  • has a couple regions with mapping problems.
  • takes only a few minutes to align.
  • 50-100x whole genome shotgun sequencing for each of 3 individuals.
    • 2x250bp paired-end reads for the son
    • 2x150bp paired-end for the parents

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

Source:

  • GiaB
  • ftp://ftp-trace.ncbi.nlm.nih.gov/giab/ftp/data/
  • Heng Li's recommendation
  • 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