https://github.com/adamrtalbot/modules

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

https://github.com/adamrtalbot/modules

Science Score: 13.0%

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

  • 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 (12.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: adamrtalbot
  • License: mit
  • Language: Nextflow
  • Default Branch: master
  • Homepage: https://nf-co.re
  • Size: 156 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 3
  • Releases: 0
Fork of nf-core/modules
Created about 4 years ago · Last pushed 10 months ago
Metadata Files
Readme Contributing License Citation

README.md

nf-core/modules

Nextflow run with conda run with docker run with singularity

Get help on Slack Follow on Bluesky Follow on Mastodon Watch on YouTube

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.

CI Runners

We are using self-hosted runners for the CI tests, managed via RunsOn.

Owner

  • Name: Adam Talbot
  • Login: adamrtalbot
  • Kind: user
  • Location: Warwick, UK
  • Company: @seqeralabs

Bioinformatics Engineer at @seqeralabs

GitHub Events

Total
  • Delete event: 2
  • Push event: 7
  • Create event: 3
Last Year
  • Delete event: 2
  • Push event: 7
  • Create event: 3

Dependencies

modules/nf-core/goleft/indexcov/meta.yml cpan
modules/nf-core/ensemblvep/environment.yml pypi
modules/nf-core/snpeff/environment.yml pypi
.github/workflows/fix-linting.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v2 composite
  • peter-evans/create-or-update-comment v2 composite
.github/workflows/test.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/github-script v6 composite
  • actions/setup-node v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v2 composite
  • conda-incubator/setup-miniconda v2 composite
  • dorny/paths-filter v2 composite
  • eWaterCycle/setup-singularity v7 composite
  • nf-core/setup-nextflow v1 composite
  • pcolby/tap-summary v1 composite
modules/nf-core/abacas/meta.yml cpan
modules/nf-core/abricate/run/meta.yml cpan
modules/nf-core/abricate/summary/meta.yml cpan
modules/nf-core/adapterremoval/meta.yml cpan
modules/nf-core/adapterremovalfixprefix/meta.yml cpan
modules/nf-core/admixture/meta.yml cpan
modules/nf-core/affy/justrma/meta.yml cpan
modules/nf-core/agat/convertspgff2gtf/meta.yml cpan
modules/nf-core/agat/convertspgxf2gxf/meta.yml cpan
modules/nf-core/agat/spstatistics/meta.yml cpan
modules/nf-core/agat/sqstatbasic/meta.yml cpan
modules/nf-core/agrvate/meta.yml cpan
modules/nf-core/allelecounter/meta.yml cpan
modules/nf-core/ampcombi/meta.yml cpan
modules/nf-core/ampir/meta.yml cpan
modules/nf-core/amplify/predict/meta.yml cpan
modules/nf-core/amps/meta.yml cpan
modules/nf-core/amrfinderplus/run/meta.yml cpan
modules/nf-core/amrfinderplus/update/meta.yml cpan
modules/nf-core/angsd/contamination/meta.yml cpan
modules/nf-core/angsd/docounts/meta.yml cpan
modules/nf-core/annotsv/annotsv/meta.yml cpan
modules/nf-core/annotsv/installannotations/meta.yml cpan
modules/nf-core/antismash/antismashlite/meta.yml cpan
modules/nf-core/antismash/antismashlitedownloaddatabases/meta.yml cpan
modules/nf-core/arcashla/extract/meta.yml cpan
modules/nf-core/aria2/meta.yml cpan
modules/nf-core/ariba/getref/meta.yml cpan
modules/nf-core/ariba/run/meta.yml cpan
modules/nf-core/arriba/meta.yml cpan
modules/nf-core/art/illumina/meta.yml cpan
modules/nf-core/artic/guppyplex/meta.yml cpan
modules/nf-core/artic/minion/meta.yml cpan
modules/nf-core/ascat/meta.yml cpan
modules/nf-core/ashlar/meta.yml cpan
modules/nf-core/assemblyscan/meta.yml cpan
modules/nf-core/ataqv/ataqv/meta.yml cpan
modules/nf-core/ataqv/mkarv/meta.yml cpan
modules/nf-core/atlas/call/meta.yml cpan
modules/nf-core/atlas/pmd/meta.yml cpan
modules/nf-core/atlas/recal/meta.yml cpan
modules/nf-core/atlas/splitmerge/meta.yml cpan
modules/nf-core/atlasgeneannotationmanipulation/gtf2featureannotation/meta.yml cpan
modules/nf-core/authentict/deam2cont/meta.yml cpan
modules/nf-core/backsub/meta.yml cpan
modules/nf-core/bacphlip/meta.yml cpan
modules/nf-core/bakta/bakta/meta.yml cpan
modules/nf-core/bakta/baktadbdownload/meta.yml cpan
modules/nf-core/bamaligncleaner/meta.yml cpan
modules/nf-core/bamcmp/meta.yml cpan
modules/nf-core/bamtools/convert/meta.yml cpan
modules/nf-core/bamtools/split/meta.yml cpan
modules/nf-core/bamtools/stats/meta.yml cpan
modules/nf-core/bamutil/trimbam/meta.yml cpan
modules/nf-core/bandage/image/meta.yml cpan
modules/nf-core/bases2fastq/meta.yml cpan
modules/nf-core/basicpy/meta.yml cpan
modules/nf-core/bbmap/align/meta.yml cpan
modules/nf-core/bbmap/bbduk/meta.yml cpan
modules/nf-core/bbmap/bbnorm/meta.yml cpan
modules/nf-core/bbmap/bbsplit/meta.yml cpan
modules/nf-core/bbmap/clumpify/meta.yml cpan
modules/nf-core/bbmap/index/meta.yml cpan
modules/nf-core/bbmap/pileup/meta.yml cpan
modules/nf-core/bbmap/sendsketch/meta.yml cpan
modules/nf-core/bcftools/annotate/meta.yml cpan
modules/nf-core/bcftools/call/meta.yml cpan
modules/nf-core/bcftools/concat/meta.yml cpan
modules/nf-core/bcftools/consensus/meta.yml cpan
modules/nf-core/bcftools/convert/meta.yml cpan
modules/nf-core/bcftools/filter/meta.yml cpan
modules/nf-core/bcftools/index/meta.yml cpan
modules/nf-core/bcftools/isec/meta.yml cpan
modules/nf-core/bcftools/merge/meta.yml cpan
modules/nf-core/bcftools/mpileup/meta.yml cpan
modules/nf-core/bcftools/norm/meta.yml cpan
modules/nf-core/bcftools/pluginscatter/meta.yml cpan
modules/nf-core/bcftools/pluginsplit/meta.yml cpan
modules/nf-core/bcftools/query/meta.yml cpan
modules/nf-core/bcftools/reheader/meta.yml cpan
modules/nf-core/bcftools/roh/meta.yml cpan
modules/nf-core/bcftools/sort/meta.yml cpan
modules/nf-core/bcftools/split/meta.yml cpan
modules/nf-core/bcftools/stats/meta.yml cpan
modules/nf-core/bcftools/view/meta.yml cpan
modules/nf-core/bcl2fastq/meta.yml cpan
modules/nf-core/bclconvert/meta.yml cpan
modules/nf-core/beagle5/beagle/meta.yml cpan
modules/nf-core/bedtools/bamtobed/meta.yml cpan
modules/nf-core/bedtools/closest/meta.yml cpan
modules/nf-core/bedtools/complement/meta.yml cpan
modules/nf-core/bedtools/coverage/meta.yml cpan
modules/nf-core/bedtools/genomecov/meta.yml cpan
modules/nf-core/bedtools/getfasta/meta.yml cpan
modules/nf-core/bedtools/groupby/meta.yml cpan