Skip to content

metagenomics pipeline supporting The UnO Project for identifying pathogens in common across outbreak samples

License

Notifications You must be signed in to change notification settings

uel3/nf-core-uno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

nf-core/uno is a bioinformatics pipeline for the co-assembly, binning, and read mapping of mNGS outbreak samples from the The UnO project

Pipeline summary

UnO is an mNGS bioinformatics pipeline that supports The UnO Project. nf-core UnO is the second tier The UnO project which analyzes set of mNGS reads from a well-characterized outbreak. The draft UnO pipeline takes as input outbreak sets of mNGS reads. Reads are co-assembled into a single outbreak assembly and then binned into Metagenomic Assembled Genomes (MAGs). Individual mNGS reads are mapped back to MAGs to identify individual sample contributions. MAGs in common across individual mNGS reads are chosen for further analysis and characterization.

  1. Inital reference-based taxonomic classfication of reads is performed using (MIDAS2)
  2. Read QC (FastQC)
  3. Perform quality and adapter trimming on raw reads (Trimmomatic)
  4. Read QC on trimmed reads
  5. Co-assemble mNGS reads from outbreak dataset into single outbreak assembly (Megahit)
  6. Preparation for binning of metagenomic co-assembly with (Bowtie2). Outbreak co-assembly is used to create an index which individual reads are mapped to determine depth information for downstream binning tools.
  7. (MetaBat2) and (MaxBin2) are used to bin MAGs.
  8. (DAStool) is used to refine bins.
  9. (Bowtie2) is used to map individual reads back to refined bins to identify MAGs in common across outbreak samples.
  10. (CheckM) is used to asses quality of refined bins.
  11. (MultiQC) is used to summarize some of the findings and software versions.

Workflow

nf-uno workflow

Usage

Running nf-uno requires Nextflow (>=21.10.3) and conda to be installed. There are detailed instructions below for Nextflow installation, including Nextflow's Bash and Java requirements. Conda is required for the MIDAS2 process therefore, we recommend using conda for all required dependencies.

Note

If you are new to Nextflow and nf-core, please refer to this page on how to set-up Nextflow. Make sure to test your setup with -profile test before running the workflow on actual data. For conda installation, please refer to this page.

When Nextflow and conda are installed, clone the pipeline:

git clone https://github.com/uel3/nf-core-uno

Next, test it on the minimal dataset provided using the test.config:

nextflow run nf-core-uno -profile conda,test --outdir <OUTDIR>

Some configuration will be needed so that Nextflow knows how to fetch the required software. This is usually done in the form of a config profile. You can chain multiple config profiles in a comma-separated string passed to -profile in combination with a config file passed to -c.

Note

If you are running the nf-uno for the first time, it will take longer to run because the dependencies for each process are being loaded. Subsequent runs should be much faster.

Next, prepare a samplesheet with your input data that looks as follows:

samplesheet.csv:

sample,group,short_reads_1,short_reads_2,
SAMPLE1,UnO,/path/to/reads/SAMPLE1_1.fastq.gz,/path/to/reads/SAMPLE1_2.fastq.gz,
SAMPLE2,UnO,/path/to/reads/SAMPLE2_1.fastq.gz,/path/to/reads/SAMPLE2_2.fastq.gz,
SAMPLE3,UnO,/path/to/reads/SAMPLE3_1.fastq.gz,/path/to/reads/SAMPLE3_2.fastq.gz,

Each row represents a pair of fastq files (paired end).

Now, you can run the pipeline using:

nextflow run nf-core-uno \
   -profile <conda/institute> \
   --input samplesheet.csv \
   --outdir <OUTDIR>

Warning

Please provide pipeline parameters via the CLI or Nextflow -params-file option. Custom config files including those provided by the -c Nextflow option can be used to provide any configuration except for parameters; see docs.

For more details and further functionality, please refer to the usage documentation and the parameter documentation.

Pipeline output

Current output of the draft UnO output consists of the user specified with following directories: Assembly, FastQC, GenomeBinning, multiqc, pipeline_info, QC_shortreads, and Trimmomatic. For more details about the output files and reports, please refer to the output documentation.

General Stats Table with FastQC Results

Credits

uel3/uno is adapted by Candace Cole from nf-core/mag, written by Hadrien Gourlé at SLU, Daniel Straub and Sabrina Krakau at the Quantitative Biology Center (QBiC).

We thank the following people for their extensive assistance in the development of this pipeline:

Andrew Huang

Rong Jin

Contributions and Support

If you would like to contribute to this pipeline, please see the contributing guidelines.

Citations

An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.

You can cite the nf-core publication as follows:

The nf-core framework for community-curated bioinformatics pipelines.

Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.

Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x.

Notices

Public Domain Notice

This repository constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105. This repository is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication. All contributions to this repository will be released under the CC0 dedication. By submitting a pull request you are agreeing to comply with this waiver of copyright interest.

License Standard Notice

Privacy Notice

This repository contains only non-sensitive, publicly available data and information. All material and community participation is covered by the Disclaimer and Code of Conduct. For more information about CDC's privacy policy, please visit http://www.cdc.gov/other/privacy.html.

Contributing Notice

Anyone is encouraged to contribute to the repository by forking and submitting a pull request. (If you are new to GitHub, you might start with a basic tutorial.) By contributing to this project, you grant a world-wide, royalty-free, perpetual, irrevocable, non-exclusive, transferable license to all users under the terms of the Apache Software License v2 or later.

All comments, messages, pull requests, and other submissions received through CDC including this GitHub page may be subject to applicable federal law, including but not limited to the Federal Records Act, and may be archived. Learn more at http://www.cdc.gov/other/privacy.html.

Records Management Notice

This repository is not a source of government records, but is a copy to increase collaboration and collaborative potential. All government records will be published through the CDC web site.

About

metagenomics pipeline supporting The UnO Project for identifying pathogens in common across outbreak samples

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published