https://github.com/arunbodd/modules

Repository to host tool-specific module files for the Nextflow DSL2 community!

https://github.com/arunbodd/modules

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 (13.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Repository to host tool-specific module files for the Nextflow DSL2 community!

Basic Info
  • Host: GitHub
  • Owner: arunbodd
  • License: mit
  • Default Branch: master
  • Homepage: https://nf-co.re
  • Size: 135 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of nf-core/modules
Created almost 4 years ago · Last pushed almost 4 years ago
Metadata Files
Readme Contributing License Citation

README.md

nf-core/modules

Nextflow run with conda run with docker run with singularity

GitHub Actions Coda Linting Get help on Slack

Follow on Twitter Watch on YouTube

THIS REPOSITORY IS UNDER ACTIVE DEVELOPMENT. SYNTAX, ORGANISATION AND LAYOUT MAY CHANGE WITHOUT NOTICE!

A repository for hosting Nextflow DSL2 module files containing tool-specific process definitions and their associated documentation.

Table of contents

Using existing modules

The module files hosted in this repository define a set of processes for software tools such as fastqc, bwa, samtools etc. This allows you to share and add common functionality across multiple pipelines in a modular fashion.

We have written a helper command in the nf-core/tools package that uses the GitHub API to obtain the relevant information for the module files present in the modules/ directory of this repository. This includes using git commit hashes to track changes for reproducibility purposes, and to download and install all of the relevant module files.

  1. Install the latest version of nf-core/tools (>=2.0)
  2. List the available modules:

```console $ nf-core modules list remote

                                     ,--./,-.
     ___     __   __   __   ___     /,-._.--~\

|\ | |__ __ / / \ |__) |__ } { | \| | \__, \__/ | \ |___ \-.,--, .,._,'

nf-core/tools version 2.0

INFO Modules available from nf-core/modules (master): pipeline_modules.py:164

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Module Name ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ bandage/image │ │ bcftools/consensus │ │ bcftools/filter │ │ bcftools/isec │ ..truncated.. ```

  1. Install the module in your pipeline directory:

```console $ nf-core modules install fastqc

                                     ,--./,-.
     ___     __   __   __   ___     /,-._.--~\

|\ | |__ __ / / \ |__) |__ } { | \| | \__, \__/ | \ |___ \-.,--, .,._,'

nf-core/tools version 2.0

INFO Installing fastqc pipelinemodules.py:213 INFO Downloaded 3 files to ./modules/nf-core/modules/fastqc pipelinemodules.py:236 ```

  1. Import the module in your Nextflow script:

```nextflow #!/usr/bin/env nextflow

nextflow.enable.dsl = 2

include { FASTQC } from './modules/nf-core/modules/fastqc/main' ```

  1. Remove the module from the pipeline repository if required:

```console $ nf-core modules remove fastqc

                                     ,--./,-.
     ___     __   __   __   ___     /,-._.--~\

|\ | |__ __ / / \ |__) |__ } { | \| | \__, \__/ | \ |___ \-.,--, .,._,'

nf-core/tools version 2.0

INFO Removing fastqc pipelinemodules.py:271 INFO Successfully removed fastqc pipelinemodules.py:285 ```

  1. Check that a locally installed nf-core module is up-to-date compared to the one hosted in this repo:

```console $ nf-core modules lint fastqc

                                     ,--./,-.
     ___     __   __   __   ___     /,-._.--~\

|\ | |__ __ / / \ |__) |__ } { | \| | \__, \__/ | \ |___ \-.,--, .,._,'

nf-core/tools version 2.0

INFO Linting pipeline: . lint.py:104 INFO Linting module: fastqc lint.py:106

╭─────────────────────────────────────────────────────────────────────────────────╮ │ [!] 1 Test Warning │ ╰─────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────┬───────────────────────────────┬──────────────────────────────────╮ │ Module name │ Test message │ File path │ ├──────────────┼───────────────────────────────┼──────────────────────────────────┤ │ fastqc │ Local copy of module outdated │ modules/nf-core/modules/fastqc/ │ ╰──────────────┴────────────────────────────── ┴──────────────────────────────────╯ ╭──────────────────────╮ │ LINT RESULTS SUMMARY │ ├──────────────────────┤ │ [✔] 15 Tests Passed │ │ [!] 1 Test Warning │ │ [✗] 0 Test Failed │ ╰──────────────────────╯ ```

Adding new modules

If you wish to contribute a new module, please see the documentation on the nf-core website.

Please be kind to our code reviewers and submit one pull request per module :)

Help

For further information or help, don't hesitate to get in touch on Slack #modules channel (you can join with this invite).

Citation

If you use the module files in this repository for your analysis please 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.

Owner

  • Name: Arun boddapati
  • Login: arunbodd
  • Kind: user
  • Location: Reston
  • Company: Leidos

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use `nf-core tools` in your work, please cite the `nf-core` publication"
authors:
  - family-names: Ewels
    given-names: Philip
  - family-names: Peltzer
    given-names: Alexander
  - family-names: Fillinger
    given-names: Sven
  - family-names: Patel
    given-names: Harshil
  - family-names: Alneberg
    given-names: Johannes
  - family-names: Wilm
    given-names: Andreas
  - family-names: Ulysse Garcia
    given-names: Maxime
  - family-names: Di Tommaso
    given-names: Paolo
  - family-names: Nahnsen
    given-names: Sven
title: "The nf-core framework for community-curated bioinformatics pipelines."
version: 2.4.1
doi: 10.1038/s41587-020-0439-x
date-released: 2022-05-16
url: https://github.com/nf-core/tools
prefered-citation:
  type: article
  authors:
    - family-names: Ewels
      given-names: Philip
    - family-names: Peltzer
      given-names: Alexander
    - family-names: Fillinger
      given-names: Sven
    - family-names: Patel
      given-names: Harshil
    - family-names: Alneberg
      given-names: Johannes
    - family-names: Wilm
      given-names: Andreas
    - family-names: Ulysse Garcia
      given-names: Maxime
    - family-names: Di Tommaso
      given-names: Paolo
    - family-names: Nahnsen
      given-names: Sven
  doi: 10.1038/s41587-020-0439-x
  journal: nature biotechnology
  start: 276
  end: 278
  title: "The nf-core framework for community-curated bioinformatics pipelines."
  issue: 3
  volume: 38
  year: 2020
  url: https://dx.doi.org/10.1038/s41587-020-0439-x

GitHub Events

Total
Last Year

Dependencies

.github/workflows/code-linting.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
.github/workflows/nf-core-linting.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • dorny/paths-filter v2 composite
.github/workflows/pytest-workflow.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • actions/upload-artifact v2 composite
  • conda-incubator/setup-miniconda v2 composite
  • dorny/paths-filter v2 composite
  • eWaterCycle/setup-singularity v5 composite
modules/ensemblvep/environment.yml conda
  • ensembl-vep 106.1.*
modules/snpeff/environment.yml conda
  • snpeff 5.1.*
modules/bcl2fastq/Dockerfile docker
  • debian bullseye-slim build
modules/bclconvert/Dockerfile docker
  • debian bullseye-slim build
modules/cellranger/Dockerfile docker
  • continuumio/miniconda3 4.8.2 build
modules/cellranger/mkfastq/Dockerfile docker
  • continuumio/miniconda3 4.8.2 build
modules/ensemblvep/Dockerfile docker
  • nfcore/base 1.14 build
modules/snpeff/Dockerfile docker
  • nfcore/base 2.1 build