1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-09-20 22:12:03 +00:00
Highly parallelised multi-taxonomic profiling of shotgun metagenomic data
Find a file
2023-04-29 17:58:15 +02:00
.devcontainer Template update for nf-core/tools version 2.7.1 2022-12-08 13:18:23 +00:00
.github Merge branch 'dev' into nf-core-template-merge-2.8 2023-04-29 17:58:15 +02:00
assets MultiQC optimisations for DIAMOND and Falco 2023-04-20 15:57:57 +02:00
bin Merge branch 'dev' into nf-core-template-merge-2.8 2023-04-29 17:58:15 +02:00
conf Merge branch 'dev' into nf-core-template-merge-2.8 2023-04-29 17:58:15 +02:00
docs Merge branch 'dev' into nf-core-template-merge-2.8 2023-04-29 17:58:15 +02:00
lib Merge branch 'dev' into nf-core-template-merge-2.8 2023-04-29 17:58:15 +02:00
modules Merge branch 'dev' into nf-core-template-merge-2.8 2023-04-29 17:58:15 +02:00
subworkflows/local fix: remove typo 2023-04-22 21:13:19 +02:00
workflows Merge pull request #286 from nf-core/multiqc-optimisations 2023-04-21 22:44:36 +02:00
.editorconfig Template update for nf-core/tools version 2.8 2023-04-28 14:26:38 +00:00
.gitattributes Template update for nf-core/tools version 2.7.1 2022-12-08 13:18:23 +00:00
.gitignore initial template build from nf-core/tools, version 2.2 2022-02-18 07:55:14 +01:00
.gitpod.yml Template update for nf-core/tools version 2.3.2 2022-03-24 11:48:43 +00:00
.nf-core.yml Template update for nf-core/tools version 2.3 2022-03-15 21:05:37 +00:00
.pre-commit-config.yaml Template update for nf-core/tools version 2.8 2023-04-28 14:26:38 +00:00
.prettierignore Merge branch 'dev' into nf-core-template-merge-2.7.1 2022-12-09 10:16:17 +01:00
.prettierrc.yml Template update for nf-core/tools version 2.3.1 2022-03-23 13:57:56 +00:00
CHANGELOG.md Merge branch 'dev' into nf-core-template-merge-2.8 2023-04-29 17:58:15 +02:00
CITATIONS.md Apply suggestions from code review 2023-03-03 08:37:31 +01:00
CODE_OF_CONDUCT.md initial template build from nf-core/tools, version 2.2 2022-02-18 07:55:14 +01:00
LICENSE Template update for nf-core/tools version 2.8 2023-04-28 14:26:38 +00:00
main.nf Template update for nf-core/tools version 2.8 2023-04-28 14:26:38 +00:00
modules.json Merge branch 'dev' into nf-core-template-merge-2.8 2023-04-29 17:58:15 +02:00
nextflow.config Merge branch 'dev' into nf-core-template-merge-2.8 2023-04-29 17:58:15 +02:00
nextflow_schema.json Merge branch 'dev' into nf-core-template-merge-2.8 2023-04-29 17:58:15 +02:00
pyproject.toml Template update for nf-core/tools version 2.5.1 2022-09-01 13:34:04 +00:00
README.md Merge branch 'dev' into nf-core-template-merge-2.8 2023-04-29 17:58:15 +02:00
tower.yml Template update for nf-core/tools version 2.8 2023-04-28 14:26:38 +00:00

nf-core/taxprofiler nf-core/taxprofiler

AWS CICite with Zenodo

Nextflow run with conda run with docker run with singularity Launch on Nextflow Tower

Get help on SlackFollow on TwitterFollow on MastodonWatch on YouTube

Introduction

nf-core/taxprofiler is a bioinformatics best-practice analysis pipeline for taxonomic classification and profiling of shotgun and long-read metagenomic data. It allows for in-parallel taxonomic identification of reads or taxonomic abundance estimation with multiple classification and profiling tools against multiple databases, produces standardised output tables.

Pipeline summary

  1. Read QC (FastQC or falco as an alternative option)
  2. Performs optional read pre-processing
  3. Supports statistics for host-read removal (Samtools)
  4. Performs taxonomic classification and/or profiling using one or more of:
  5. Perform optional post-processing with:
  6. Standardises output tables (Taxpasta)
  7. Present QC for raw reads (MultiQC)
  8. Plotting Kraken2, Centrifuge, Kaiju and MALT results (Krona)

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.

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

samplesheet.csv:

sample,run_accession,instrument_platform,fastq_1,fastq_2,fasta
2612,run1,ILLUMINA,2612_run1_R1.fq.gz,,
2612,run2,ILLUMINA,2612_run2_R1.fq.gz,,
2612,run3,ILLUMINA,2612_run3_R1.fq.gz,2612_run3_R2.fq.gz,

Each row represents a fastq file (single-end), a pair of fastq files (paired end), or a fasta (with long reads).

Additionally, you will need a database sheet that looks as follows:

databases.csv:

tool,db_name,db_params,db_path
kraken2,db2,--quick,/<path>/<to>/kraken2/testdb-kraken2.tar.gz
metaphlan3,db1,,/<path>/<to>/metaphlan3/metaphlan_database/

That includes directories or .tar.gz archives containing databases for the tools you wish to run the pipeline against.

Now, you can run the pipeline using:

nextflow run nf-core/taxprofiler \
   -profile <docker/singularity/.../institute> \
   --input samplesheet.csv \
   --databases databases.csv \
   --outdir <OUTDIR>  \
   --run_kraken2 --run_metaphlan3

Warning: Please provide pipeline parameters via the CLI (as above) 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, please refer to the usage documentation and the parameter documentation.

Pipeline output

To see the results of a 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.

Credits

nf-core/taxprofiler was originally written by James A. Fellows Yates, Sofia Stamouli, Moritz E. Beber, and the nf-core/taxprofiler team.

Team

We thank the following people for their contributions to the development of this pipeline:

Acknowledgments

We also are grateful for the feedback and comments from:

And specifically to

❤️ also goes to Zandra Fagernäs for the logo.

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 #taxprofiler channel (you can join with this invite).

Citations

If you use nf-core/taxprofiler for your analysis, please cite it using the following doi: 10.5281/zenodo.7728364

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.