Workflow Type: Nextflow

<img alt="nf-core/mag" src="docs/images/mag_logo_mascot_light.png">

GitHub Actions CI Status GitHub Actions Linting StatusAWS CICite with Zenodo nf-testCite Publication

Nextflow run with conda run with docker run with singularity Launch on Seqera Platform

Get help on SlackFollow on TwitterFollow on MastodonWatch on YouTube

Introduction

nf-core/mag is a bioinformatics best-practise analysis pipeline for assembly, binning and annotation of metagenomes.

nf-core/mag workflow overview

Pipeline summary

By default, the pipeline currently performs the following: it supports both short and long reads, quality trims the reads and adapters with fastp and Porechop, and performs basic QC with FastQC, and merge multiple sequencing runs.

The pipeline then:

Furthermore, the pipeline creates various reports in the results directory specified, including a MultiQC report summarizing some of the findings and software versions.

Usage

[!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.

nextflow run nf-core/mag -profile  --input '*_R{1,2}.fastq.gz' --outdir 

or

nextflow run nf-core/mag -profile  --input samplesheet.csv --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

To see the results of an example test run with a full size dataset refer to the results tab on the nf-core website pipeline page. For more details about the output files and reports, please refer to the output documentation.

Group-wise co-assembly and co-abundance computation

Each sample has an associated group ID (see input specifications). This group information can be used for group-wise co-assembly with MEGAHIT or SPAdes and/or to compute co-abundances for the binning step with MetaBAT2. By default, group-wise co-assembly is disabled, while the computation of group-wise co-abundances is enabled. For more information about how this group information can be used see the documentation for the parameters --coassemble_group and --binning_map_mode.

When group-wise co-assembly is enabled, SPAdes is run on accordingly pooled read files, since metaSPAdes does not yet allow the input of multiple samples or libraries. In contrast, MEGAHIT is run for each group while supplying lists of the individual readfiles.

Credits

nf-core/mag was written by Hadrien Gourlé at SLU, Daniel Straub and Sabrina Krakau at the Quantitative Biology Center (QBiC). James A. Fellows Yates and Maxime Borry at the Max Planck Institute for Evolutionary Anthropology joined in version 2.2.0.

Other code contributors include:

Long read processing was inspired by caspargross/HybridAssembly written by Caspar Gross @caspargross

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

Contributions and Support

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

For further information or help, don't hesitate to get in touch on the Slack #mag channel (you can join with this invite).

Citations

If you use nf-core/mag for your analysis, please cite the preprint as follows:

nf-core/mag: a best-practice pipeline for metagenome hybrid assembly and binning

Sabrina Krakau, Daniel Straub, Hadrien Gourlé, Gisela Gabernet, Sven Nahnsen.

NAR Genom Bioinform. 2022 Feb 2;4(1):lqac007. doi: 10.1093/nargab/lqac007.

Additionally you can cite the pipeline directly with the following doi: 10.5281/zenodo.3589527

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.

Version History

3.3.0 (latest) Created 20th Dec 2024 at 04:04 by WorkflowHub Bot

Updated to 3.3.0


Frozen 3.3.0 049ea0a

3.2.1 Created 31st Oct 2024 at 04:03 by WorkflowHub Bot

Updated to 3.2.1


Frozen 3.2.1 b582aae

3.2.0 Created 28th Oct 2024 at 04:03 by WorkflowHub Bot

Updated to 3.2.0


Frozen 3.2.0 74b5c92

3.1.0 Created 5th Oct 2024 at 04:03 by WorkflowHub Bot

Updated to 3.1.0


Frozen 3.1.0 cf931af

3.0.3 Created 28th Aug 2024 at 04:03 by WorkflowHub Bot

Updated to 3.0.3


Frozen 3.0.3 8e3f760

3.0.2 Created 5th Jul 2024 at 04:02 by WorkflowHub Bot

Updated to 3.0.2


Frozen 3.0.2 bb74c46

3.0.1 Created 12th Jun 2024 at 04:03 by WorkflowHub Bot

Updated to 3.0.1


Frozen 3.0.1 aac4962

3.0.0 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 3.0.0


Frozen 3.0.0 a50117e

2.5.4 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.5.4


Frozen 2.5.4 e486bb2

2.5.3 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.5.3


Frozen 2.5.3 7bd5dc6

2.5.2 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.5.2


Frozen 2.5.2 274412a

2.5.1 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.5.1


Frozen 2.5.1 e728900

2.5.0 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.5.0


Frozen 2.5.0 ba72349

2.4.0 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.4.0


Frozen 2.4.0 18a1645

2.3.2 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.3.2


Frozen 2.3.2 66cf53a

2.3.1 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.3.1


Frozen 2.3.1 61deef8

2.3.0 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.3.0


Frozen 2.3.0 c9468cb

2.2.1 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.2.1


Frozen 2.2.1 a8e92af

2.2.0 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.2.0


Frozen 2.2.0 3b4dd34

2.1.1 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.1.1


Frozen 2.1.1 e065754

2.1.0 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.1.0


Frozen 2.1.0 d4f00bc

2.0.0 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 2.0.0


Frozen 2.0.0 0b4f0ef

1.2.0 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 1.2.0


Frozen 1.2.0 485c3fa

1.1.2 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 1.1.2


Frozen 1.1.2 8c0f1fe

1.1.1 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 1.1.1


Frozen 1.1.1 a3122b1

1.1.0 Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 1.1.0


Frozen 1.1.0 7384cef

1.0.0 (earliest) Created 11th Jun 2024 at 13:54 by WorkflowHub Bot

Updated to 1.0.0


Frozen 1.0.0 4c2f61c
help Creators and Submitter
Creators
  • No author provided
  • Hadrien Gourlé
  • Daniel Straub
  • Sabrina Krakau
Submitter
License
Activity

Views: 6675   Downloads: 3419

Created: 4th Jun 2024 at 11:33

Last updated: 20th Dec 2024 at 04:04

help Attributions

None

Total size: 4.8 MB
Powered by
(v.1.16.0-main)
Copyright © 2008 - 2024 The University of Manchester and HITS gGmbH