Science Score: 31.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
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: seqeralabs
  • License: mit
  • Language: Nextflow
  • Default Branch: main
  • Size: 76.2 KB
Statistics
  • Stars: 1
  • Watchers: 4
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed over 2 years ago
Metadata Files
Readme Changelog License Citation

README.md

Introduction

nf-pipelines is a minimal nf-core pipeline containing as few components as possible. The idea is to be as light as possible while maintaining compatibility with nf-core tools such as modules and subworkflows. You could use this as a template to start your own pipeline or explore alternative methods of working with the nf-core template.

Overview

This pipeline uses a samplesheet input, then runs any modules or subworkflows in the NFPIPELINE workflow in main.nf before completing. As a brief set of instructions, you can add any Nextflow process or workflow within the NFPIPELINE block and execute it. We include the MULTIQC as an example and generate a report for quality control metrics.

Template instructions

Make your own repo

Add the repo to your organisation

  • [ ] Fork the repo to your own organisation and change the name to something appropriate

Template Naming

  • [ ] Replace all instances of nf-pipelines with the name of your pipeline
  • [ ] Replace all instances of seqeralabs with your GitHub username/organization
  • [ ] Run nf-core lint to check you have found all references to seqeralabs/nf-pipelines

Samplesheet handling

  • [ ] Update the assets/schema_input.json for your own samplesheet. The samplesheet currently uses a forward and reverse FASTQ with an additional meta_value, which could represent any sample specific information such as treatment, but you will need to update this for your use case. Use the nf-validate documentation to guide you.

Add needed modules/processes

For each module or subworkflow you would like to run, you will need to do one of the following:

  • [ ] Add any needed nf-core modules via the cli command nf-core modules install
  • [ ] Add any custom processes to the modules/local directory

Then do the following steps:

Modify the main workflow

  • [ ] Modify the main.nf file to add any needed processes

Modify the configuration

  • [ ] Add any new parameters to the nextflow.config
  • [ ] Each nf-core module uses a task.ext.args for configuring tool parameters. Update these using a configuration item in nextflow.config. MULTIQC has been included as an example, but you can also add these in additional configuration files but you must make sure to import them:

nextflow process { withName: 'MULTIQC' { ext.args = "--force --verbose" } }

Documentation

  • [ ] Use nf-core schema build to build the pipeline parameters and validation. This builds the argument documentation automatically!
  • [ ] Update the documentation so future users can see how to run the pipeline. Include the purpose of the pipeline, instructions on how to use it, how to make the samplesheet and what to expect as outputs.

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:

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

Now, you can run the pipeline using:

bash nextflow run seqeralabs/nf-pipelines \ -profile <docker/singularity/.../institute> \ --input samplesheet.csv

Warning: Please provide pipeline parameters via the CLI 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.

Background

This format was inspired by kenibrewer/simplenextflow but it has the following differences:

  • It is generated using the template and should be compatible with nf-core sync for the foreseeable future
  • It uses the nf-validate plugin to reduce boilerplate code
  • It uses the INITIALISE subworkflow to remove even more boilerplate code
  • It removes some additional files such as docs/
  • It uses Nextflow code to replace the Java classes in lib/ (see the initialise subworkflow)
  • It uses results as a default value for --outdir to remove one additional parameter user need to supply
  • It removes email and slack integration for simplicity
  • It removes Github features so developers can add their own

Credits

seqeralabs/nf-pipelines was originally written by the scidev team and Seqeralabs.

Contributions and Support

If you would like to contribute to this pipeline, please open an issue or pull request.

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.

Owner

  • Name: Seqera
  • Login: seqeralabs
  • Kind: organization
  • Email: info@seqera.io
  • Location: Spain

Powering the next generation of big data analysis applications

Citation (CITATIONS.md)

# nf-pipelines: 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

- [fq](https://github.com/stjude-rust-labs/fq)

## 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
Last Year

Issues and Pull Requests

Last synced: 11 months ago