-
Notifications
You must be signed in to change notification settings - Fork 40
Pipeline Overview

-
PhiX174 read removal and adapter removal using
BBDuK -
Filtering, trimming, and base correction using
fastpthat 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
-
Contamination check of trimmed reads using
Kraken2.
- 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
- Gene detection and allele calling for antibiotic resistance (AR)
srst2in 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.- This step is only run with
-entry CDC_PHOENIX - The curated database includes genes from these AR gene databases:
-
AMRFinderPlus
- PHX v1.1.0 uses version 2022-08-09.1
-
ARG-ANNOT
- PHX v1.1.0 uses the latest version NT v6 July 2019
-
ResFinder
- PHX v1.1.0 includes until 2022-08-08 commit 39f4b26
-
AMRFinderPlus
- This step is only run with
- Contamination is checked by using
Kraken2on the trimmed reads. -
srst2MLST- This step is only run with
-entry CDC_PHOENIX - For PHoeNix >=2.0.0 a "custom" MLST database is used (the same one is used for the MLST program). This database is created by pulling organism, scheme and allele information from a static version of PubMLST.org (https://pubmlst.org/static/data/dbases.xml) to make a database in the form expected by SRST2 and the MLST program.
- This step is only run with
- Assembly of trimmed reads using
SPAdes - Filter reads to remove any scaffolds less than 500bp in length.
- Assess assembly quality using
QUASTand custom scripts - QC Metrics Generated:
- Trimmed coverage (total trimmed bases / assembly length)
- Assembly ratio (assembly size / median genome size of species)
- The NCBI Assembly stats file is calculated based on this file from NCBI.
- Standard dev is only calculate for cases where there are have >10 reference genomes
-
Assess genome assembly for completeness using
BUSCO. This step is only run with-entry CDC_PHOENIX -
The mast distance is calculated from a pre-calculated sketch of all complete refseq bacteria created with
Mashand the top 20 best isolate matches based on distances are passed intoFastANIfor increased speed in species ID.- Note that because we take the top 20 distances it is possible to get more than 20 isolates passed to FastANI. In other words, if the 20th distance has several isolates that are the same distance from the query sequence all those isolates are passed to FastANI.
-
Calculate the average nucleotide identity (between genomes) using
FastANIto determine species. -
Type multiple loci to characterize isolates of microbial species using
MLST- For PHoeNix <2.0.0 the database that is included in the MLST program is used.
- For PHoeNix >=2.0.0 a "custom" MLST database is used (the same one is used for the MLST program). This database is created by pulling organism, scheme and allele information from a static version of PubMLST.org (https://pubmlst.org/static/data/dbases.xml) to make a database in the form expected by SRST2 and the MLST program.
-
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 withGAMMA-S.
-
The curated database includes genes from these AR gene databases:
-
AMRFinderPlus
- PHX v1.1.0 uses version 2022-08-09.1
-
ARG-ANNOT
- PHX v1.1.0 uses the latest version NT v6 July 2019
-
ResFinder
- PHX v1.1.0 includes until 2022-08-08 commit 39f4b26
-
AMRFinderPlus
-
Additional databases are used:
- Database of hypervirulence genes from Russo et al.
-
PlasmidFinder
- Reference paper
- PHX v1.1.0 includes until 2022-03-30 commit 9002e72
-
PROKKAis run on the scaffolds to generated a translated.faafile and an annotated.gfffile, which will be passed to AMRFinder. -
AMRFinderPlusis run and the point mutations are reported in thePhoenix_Output_Report.tsv. The translated.faaand annotated.gfffiles from PROKKA are passed to AMRFinder as described in the AMRFinder documentation.- The database that is included in PHX v1.1.0 is 2022-08-19.1 this matches what is in the combined database.
- In addition to running
Kraken2on the trimmed reads, KRAKEN2 is run on the weighted assembled scaffolds using the same database. This additional step allows us to check if any contamination made it into the assembly and this taxa call will be used if FastANI fails.
-
Kraken2is also run in its normally on the scaffolds (non-weighted). This step is only run with-entry CDC_PHOENIX
There are 3 "C"s we are concerned with when evaluating genome assemblies:
- Contiguity: the size and number of contigs.
- Completeness: the content of contigs, particularly the gene content.
- Correctness: ordering and location of contigs.
Evaluating the quality of a genome assembly is more of an art than clear cut rules. The auto "PASS/FAIL" are metrics we deem to be the bare minimum quality standards and are:
- >30x coverage (default, but can be increased with --coverage in phx >=1.2.0)
- Assembly ratio stdev <2.58
- The assembly ratio is the ratio between the total number of bases in the sample assembly compared to the expected genome size.
- Min assembly length >1,000,000bp
In addition to this information, staff should also consider other QC metrics (see more below), what species is being sequenced (some species complexes might have lower quality assemblies) and what you plan to do with the data. If there are particular metrics you are interested in then please submit a feature request for consideration.
Warnings are defined as "out of line with what is expected and MAY cause problems downstream". The following will produce WARNINGS in the synopsis file:
- <1,000,000 total reads for each raw and trimmed reads
- % trimmed reads with Q30 average for R1 (<90%) and R2 (<70%)
- >200 scaffolds
- Checking that %GC content is within 2.58 stdev away from the mean %GC content for the species determined
- Contamination check
- >30% unclassified reads
- Confirm there is only 1 genera with >25% of assigned reads
Alerts are defined as "something to note, but doesn't mean it's a poor-quality assembly". The following will produce ALERTS in the synopsis file:
- No orphaned reads found after trimming
- <10 reference genomes for species identified so no stdev for assembly ratio or %GC content calculated
- >150x coverage or between 30-40x coverage
DISCLAIMER: The identification methods used and the data summarized are for public health surveillance or investigational purposes only and must NOT be communicated to the patient, their care provider, or placed in the patient’s medical record. These results should NOT be used for diagnosis, treatment, or assessment of individual patient health or management.
- Home
- Dependencies and Install
- Running PHoeNIx
- Pipeline Overview
- Documentation for Databases
- Running PHoeNIx on Different Systems
- Versioning Control and Reproducibility
- Troubleshooting
- Guidance
- Contributing and Issues
- Beta Testing