Skip to content

Pipeline Overview

Jill V. Hagey, PhD edited this page Jun 21, 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 (AR) srst2 in gene mode. We have 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 Scaffolds >= 500bps

  1. Assess genome assembly for completeness using BUSCO
  2. The mast distance is calculated from a pre-calculated sketch created with Mash and the top 20 best matches are passed into FastANI for increased speed in species ID.
  3. Calculate the average nucleotide identity (between genomes) using FastANI to determine species.
  4. Type multiple loci to characterize isolates of microbial species using MLST
  5. AR genes and hypervirulence genes are detected using GAMMA. We have curated an AR gene database that is a combination of three AR gene databases with redundancies removed and gene names standardized. Plasmid markers are detected with GAMMA-S.
  1. In addition to running Kraken2 on the trimmed reads, KRAKEN2 is run on the assembled reads using the same database. This additional step allows us to check if any contamination made it into the assembly.

Clone this wiki locally