nf-uno

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

https://github.com/uel3/nf-uno

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.2%) to scientific vocabulary

Keywords

binning metagenomics outbreak-detection pathogen
Last synced: 6 months ago · JSON representation ·

Repository

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

Basic Info
  • Host: GitHub
  • Owner: uel3
  • License: mit
  • Language: Nextflow
  • Default Branch: main
  • Homepage:
  • Size: 64.8 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
binning metagenomics outbreak-detection pathogen
Created almost 2 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md

Introduction

nf-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.
<!-- TODO nf-core: Include a figure that guides the user through the major workflow steps. Many nf-core workflows use the "tube map" design for that. See https://nf-co.re/docs/contributing/design_guidelines#examples for examples. --> <!-- TODO nf-core: Fill in short bullet-pointed list of the default steps in the pipeline -->

  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 optionally used to refine bins.
  9. (Bowtie2) is used to map individual reads back to bins to identify MAGs in common across outbreak samples.
  10. (CheckM) is used to asses quality of bins.
  11. (GTDB-tk) is used to assign taxonomy to bins.
  12. (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: console git clone https://github.com/uel3/nf-uno

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

console nextflow run nf-uno -profile conda,test --outdir <OUTDIR> To run a full test of all tools in the pipeline with the minimal dataset, use the test_full.config:

console nextflow run nf-uno -profile conda,test_full --outdir <OUTDIR>

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

samplesheet.csv:

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:

bash nextflow run nf-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. For an example analysis with output please refer to the example usage

Pipeline output

Current output of the draft UnO output consists of the user specified with following directories: Assembly, FastQC, GenomeBinning, MIDAS2, multiqc, pipelineinfo, QCshortreads, Taxonomy, 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/nf-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.

Owner

  • Name: Candace Cole
  • Login: uel3
  • Kind: user

Microbiologist venturing into bioinformatics. My current interests include metagenomics, pathogen detection/discovery, and AMR.

Citation (CITATIONS.md)

# nf-core/uno: Citations

## [nf-core](https://pubmed.ncbi.nlm.nih.gov/32055031/)

> Ewels PA, Peltzer A, Fillinger S, Patel H, Alneberg J, Wilm A, Garcia MU, Di Tommaso P, Nahnsen S. The nf-core framework for community-curated bioinformatics pipelines. Nat Biotechnol. 2020 Mar;38(3):276-278. doi: 10.1038/s41587-020-0439-x. PubMed PMID: 32055031.

## [Nextflow](https://pubmed.ncbi.nlm.nih.gov/28398311/)

> Di Tommaso P, Chatzou M, Floden EW, Barja PP, Palumbo E, Notredame C. Nextflow enables reproducible computational workflows. Nat Biotechnol. 2017 Apr 11;35(4):316-319. doi: 10.1038/nbt.3820. PubMed PMID: 28398311.

## Pipeline tools

- [FastQC](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/)

  > Andrews, S. (2010). FastQC: A Quality Control Tool for High Throughput Sequence Data [Online].

- [MultiQC](https://pubmed.ncbi.nlm.nih.gov/27312411/)

  > Ewels P, Magnusson M, Lundin S, Käller M. MultiQC: summarize analysis results for multiple tools and samples in a single report. Bioinformatics. 2016 Oct 1;32(19):3047-8. doi: 10.1093/bioinformatics/btw354. Epub 2016 Jun 16. PubMed PMID: 27312411; PubMed Central PMCID: PMC5039924.

## Software packaging/containerisation tools

- [Anaconda](https://anaconda.com)

  > Anaconda Software Distribution. Computer software. Vers. 2-2.4.0. Anaconda, Nov. 2016. Web.

- [Bioconda](https://pubmed.ncbi.nlm.nih.gov/29967506/)

  > Grüning B, Dale R, Sjödin A, Chapman BA, Rowe J, Tomkins-Tinch CH, Valieris R, Köster J; Bioconda Team. Bioconda: sustainable and comprehensive software distribution for the life sciences. Nat Methods. 2018 Jul;15(7):475-476. doi: 10.1038/s41592-018-0046-7. PubMed PMID: 29967506.

- [BioContainers](https://pubmed.ncbi.nlm.nih.gov/28379341/)

  > da Veiga Leprevost F, Grüning B, Aflitos SA, Röst HL, Uszkoreit J, Barsnes H, Vaudel M, Moreno P, Gatto L, Weber J, Bai M, Jimenez RC, Sachsenberg T, Pfeuffer J, Alvarez RV, Griss J, Nesvizhskii AI, Perez-Riverol Y. BioContainers: an open-source and community-driven framework for software standardization. Bioinformatics. 2017 Aug 15;33(16):2580-2582. doi: 10.1093/bioinformatics/btx192. PubMed PMID: 28379341; PubMed Central PMCID: PMC5870671.

- [Docker](https://dl.acm.org/doi/10.5555/2600239.2600241)

  > Merkel, D. (2014). Docker: lightweight linux containers for consistent development and deployment. Linux Journal, 2014(239), 2. doi: 10.5555/2600239.2600241.

- [Singularity](https://pubmed.ncbi.nlm.nih.gov/28494014/)

  > Kurtzer GM, Sochat V, Bauer MW. Singularity: Scientific containers for mobility of compute. PLoS One. 2017 May 11;12(5):e0177459. doi: 10.1371/journal.pone.0177459. eCollection 2017. PubMed PMID: 28494014; PubMed Central PMCID: PMC5426675.

GitHub Events

Total
  • Release event: 1
  • Watch event: 1
  • Delete event: 2
  • Public event: 1
  • Push event: 13
  • Gollum event: 2
  • Create event: 3
Last Year
  • Release event: 1
  • Watch event: 1
  • Delete event: 2
  • Public event: 1
  • Push event: 13
  • Gollum event: 2
  • Create event: 3

Dependencies

.github/workflows/awsfulltest.yml actions
  • actions/upload-artifact v4 composite
  • seqeralabs/action-tower-launch v2 composite
.github/workflows/awstest.yml actions
  • actions/upload-artifact v4 composite
  • seqeralabs/action-tower-launch v2 composite
.github/workflows/branch.yml actions
  • mshick/add-pr-comment v2 composite
.github/workflows/ci.yml actions
  • actions/checkout v4 composite
  • nf-core/setup-nextflow v1 composite
.github/workflows/clean-up.yml actions
  • actions/stale v9 composite
.github/workflows/download_pipeline.yml actions
  • actions/setup-python v5 composite
  • eWaterCycle/setup-singularity v7 composite
  • nf-core/setup-nextflow v1 composite
.github/workflows/fix-linting.yml actions
  • actions/checkout b4ffde65f46336ab88eb53be808477a3936bae11 composite
  • actions/setup-python 0a5c61591373683505ea898e09a3ea4f39ef2b9c composite
  • peter-evans/create-or-update-comment 71345be0265236311c031f5c7866368bd1eff043 composite
.github/workflows/linting.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • actions/upload-artifact v4 composite
  • nf-core/setup-nextflow v1 composite
.github/workflows/linting_comment.yml actions
  • dawidd6/action-download-artifact v3 composite
  • marocchino/sticky-pull-request-comment v2 composite
.github/workflows/release-announcements.yml actions
  • actions/setup-python v5 composite
  • rzr/fediverse-action master composite
  • zentered/bluesky-post-action v0.1.0 composite
modules/nf-core/custom/dumpsoftwareversions/meta.yml cpan
modules/nf-core/fastqc/meta.yml cpan
modules/nf-core/multiqc/meta.yml cpan
modules/nf-core/trimmomatic/meta.yml cpan
pyproject.toml pypi
modules/nf-core/bowtie2/align/meta.yml cpan
modules/nf-core/bowtie2/build/meta.yml cpan
modules/nf-core/fastp/meta.yml cpan
modules/nf-core/megahit/meta.yml cpan
modules/nf-core/maxbin2/meta.yml cpan
modules/nf-core/metabat2/jgisummarizebamcontigdepths/meta.yml cpan
modules/nf-core/metabat2/metabat2/meta.yml cpan
modules/local/midas2/meta.yml cpan
modules/nf-core/dastool/dastool/meta.yml cpan
modules/nf-core/dastool/fastatocontig2bin/meta.yml cpan
modules/nf-core/gunzip/meta.yml cpan
modules/local/midas2/environment.yml conda
  • midas2 1.0.0.*
modules/nf-core/maxbin2/environment.yml conda
  • maxbin2 2.2.7.*
modules/nf-core/metabat2/jgisummarizebamcontigdepths/environment.yml conda
  • metabat2 2.15.*
modules/nf-core/metabat2/metabat2/environment.yml conda
  • metabat2 2.15.*
modules/nf-core/aria2/meta.yml cpan
modules/nf-core/checkm/lineagewf/meta.yml cpan
modules/nf-core/checkm/qa/meta.yml cpan
modules/nf-core/gtdbtk/classifywf/meta.yml cpan
modules/nf-core/aria2/environment.yml pypi
modules/nf-core/bowtie2/align/environment.yml pypi
modules/nf-core/bowtie2/build/environment.yml pypi
modules/nf-core/checkm/lineagewf/environment.yml pypi
modules/nf-core/checkm/qa/environment.yml pypi
modules/nf-core/custom/dumpsoftwareversions/environment.yml pypi
modules/nf-core/dastool/dastool/environment.yml pypi
modules/nf-core/dastool/fastatocontig2bin/environment.yml pypi
modules/nf-core/fastp/environment.yml pypi
modules/nf-core/fastqc/environment.yml pypi
modules/nf-core/gtdbtk/classifywf/environment.yml pypi
modules/nf-core/gunzip/environment.yml pypi
modules/nf-core/megahit/environment.yml pypi
modules/nf-core/multiqc/environment.yml pypi
modules/nf-core/trimmomatic/environment.yml pypi