iridanextexample2

An example pipeline for running on IRIDA-Next with nf-schema

https://github.com/phac-nml/iridanextexample2

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
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.6%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

An example pipeline for running on IRIDA-Next with nf-schema

Basic Info
  • Host: GitHub
  • Owner: phac-nml
  • License: mit
  • Language: Nextflow
  • Default Branch: main
  • Size: 438 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created 9 months ago · Last pushed 8 months ago
Metadata Files
Readme Changelog Contributing License Citation

README.md

phac-nml/iridanextexample2

GitHub Actions CI Status GitHub Actions Linting Status nf-test

Nextflow nf-core template version run with conda run with docker run with singularity

Introduction

phac-nml/iridanextexample2 is an example pipeline for integration with IRIDA-Next. It is a successor to the original iridanextexample which replaces nf-validation with nf-schema

  1. Read QC (FastQC)
  2. Present QC for raw reads (MultiQC)

Usage

Input

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

An example samplesheet, which follows the schema_input.json structure.

csv sample,fastq_1,fastq_2 SAMPLE1,sample1_R1.fastq.gz,sample1_R2.fastq.gz SAMPLE2,sample2_R1.fastq.gz,sample2_R2.fastq.gz SAMPLE3,sample1_R1.fastq.gz,

Each row represents a fastq file (single-end) or a pair of fastq files (paired end). Validation of the samplesheet is performed by nf-schema validateParameters().

Running the pipeline

bash nextflow run phac-nml/iridanextexample2 \ -profile <docker/singularity/.../institute> \ --input samplesheet.csv \ --outdir <OUTDIR>

Output for IRIDA-Next

Output from the pipeline is available in IRIDA-Next users based on the contents of the iridanext.output.json.gz. Files and metadata are passed to the json output file using the nf-iridanext plugin based on the iridanext.config.

Example:

``` { "files": { "global": [

    ],
    "samples": {
        "SAMPLE3": [
            {
                "path": "fastqc/SAMPLE3_fastqc.html"
            }
        ],
        "SAMPLE2": [
            {
                "path": "fastqc/SAMPLE2_2_fastqc.html"
            },
            {
                "path": "fastqc/SAMPLE2_1_fastqc.html"
            }
        ],
        "SAMPLE1": [
            {
                "path": "fastqc/SAMPLE1_2_fastqc.html"
            },
            {
                "path": "fastqc/SAMPLE1_1_fastqc.html"
            }
        ]
    }
},
"metadata": {
    "samples": {
        "SAMPLE3": {
            "id": "SAMPLE3",
            "single_end": "true"
        },
        "SAMPLE2": {
            "id": "SAMPLE2",
            "single_end": "false"
        },
        "SAMPLE1": {
            "id": "SAMPLE1",
            "single_end": "false"
        }
    }
}

} ```

Citations

An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.

This pipeline uses code and infrastructure developed and maintained by the nf-core community, reused here under the MIT license.

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.

Legal

Copyright 2023 Government of Canada

Licensed under the MIT License (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License at:

https://opensource.org/license/mit/

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Owner

  • Name: National Microbiology Laboratory
  • Login: phac-nml
  • Kind: organization

Citation (CITATIONS.md)

# phac-nml/iridanextexample2: 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
  • Release event: 1
  • Delete event: 7
  • Push event: 49
  • Public event: 1
  • Pull request review event: 18
  • Pull request review comment event: 18
  • Pull request event: 10
  • Create event: 8
Last Year
  • Release event: 1
  • Delete event: 7
  • Push event: 49
  • Public event: 1
  • Pull request review event: 18
  • Pull request review comment event: 18
  • Pull request event: 10
  • Create event: 8

Dependencies

.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/branch.yml actions
  • mshick/add-pr-comment b8f338c590a895d50bcbfa6c5859251edc8952fc composite
.github/workflows/clean-up.yml actions
  • actions/stale 5bef64f19d7facfb25b37b414482c7164d639639 composite
.github/workflows/download_pipeline.yml actions
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • actions/upload-artifact ea165f8d65b6e75b540449e92b4886f43607fa02 composite
  • eWaterCycle/setup-apptainer 4bb22c52d4f63406c49e94c804632975787312b3 composite
  • jlumbroso/free-disk-space 54081f138730dfa15788a46383842cd2f914a1be composite
  • nf-core/setup-nextflow v2 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/linting.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • actions/upload-artifact ea165f8d65b6e75b540449e92b4886f43607fa02 composite
  • nf-core/setup-nextflow v2 composite
  • pietrobolcato/action-read-yaml 9f13718d61111b69f30ab4ac683e67a56d254e1d composite
.github/workflows/linting_comment.yml actions
  • dawidd6/action-download-artifact ac66b43f0e6a346234dd65d4d0c8fbb31cb316e5 composite
  • marocchino/sticky-pull-request-comment 52423e01640425a022ef5fd42c6fb5f633a02728 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/fastqc/meta.yml cpan
modules/nf-core/multiqc/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/fastqc/environment.yml pypi
modules/nf-core/multiqc/environment.yml pypi