bpertussis-ciwgs

Culture-Independent Whole Genome Sequencing (CIWGS) Read Filter Pipeline 🧪🧬🖥️

https://github.com/cdcgov/bpertussis-ciwgs

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
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.0%) to scientific vocabulary

Keywords

bioinformatics genomic-surveillance nextflow pertussis wgs

Scientific Fields

Artificial Intelligence and Machine Learning Computer Science - 40% confidence
Last synced: 4 months ago · JSON representation ·

Repository

Culture-Independent Whole Genome Sequencing (CIWGS) Read Filter Pipeline 🧪🧬🖥️

Basic Info
  • Host: GitHub
  • Owner: CDCgov
  • License: apache-2.0
  • Language: Nextflow
  • Default Branch: master
  • Homepage:
  • Size: 54.4 MB
Statistics
  • Stars: 2
  • Watchers: 5
  • Forks: 2
  • Open Issues: 1
  • Releases: 1
Topics
bioinformatics genomic-surveillance nextflow pertussis wgs
Created about 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md

CDC Pertussis and Diphtheria Laboratory

Culture-Independent Whole Genome Sequencing (CIWGS) Read Filter Pipeline 🧪🧬🖥️

Nextflow run with conda run with docker run with singularity

Introduction

bpertussisciwgs is a bioinformatics best-practice analysis pipeline for processing Illumina reads prepared through Culture-Independent WGS of B. pertussis positive clinical specimens.

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 containers making 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 possible, these processes have been installed from nf-core/modules in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community! Some documentation has been automatically generated by nf-core and may not be accurate.

Pipeline summary

  1. Raw read QC (FastQC)
  2. Subtractive read mapping to a human reference assembly (bowtie2)
  3. Positive read mapping to a B. pertussis reference assembly (bowtie2+samtools)
  4. Optional: De novo assembly of filtered reads (skesa+QUAST)
  5. Optional: MLST/cgMLST/wgMLST typing gene coverage calculations (samtools)
  6. Compute read recovery and coverage metrics (custom)
  7. Present QC for raw reads (MultiQC)

Quick start

  1. Install Nextflow (>=21.04.0)

    CDC Users: On CDC SciComp infrastructure use:
    console module load nextflow

  2. Install any of Docker, Singularity, Podman, Shifter or Charliecloud for full pipeline reproducibility (please only use Conda as a last resort; see docs)

    CDC Users: Only singularity containers should be used on CDC SciComp infrastructure (biolinux, aspen, rosalind).

  3. Clone the pipeline repo to your working environment:

    console git clone git@github.com:CDCgov/bpertussis-ciwgs.git

  4. Test the pipeline using a minimal dataset using the command:

    console nextflow run Bpertussis-CIWGS/main.nf -profile test,singularity

  5. Start running your own analysis!

    Prepare a sample sheet for use as the pipeline input, which should consist of three comma-separated columns with: sample-ID, path(Read1.fastq), path(Read2.fastq). For single-end read data, only one FASTQ should be speficied. Example: console sample,fastq_1,fastq_2 CONTROL_REP1,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz Run the pipeline: console nextflow run Bpertussis-CIWGS/main.nf -profile sge,singularity --input {SAMPLESHEET.csv} --outdir {OUTDIR} --fasta {BPERTUSSIS.fasta} --hsref {PATH/TO/humanref/bowtie-index} --mlst {TYPING-GENES.fasta} --skesa true|false

Documentation

The bpertussisciwgs pipeline comes with documentation about general
- usage
- output
- training

Workflow diagram

Bpertussis CIWGS workflow diagram

Running on CDC HPC

For use on an HPC cluster (rosalind, aspen) the workflow can be run as a job by the following steps:

1) After logging in, activate the nextflow environment:

```console
module load nextflow
```

2) Prepare file cdc.confing with the necessary sge submission parameters, add it to your ./conf/, and include it in nextflow.config with:

```groovy
// Load CDC config for operating on internal compute infrastructure
includeConfig 'conf/cdc.config'
```

3) Submit individual processes as jobs to the scheduler using a profile defined in cdc.config, for example:

```consol
-profile sge,singularity
-profile sgeaspen,singularity
```

Credits

The bpertussisciwgs workflow was originally written by Michael R. Weigand.

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 CITATIONS.md.

Please cite:

Strengthening Bordetella pertussis genomic surveillance by direct sequencing of residual positive specimens.

Yanhui Peng, Margaret M. Williams, Lingzi Xiaoli, Ashley Simon, Heather Fueston, M. Lucia Tondella, & Michael R. Weigand

bioRxiv. 2023. doi: 10.1101/2023.12.08.570824

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.


Public Domain Standard 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

The repository utilizes code licensed under the terms of the Apache Software License and therefore is licensed under ASL v2 or later.

This source code in this repository is free: you can redistribute it and/or modify it under the terms of the Apache Software License version 2, or (at your option) any later version.

This source code in this repository is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache Software License for more details.

You should have received a copy of the Apache Software License along with this program. If not, see http://www.apache.org/licenses/LICENSE-2.0.html

The source code forked from other open source projects will inherit its license.

Privacy Standard 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 Standard 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 Standard 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.

Additional Standard Notices

Please refer to CDC's Template Repository for more information about contributing to this repository, public domain notices and disclaimers, and code of conduct.

Owner

  • Name: Centers for Disease Control and Prevention
  • Login: CDCgov
  • Kind: organization
  • Email: data@cdc.gov
  • Location: Atlanta, GA

CDC's collaborative software projects to protect America from health, safety, and security threats, both foreign and in the U.S.

Citation (CITATION.cff)

cff-version: 1.2.0
title: Bpertussis-ciwgs
message: >-
  If you use this pipeline, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Michael
    family-names: Weigand
    orcid: 'https://orcid.org/0000-0002-7278-0160'
    affiliation: Centers for Disease Control and Prevention
repository-code: 'https://github.com/CDCgov/bpertussis-ciwgs'
license: Apache-2.0
version: v1-Beta
date-released: '2023-11-29'
preferred-citation:
  type: article
  authors:
  - family-names: Peng
    given-names: Yanhui
  - family-names: Williams
    given-names: Margaret M
  - family-names: Xiaoli
    given-names: Lingzi
  - family-names: Simon
    given-names: Ashley K
  - family-names: Fueston
    given-names: Heather
  - family-names: Tondella
    given-names: Maria Lucia
  - family-names: Weigand
    given-names: Michael R
    orcid: "https://orcid.org/0000-0002-7278-0160"
  doi: "10.1101/2023.12.08.570824v1"
  journal: "bioRxiv"
  title: "Strengthening Bordetella pertussis genomic surveillance by direct sequencing of residual positive specimens"
  year: 2023

GitHub Events

Total
  • Issues event: 1
  • Watch event: 1
  • Push event: 1
  • Pull request event: 1
  • Fork event: 3
  • Create event: 1
Last Year
  • Issues event: 1
  • Watch event: 1
  • Push event: 1
  • Pull request event: 1
  • Fork event: 3
  • Create event: 1

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 15
  • Total Committers: 1
  • Avg Commits per committer: 15.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Mike Weigand y****8@c****v 15
Committer Domains (Top 20 + Academic)
cdc.gov: 1

Issues and Pull Requests

Last synced: 5 months ago

All Time
  • Total issues: 1
  • Total pull requests: 2
  • Average time to close issues: 7 months
  • Average time to close pull requests: less than a minute
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 1
  • Average time to close issues: 7 months
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • wchen190 (1)
Pull Request Authors
  • mikeyweigand (2)
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Dependencies

modules/local/dumpsoftwareversions/meta.yml cpan
modules/nf-core/modules/fastqc/meta.yml cpan
modules/nf-core/modules/multiqc/meta.yml cpan
modules/nf-core/modules/nf-core/blast/blastn/meta.yml cpan
modules/nf-core/modules/nf-core/bowtie2/align/meta.yml cpan
modules/nf-core/modules/nf-core/bowtie2/build/meta.yml cpan
modules/nf-core/modules/nf-core/quast/meta.yml cpan
modules/nf-core/modules/nf-core/samtools/depth/meta.yml cpan
modules/nf-core/modules/nf-core/samtools/fastq/meta.yml cpan
modules/nf-core/modules/nf-core/samtools/fixmate/meta.yml cpan
modules/nf-core/modules/nf-core/samtools/flagstat/meta.yml cpan
modules/nf-core/modules/nf-core/samtools/index/meta.yml cpan
modules/nf-core/modules/nf-core/samtools/markdup/meta.yml cpan
modules/nf-core/modules/nf-core/samtools/sort/meta.yml cpan
modules/nf-core/modules/nf-core/samtools/view/meta.yml cpan