pathogensurveillance

Surveillance of pathogens using population genomics and sequencing

https://github.com/nf-core/pathogensurveillance

Science Score: 67.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 20 DOI reference(s) in README
  • Academic publication links
    Links to: ncbi.nlm.nih.gov
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.4%) to scientific vocabulary

Keywords

nextflow nf-core pipeline workflow
Last synced: 7 months ago · JSON representation ·

Repository

Surveillance of pathogens using population genomics and sequencing

Basic Info
Statistics
  • Stars: 36
  • Watchers: 180
  • Forks: 7
  • Open Issues: 60
  • Releases: 1
Topics
nextflow nf-core pipeline workflow
Created over 3 years ago · Last pushed 9 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md

nf-core/pathogensurveillance

GitHub Actions CI Status GitHub Actions Linting StatusAWS CICite with Zenodo nf-test

Nextflow nf-core template version run with conda run with docker run with singularity Launch on Seqera Platform

Get help on SlackFollow on BlueskyFollow on MastodonWatch on YouTube

Introduction

nf-core/pathogensurveillance is a population genomics pipeline for pathogen identification, variant detection, and biosurveillance. The pipeline accepts paths to raw reads for one or more organisms and creates reports in the form of an interactive HTML document. Significant features include the ability to analyze unidentified eukaryotic and prokaryotic samples, creation of reports for multiple user-defined groupings of samples, automated discovery and downloading of reference assemblies from NCBI RefSeq, and rapid initial identification based on k-mer sketches followed by a more robust multi gene phylogeny and SNP-based phylogeny.

The pipeline is built using Nextflow, a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity/Conda to make installation trivial and results highly reproducible. The Nextflow DSL2 implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies. Where appropriate, these processes have been submitted to and installed from nf-core/modules in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community!

On release, automated continuous integration tests run the pipeline on a full-sized dataset on the AWS cloud infrastructure. This ensures that the pipeline runs on AWS, has sensible resource allocation defaults set to run on real-world data sets, and permits the persistent storage of results to benchmark between pipeline releases and other analysis sources. The results obtained from the full-sized test can be viewed on the nf-core website.

Pipeline summary

Quick start guide

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

Note that some form of 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. In most cases you will include one profile that defines a tool to reproducibly install and use software needed by the pipeline. This is typically one of docker, singularity, or conda. Ideally conda should not be used unless docker or singularity cannot be used.

Profiles can also be used to store parameters for the pipeline, such as input data and pipeline options. Before using you own data, consider trying out a small example dataset included with the pipeline as a profile. Available test dataset profiles include:

  • test: Test profile of 1 small genome used to run the pipeline as fast as possible for testing purposes.
  • test_serratia: Test profile of 10 serratia isolates from Williams et al. 2022 (https://doi.org/10.1038/s41467-022-32929-2)
  • test_bordetella: Test profile of 5 Bordetella pertussis isolates sequenced with with Illumina and Nanopore from Wagner et al. 2023
  • test_salmonella: Test profile of 5 salmonella isolates from Hawkey et al. 2024 (https://doi.org/10.1038/s41467-024-54418-4)
  • test_boxwood_blight: Test profile of 5 samples of the boxwood blight fungus Cylindrocladium buxicola from LeBlanc et al. 2020 (https://doi.org/10.1094/PHYTO-06-20-0219-FI)
  • test_mycobacteroides: Test profile of 5 Mycobacteroides abscessus samples from Bronson et al. 2021 (https://doi.org/10.1038/s41467-021-25484-9)
  • test_bacteria: Test profile of 10 mixed bacteria from various sources
  • test_klebsiella: Test profile of 10 K. pneumoniae and related species from Holt et al. 2015 (https://doi.org/10.1073/pnas.1501049112)
  • test_small_genomes: Test profile consisting of 6 samples from species with small genomes from various sources.

Adding _full to the end of any of these profiles will run a larger (often much larger) version of these datasets.

For example, you can run the test_bacteria profile with the docker profile:

bash nextflow run nf-core/pathogensurveillance -profile docker,test_bacteria -resume --outdir test_output

You can see the samplesheets used in these profiles here:

https://github.com/nf-core/test-datasets/tree/pathogensurveillance

To run your own input data, prepare a samplesheet as described in the usage documentation section below and run the following command:

bash nextflow run nf-core/pathogensurveillance -profile <REPLACE WITH RUN TOOL> -resume --input <REPLACE WITH TSV/CSV> --outdir <REPLACE WITH OUTPUT PATH>

Where:

  • <REPLACE WITH RUN TOOL> is one of docker, singularity, or conda
  • <REPLACE WITH TSV/CSV> is the path to the input samplesheet
  • <REPLACE WITH OUTPUT PATH> is the path to where to save the output

Documentation

For more details and further functionality, please refer to the usage documentation and the parameter documentation. 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.

Credits

The following people contributed to the pipeline: Zachary S.L. Foster, Martha Sudermann, Camilo Parada-Rojas, Logan K. Blair, Fernanda I. Bocardo, Ricardo Alcalá-Briseño, Hung Phan, Nicholas C. Cauldron, Alexandra J. Weisberg, Jeff H. Chang, and Niklaus J. Grünwald.

Funding

This work was supported by grants from USDA ARS (2072-22000-045-000-D) to NJG, USDA NIFA (2021-67021-34433; 2023-67013-39918) to JHC and NJG, as well as USDAR ARS NPDRS and FNRI and USDA APHIS to NJG.

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

Citations

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

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.

Logos of University of Oregon and USAD

Owner

  • Name: nf-core
  • Login: nf-core
  • Kind: organization
  • Email: core@nf-co.re

A community effort to collect a curated set of analysis pipelines built using Nextflow.

Citation (CITATIONS.md)

# nf-core/pathogensurveillance: 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
  • Create event: 7
  • Release event: 1
  • Issues event: 96
  • Watch event: 24
  • Issue comment event: 84
  • Push event: 76
  • Pull request review comment event: 263
  • Pull request review event: 226
  • Pull request event: 26
  • Fork event: 1
Last Year
  • Create event: 7
  • Release event: 1
  • Issues event: 96
  • Watch event: 24
  • Issue comment event: 84
  • Push event: 76
  • Pull request review comment event: 263
  • Pull request review event: 226
  • Pull request event: 26
  • Fork event: 1

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 39
  • Total pull requests: 9
  • Average time to close issues: 4 months
  • Average time to close pull requests: 5 days
  • Total issue authors: 4
  • Total pull request authors: 4
  • Average comments per issue: 0.49
  • Average comments per pull request: 0.11
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 36
  • Pull requests: 9
  • Average time to close issues: 2 months
  • Average time to close pull requests: 5 days
  • Issue authors: 4
  • Pull request authors: 4
  • Average comments per issue: 0.39
  • Average comments per pull request: 0.11
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • zachary-foster (60)
  • cahuparo (24)
  • masudermann (12)
  • buchanri (10)
  • logankblair (5)
  • upasana3 (2)
  • bark9299 (1)
  • ricardoi (1)
  • grunwald (1)
  • marinawitherell (1)
Pull Request Authors
  • nf-core-bot (10)
  • zachary-foster (7)
  • buchanri (3)
  • mirpedrol (2)
  • mashehu (2)
  • cahuparo (1)
Top Labels
Issue Labels
bug (27) enhancement (6) good first issue (1)
Pull Request Labels

Dependencies

.github/workflows/awsfulltest.yml actions
  • actions/upload-artifact v3 composite
  • nf-core/tower-action v3 composite
.github/workflows/awstest.yml actions
  • actions/upload-artifact v3 composite
  • nf-core/tower-action v3 composite
.github/workflows/branch.yml actions
  • mshick/add-pr-comment v1 composite
.github/workflows/linting.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • actions/setup-python v3 composite
  • actions/upload-artifact v2 composite
  • mshick/add-pr-comment v1 composite
  • nf-core/setup-nextflow v1 composite
  • psf/black stable composite
.github/workflows/linting_comment.yml actions
  • dawidd6/action-download-artifact v2 composite
  • marocchino/sticky-pull-request-comment v2 composite
.github/workflows/clean-up.yml actions
  • actions/stale 28ca1036281a5e5922ead5184a1bbf96e5fc984e composite
.github/workflows/download_pipeline.yml actions
  • actions/setup-python 82c7e631bb3cdc910f68e0081d67478d79c6982d composite
  • eWaterCycle/setup-apptainer 4bb22c52d4f63406c49e94c804632975787312b3 composite
  • jlumbroso/free-disk-space 54081f138730dfa15788a46383842cd2f914a1be composite
  • nf-core/setup-nextflow v2 composite
.github/workflows/release-announcements.yml actions
  • actions/setup-python 82c7e631bb3cdc910f68e0081d67478d79c6982d composite
  • rzr/fediverse-action master composite
  • zentered/bluesky-post-action 80dbe0a7697de18c15ad22f4619919ceb5ccf597 composite
modules/nf-core/bakta/bakta/meta.yml cpan
modules/nf-core/bakta/baktadbdownload/meta.yml cpan
modules/nf-core/bwa/index/meta.yml cpan
modules/nf-core/bwa/mem/meta.yml cpan
modules/nf-core/fastp/meta.yml cpan
modules/nf-core/fastqc/meta.yml cpan
modules/nf-core/flye/meta.yml cpan
modules/nf-core/gatk4/variantfiltration/meta.yml cpan
modules/nf-core/graphtyper/genotype/meta.yml cpan
modules/nf-core/graphtyper/vcfconcatenate/meta.yml cpan
modules/nf-core/iqtree/meta.yml cpan
modules/nf-core/mafft/meta.yml cpan
modules/nf-core/multiqc/meta.yml cpan
modules/nf-core/nanoplot/meta.yml cpan
modules/nf-core/picard/addorreplacereadgroups/meta.yml cpan
modules/nf-core/picard/createsequencedictionary/meta.yml cpan
modules/nf-core/picard/markduplicates/meta.yml cpan
modules/nf-core/picard/sortsam/meta.yml cpan
modules/nf-core/pirate/meta.yml cpan
modules/nf-core/quast/meta.yml cpan
modules/nf-core/samtools/faidx/meta.yml cpan
modules/nf-core/samtools/index/meta.yml cpan
modules/nf-core/seqkit/sliding/meta.yml cpan
modules/nf-core/seqtk/sample/meta.yml cpan
modules/nf-core/sourmash/compare/meta.yml cpan
modules/nf-core/sourmash/sketch/meta.yml cpan
modules/nf-core/spades/meta.yml cpan
modules/nf-core/tabix/tabix/meta.yml cpan
modules/nf-core/untar/meta.yml cpan
modules/nf-core/vcflib/vcffilter/meta.yml cpan
subworkflows/nf-core/utils_nextflow_pipeline/meta.yml cpan
subworkflows/nf-core/utils_nfcore_pipeline/meta.yml cpan
subworkflows/nf-core/utils_nfschema_plugin/meta.yml cpan
modules/nf-core/busco/busco/meta.yml cpan
modules/nf-core/seqkit/stats/meta.yml cpan
modules/local/download_assemblies/Dockerfile docker
  • condaforge/mambaforge 23.1.0-4 build
modules/local/main_report/Dockerfile docker
  • eddelbuettel/r2u 22.04 build
modules/nf-core/bbmap/sendsketch/meta.yml cpan
modules/nf-core/busco/download/meta.yml cpan
modules/nf-core/mafft/align/meta.yml cpan
modules/nf-core/seqkit/head/meta.yml cpan
modules/nf-core/sratools/fasterqdump/meta.yml cpan
modules/nf-core/tabix/bgzip/meta.yml cpan
.github/actions/get-shards/action.yml actions
  • nf-core/setup-nf-test v1 composite
.github/actions/nf-test/action.yml actions
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • conda-incubator/setup-miniconda 505e6394dae86d6a5c7fbb6e3fb8938e3e863830 composite
  • eWaterCycle/setup-apptainer main composite
  • nf-core/setup-nextflow v2 composite
  • nf-core/setup-nf-test v1 composite
.github/workflows/fix_linting.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • peter-evans/create-or-update-comment 71345be0265236311c031f5c7866368bd1eff043 composite
.github/workflows/nf-test.yml actions
  • ./.github/actions/get-shards * composite
  • ./.github/actions/nf-test * composite
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
.github/workflows/template-version-comment.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • mshick/add-pr-comment b8f338c590a895d50bcbfa6c5859251edc8952fc composite
  • nichmor/minimal-read-yaml 1f7205277e25e156e1f63815781db80a6d490b8f composite
modules/nf-core/busco/busco/environment.yml conda
  • busco 5.8.3.*
  • sepp 4.5.5.*
modules/local/make_gff_with_fasta/environment.yml pypi
modules/local/prepare_report_input/environment.yml pypi
modules/nf-core/bakta/bakta/environment.yml pypi
modules/nf-core/bakta/baktadbdownload/environment.yml pypi
modules/nf-core/bbmap/sendsketch/environment.yml pypi
modules/nf-core/busco/download/environment.yml pypi
modules/nf-core/bwa/index/environment.yml pypi
modules/nf-core/bwa/mem/environment.yml pypi
modules/nf-core/fastp/environment.yml pypi
modules/nf-core/fastqc/environment.yml pypi
modules/nf-core/flye/environment.yml pypi
modules/nf-core/gatk4/variantfiltration/environment.yml pypi
modules/nf-core/graphtyper/genotype/environment.yml pypi
modules/nf-core/graphtyper/vcfconcatenate/environment.yml pypi
modules/nf-core/iqtree/environment.yml pypi
modules/nf-core/mafft/align/environment.yml pypi
modules/nf-core/mafft/environment.yml pypi
modules/nf-core/multiqc/environment.yml pypi
modules/nf-core/nanoplot/environment.yml pypi
modules/nf-core/picard/addorreplacereadgroups/environment.yml pypi
modules/nf-core/picard/createsequencedictionary/environment.yml pypi
modules/nf-core/picard/markduplicates/environment.yml pypi
modules/nf-core/picard/sortsam/environment.yml pypi
modules/nf-core/pirate/environment.yml pypi
modules/nf-core/quast/environment.yml pypi
modules/nf-core/samtools/faidx/environment.yml pypi
modules/nf-core/samtools/index/environment.yml pypi
modules/nf-core/seqkit/head/environment.yml pypi
modules/nf-core/seqkit/sliding/environment.yml pypi
modules/nf-core/seqkit/stats/environment.yml pypi
modules/nf-core/seqtk/sample/environment.yml pypi
modules/nf-core/sourmash/compare/environment.yml pypi
modules/nf-core/sourmash/sketch/environment.yml pypi
modules/nf-core/spades/environment.yml pypi
modules/nf-core/sratools/fasterqdump/environment.yml pypi
modules/nf-core/tabix/bgzip/environment.yml pypi
modules/nf-core/tabix/tabix/environment.yml pypi
modules/nf-core/untar/environment.yml pypi
modules/nf-core/vcflib/vcffilter/environment.yml pypi