Skip to content

Pipeline Overview

Jill V. Hagey, PhD edited this page May 27, 2022 · 92 revisions

Pipeline Summary:

Pipeline Workflow


QC

  1. PhiX174 read removal and adapter removal using BBDuK
  2. Filtering, trimming, and base correction using fastp that includes:
    • quality trimming with a window size of 20 and quality of 30
    • quality pruning at 3' and 5' ends
    • removal of short reads
    • forced polyG tail trimming
  3. Contamination check of trimmed reads using Kraken2 and the MiniKraken2_v2_8GB.

Analysis of Trimmed Reads

  1. QC Metrics Generated (all data generated for paired and unpaired reads generated post-trimming):
    • Number of total reads/bases
    • Percent of reads/bases remaining (from raw sequences)
    • Number of Q20/Q30 bases
    • Percent Q20/Q30 bases

Analysis Using Trimmed Reads

  1. Gene detection and allele calling for antibiotic resistance srst2 in gene mode. DHQP has curated an AR gene database that is a combination of three AR gene databases with redundancies removed and gene names standardized.

Assembly

  1. Assembly of trimmed reads using SPAdes
  2. Filter reads to remove any scaffolds less than 500bp in length.

QC of Assembled Scaffolds >= 500bps

  1. Assess assembly quality using QUAST and custom scripts
  2. QC Metrics Generated:
  • Raw coverage (total raw bases / assembly length)
  • Trimmed coverage (total trimmed bases / assembly length)
  • Assembly ratio (assembly size / median genome size of species)

Analysis of Assembled Reads >= 500bps

  1. Assess assembly quality using QUAST
  2. Assess genome assembly for completeness using BUSCO
  3. A mash sketch is created with Mash and the .msh file is passed into FastANI for increased speed in species ID.
  4. Measure the average nucleotide identity (between genomes) using FastANI to determine species.
  5. Type multiple loci to characterized isolates of microbial species using MLST
  6. AR genes, hypervirulence genes and plasmids are detected with GAMMA. DHQP has curated an AR gene database that is a combination of three AR gene databases with redundancies removed and gene names standardized.
  1. In addition to running Kraken2 on the trimmed reads it is run on the assembled reads using the same MiniKraken2_v2_8GB. This additional step allows us to check if any contamination made it into the assembly.

Clone this wiki locally