Science Score: 39.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: CDCgov
  • License: apache-2.0
  • Language: Python
  • Default Branch: master
  • Size: 2.84 MB
Statistics
  • Stars: 9
  • Watchers: 6
  • Forks: 5
  • Open Issues: 11
  • Releases: 4
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md

PolkaPox :microbe: :dna: :accordion:

Nextflow run with conda run with docker run with singularity

Introduction

PolkaPox is a workflow for filtering, trimming, QC, reference-based analysis, and de novo assembly of Illumina short sequencing reads from orthopoxviruses.

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

Pipeline summary

Read pre-processing 1. Filter raw reads to capture only Orthopox Virus sequences. (Kraken + SeqTK) 1. Trim and filter reads for adapter contamination and quality, summarize QC (Fastp)

Reference-based analyses 1. Align reads to reference genome. (BWA) 1. Variant calling and target gene mutation summary. (iVar) 1. Consensus sequence generation. (iVar)

Reference-free analyses 1. De novo assembly. (Unicycler) 1. Calculate assembly quality metrics. (QUAST) 1. Assembly graph resolution. (AssemblyGraph_gfaPy.py) 1. Align reads to assembled genome. (BWA) 1. Correct assembly errors and ambiguities. (iVar) 1. Quantify assembly corrections. (MUMmer)

Performance summary 1. Visualize reads metrics and summary of software versions. (MultiQC) 1. Compile various QC metrics. (summarize_qc.py)

workflow diagram

Quick Start

  1. Install Nextflow (>=21.10.3)

  2. Install any of Docker, Singularity (you can follow this tutorial), Podman, Shifter or Charliecloud for full pipeline reproducibility (you can use Conda both to install Nextflow itself and also to manage software within pipelines. Please only use it within pipelines as a last resort; see docs).

    • Note: if running this pipeline on CDC infrascructure (aspen, biolinux), use singularity containers.
  3. Clone this repo to your working environment:

console git clone git@github.com:CDCgov/polkapox.git

  1. Prepare your samples. You have two options: > (A) Make a sample sheet which will act as pipeline input. The samplesheet should consist of three columns with sample ID, R1 and R2 specified. If you are using single-end data, only one fastq can be specified and the pipeline will auto detect this. Example:

console sample,fastq_1,fastq_2 CONTROL_REP1,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz

(B) Pass a directory of FastQ files as your input and the pipeline will auto-create the samplesheet. See Usage for more details.

  1. Start running your own analysis!

console nextflow run polkapox/main.nf --input {SAMPLESHEET.csv OR input_directory} --outdir {OUTDIR} --fasta {REF.fa} -profile sge,singularity --kraken_db {PATH/TO/DB} --gff {ANNOTATION.gff} --workflow {WORKFLOW} --filter {true/false}

note: If you do not provide --fasta, --gff, or --kraken_db, they will default to a Clade II reference and gff in the assets folder of this repo, and a kraken db will be downloaded from s3://io-pe1-prod-ncezid-oamd-nextstrain/polkapox/orthopox_kdb/. If you do not specify --filter then it will default to true. See nextflow.config for details. Add --file_levels {top (default)/nested} if passing a directory as input. See usage for details.

Pipeline configuration

Note that some form of configuration will be needed so that Nextflow knows how to fetch the required software. You can chain multiple config profiles in a comma-separated string.

  • The pipeline comes with config profiles called docker, singularity, podman, shifter, charliecloud and conda which instruct the pipeline to use the named tool for software management. For example, -profile test,docker.
  • If you are using singularity, please use the nf-core download command to download images first, before running the pipeline. Setting the NXF_SINGULARITY_CACHEDIR or singularity.cacheDir Nextflow options enables you to store and re-use the images from a central location for future pipeline runs.
  • If you are using conda, it is highly recommended to use the NXF_CONDA_CACHEDIR or conda.cacheDir settings to store the environments in a central location for future pipeline runs.

Running on CDC cluster

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) Point to the cdc.config file, which contains custom profiles for the CDC HPC clusters. Submit individual processes as jobs to the scheduler using a profile defined in cdc.config. For example, to run a job on rosalind:

```consol
nextflow run main.nf --input {SAMPLESHEET.csv} --outdir {OUTDIR} --fasta {REF.fa} -profile rosalind,singularity --kraken_db {PATH/TO/DB} --gff {ANNOTATION.gff} -config /scicomp/reference/nextflow/configs/cdc.config
```

Documentation

Basic usage

The PolkaPox pipeline requires two inputs: [1] a samplesheet (or input directory) --input and [2] a --workflow definition. Additional details are provided in usage.

Output

Pipeline outputs are organized into sub-directories for each step in the selected workflow. All paths are relative to the top-level results directory --outdir and additional details are provided in output.

${outdir}/ bwa bandage fastp final_assembly graph_recon graph_recon_mapping ivar ivar_variants kraken2 multiqc mummer pipeline_info quast sample_summary.tsv samtools seqtk unicycler variant_summaries

De novo assembly

The PolkaPox pipeline includes de novo assembly optimized for the linear genome architecture of orthopoxviruses. Additional details are provided in de novo.

Credits

Contributors:\ Kyle O'Connell | Michael Weigand | Jessica Rowell | Shatavia Morrison\ Kristen Knipe | Ethan Hetrick | Crystal Gigante | Lynsey Kovar\ Hunter Seabolt | Dhwani Batra | Daisy McGrath\ Yesh Kulasekarapandian | Jason Caravas

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.

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.

Repository Metadata

Organization: NCEZID-OAMD contact email: ncezid_shareit@cdc.gov exemption status: NA exemption justification: NA description fields: Nextflow workflow for the assembly of Orthopox virus sequences

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.

GitHub Events

Total
  • Create event: 14
  • Release event: 4
  • Issues event: 28
  • Watch event: 4
  • Delete event: 7
  • Member event: 2
  • Issue comment event: 15
  • Push event: 63
  • Pull request review comment event: 9
  • Pull request review event: 13
  • Pull request event: 18
  • Fork event: 5
Last Year
  • Create event: 14
  • Release event: 4
  • Issues event: 28
  • Watch event: 4
  • Delete event: 7
  • Member event: 2
  • Issue comment event: 15
  • Push event: 63
  • Pull request review comment event: 9
  • Pull request review event: 13
  • Pull request event: 18
  • Fork event: 5

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 56
  • Total Committers: 5
  • Avg Commits per committer: 11.2
  • Development Distribution Score (DDS): 0.393
Past Year
  • Commits: 28
  • Committers: 4
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.321
Top Committers
Name Email Commits
Jessica Rowell J****l@c****v 34
Kyle O'Connell 8****l 12
ufp0 u****0@c****v 7
Mike Weigand y****8@c****v 2
Barton Day o****9@c****v 1
Committer Domains (Top 20 + Academic)
cdc.gov: 4

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 31
  • Total pull requests: 22
  • Average time to close issues: 6 months
  • Average time to close pull requests: 29 days
  • Total issue authors: 8
  • Total pull request authors: 4
  • Average comments per issue: 0.74
  • Average comments per pull request: 1.09
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 14
  • Pull requests: 14
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 29 days
  • Issue authors: 6
  • Pull request authors: 2
  • Average comments per issue: 0.43
  • Average comments per pull request: 0.93
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • kyleoconnell (15)
  • mikeyweigand (7)
  • jessicarowell (6)
  • jzm0-cdc (2)
  • ammaraziz (1)
  • kyleoconnell-NIH (1)
  • kyleoconnell-CDC (1)
  • RamiyapriyaS (1)
Pull Request Authors
  • kyleoconnell (16)
  • jessicarowell (7)
  • SMorrison42 (2)
  • kyleoconnell-CDC (1)
Top Labels
Issue Labels
enhancement (22) bug (11) documentation (1)
Pull Request Labels
enhancement (2)