modules

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

https://github.com/nf-microbe/modules

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

Repository

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

Basic Info
  • Host: GitHub
  • Owner: nf-microbe
  • License: mit
  • Language: Nextflow
  • Default Branch: master
  • Size: 104 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

nf-microbe/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 nf-microbe 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 -g https://github.com/nf-microbe/modules.git 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 -g https://github.com/nf-microbe/modules.git 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 -g https://github.com/nf-microbe/modules.git 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 -g https://github.com/nf-microbe/modules.git 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 nf-core modules to nf-microbe

  1. Run the nf-microbe/add_nfcore_modules.py script

python nf-microbe/add_nfcore_modules.py --module <module_name>

Adding new modules to nf-microbe

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: nf-microbe
  • Login: nf-microbe
  • Kind: organization

A microbe-specific supplement to nf-core modules, subworkflows, and pipelines.

GitHub Events

Total
  • Issues event: 2
  • Issue comment event: 1
  • Push event: 91
  • Pull request event: 61
  • Create event: 2
Last Year
  • Issues event: 2
  • Issue comment event: 1
  • Push event: 91
  • Pull request event: 61
  • Create event: 2

Dependencies

.github/workflows/test.yml actions
  • actions/cache v4 composite
  • actions/checkout v4 composite
  • actions/setup-java v4 composite
  • actions/setup-node v4 composite
  • actions/setup-python v5 composite
  • adamrtalbot/detect-nf-test-changes v0.0.4 composite
  • conda-incubator/setup-miniconda v3 composite
  • eWaterCycle/setup-apptainer main composite
  • nf-core/setup-nextflow v2 composite
  • nf-core/setup-nf-test v1 composite
  • pcolby/tap-summary v1 composite
  • pre-commit/action v3.0.1 composite
modules/nf-core/bacphlip/meta.yml cpan
modules/nf-core/bowtie2/align/meta.yml cpan
modules/nf-core/bowtie2/build/meta.yml cpan
modules/nf-core/bwa/index/meta.yml cpan
modules/nf-core/bwa/mem/meta.yml cpan
modules/nf-core/cat/cat/meta.yml cpan
modules/nf-core/cat/fastq/meta.yml cpan
modules/nf-core/checkv/downloaddatabase/meta.yml cpan
modules/nf-core/checkv/endtoend/meta.yml cpan
modules/nf-core/checkv/genbankhits/meta.yml cpan
modules/nf-core/cobrameta/meta.yml cpan
modules/nf-core/csvtk/concat/meta.yml cpan
modules/nf-core/custom/sratoolsncbisettings/meta.yml cpan
modules/nf-core/fastp/meta.yml cpan
modules/nf-core/genomad/download/meta.yml cpan
modules/nf-core/genomad/endtoend/meta.yml cpan
modules/nf-core/hmmer/hmmsearch/meta.yml cpan
modules/nf-core/iphop/download/meta.yml cpan
modules/nf-core/iphop/predict/meta.yml cpan
modules/nf-core/logan/contigawscli/meta.yml cpan
modules/nf-core/logan/contigawsclimultiplier/meta.yml cpan
modules/nf-core/logan/unitigawsclimultiplier/meta.yml cpan
modules/nf-core/megahit/meta.yml cpan
modules/nf-core/samtools/view/meta.yml cpan
modules/nf-core/seqkit/concat/meta.yml cpan
modules/nf-core/seqkit/fx2tab/meta.yml cpan
modules/nf-core/seqkit/grep/meta.yml cpan
modules/nf-core/seqkit/replace/meta.yml cpan
modules/nf-core/seqkit/seq/meta.yml cpan
modules/nf-core/seqkit/split2/meta.yml cpan
modules/nf-core/seqkit/stats/meta.yml cpan
modules/nf-core/spades/meta.yml cpan
modules/nf-core/sra/sratools/meta.yml cpan
modules/nf-core/sratools/fasterqdump/meta.yml cpan
modules/nf-core/sratools/prefetch/meta.yml cpan
modules/nf-core/untar/meta.yml cpan
subworkflows/nf-core/fasta_iphop_tsv/meta.yml cpan
subworkflows/nf-core/fastq_download_prefetch_fasterqdump_sratools/meta.yml cpan
subworkflows/nf-core/fastqfasta_cobra_fasta/meta.yml cpan
subworkflows/nf-core/fastqgfa_phables_fasta/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/bacphlip/environment.yml conda
  • bacphlip 0.9.6.*
  • hmmer 3.3.2.*
  • numpy 1.23.5.*
modules/nf-core/biopython/fastafaalengthfilter/environment.yml conda
  • biopython 1.84.*
  • python 3.12.3.*
modules/nf-core/biopython/fastahmmsearchfilter/environment.yml conda
  • biopython 1.84.*
  • python 3.12.3.*
modules/nf-core/bowtie2/align/environment.yml conda
  • bowtie2 2.5.2.*
  • pigz 2.6.*
  • samtools 1.18.*
modules/nf-core/bowtie2/build/environment.yml conda
  • bowtie2 2.5.2.*
modules/nf-core/bwa/index/environment.yml conda
  • bwa 0.7.18.*
modules/nf-core/bwa/mem/environment.yml conda
  • bwa 0.7.18.*
  • htslib 1.20.0.*
  • samtools 1.20.*
modules/nf-core/cat/cat/environment.yml conda
  • pigz 2.3.4.*
modules/nf-core/cat/fastq/environment.yml conda
  • coreutils 8.30.*
modules/nf-core/checkv/downloaddatabase/environment.yml conda
  • checkv 1.0.1.*
modules/nf-core/checkv/endtoend/environment.yml conda
  • checkv 1.0.1.*
modules/nf-core/checkv/genbankhits/environment.yml conda
  • pandas 2.2.2.*
  • python 3.12.5.*
modules/nf-core/cobrameta/environment.yml conda
  • cobra-meta 1.2.3.*
modules/nf-core/coverm/contig/environment.yml conda
  • coverm 0.7.0.*
modules/nf-core/csvtk/concat/environment.yml conda
  • csvtk 0.30.0.*
modules/nf-core/custom/sratoolsncbisettings/environment.yml conda
  • sra-tools 3.1.1.*
modules/nf-core/ena/aria2seqkittrfinder/environment.yml conda
  • aria2 1.37.0.*
  • biopython 1.84.*
  • python 3.12.5.*
  • seqkit 2.8.2.*
modules/nf-core/ena/asperacliseqkittrfinder/environment.yml conda
  • aspera-cli 4.14.0.*
  • biopython 1.84.*
  • python 3.12.7.*
  • seqkit 2.8.2.*
modules/nf-core/fastp/environment.yml conda
  • fastp 0.23.4.*
modules/nf-core/genomad/download/environment.yml conda
  • genomad 1.8.0.*
modules/nf-core/genomad/endtoend/environment.yml conda
  • genomad 1.8.0.*
modules/nf-core/hmmer/hmmsearch/environment.yml conda
  • hmmer 3.4.*
modules/nf-core/hostile/clean/environment.yml conda
  • hostile 1.1.0.*
modules/nf-core/hostile/fetch/environment.yml conda
  • hostile 1.1.0.*
modules/nf-core/iphop/download/environment.yml conda
  • iphop 1.3.3.*
modules/nf-core/iphop/predict/environment.yml conda
  • iphop 1.3.2.*
modules/nf-core/kcounter/kmerfreq/environment.yml conda
  • biopython 1.84.*
  • kcounter 0.1.1.*
  • numpy 2.1.1.*
  • python 3.10.14.*
modules/nf-core/logan/contigawscli/environment.yml conda
  • awscli 1.32.101.*
  • biopython 1.83.*
  • python 3.12.4.*
  • seqkit 2.8.2.*
modules/nf-core/logan/contigawsclimultiplier/environment.yml conda
  • awscli 1.32.101.*
  • biopython 1.83.*
  • python 3.12.4.*
  • seqkit 2.8.2.*
modules/nf-core/logan/unitigawsclimultiplier/environment.yml conda
  • awscli 1.32.101.*
  • biopython 1.83.*
  • python 3.12.4.*
  • seqkit 2.8.2.*
modules/nf-core/megahit/environment.yml conda
  • megahit 1.2.9.*
  • pigz 2.8.*
modules/nf-core/mvirs/index/environment.yml conda
  • mvirs 1.1.1.*
modules/nf-core/mvirs/oprs/environment.yml conda
  • mvirs 1.1.1.*
modules/nf-core/mvirs/parser/environment.yml conda
  • biopython 1.84.*
  • hmmer 3.4.*
  • pandas 2.2.3.*
  • prodigal-gv 2.11.0.*
  • python 3.12.3.*
modules/nf-core/phables/install/environment.yml conda
  • phables 1.4.0.*
modules/nf-core/phables/run/environment.yml conda
  • phables 1.4.0.*
modules/nf-core/pipelines/mvirsatb/environment.yml conda
  • biopython 1.84.*
  • fastp 0.23.4.*
  • hmmer 3.4.*
  • mvirs 1.1.1.*
  • pandas 2.2.3.*
  • sra-tools 3.1.1.*
modules/nf-core/plass/penguin/environment.yml conda
  • plass 5.cf8933.*
modules/nf-core/propagate/environment.yml conda
  • vrhyme 1.1.0.*
modules/nf-core/prophagetracer/wgs/environment.yml conda
  • blast 2.16.0.*
  • bwa 0.7.18.*
  • gawk 5.3.1.*
  • sambamba 1.0.1.*
  • samtools 1.21.*
modules/nf-core/pyhmmer/buscoclassify/environment.yml conda
  • pandas 2.2.2.*
  • pyhmmer 0.10.14.*
  • python 3.12.5.*
modules/nf-core/pyhmmer/plasmidclassify/environment.yml conda
  • pandas 2.2.2.*
  • pyhmmer 0.10.14.*
  • python 3.12.5.*
modules/nf-core/pyhmmer/virusclassify/environment.yml conda
  • pandas 2.2.2.*
  • pyhmmer 0.10.14.*
  • python 3.12.5.*
modules/nf-core/pyrodigalgv/environment.yml conda
  • pyrodigal-gv 0.3.2.*
modules/nf-core/sambamba/markdup/environment.yml conda
  • sambamba 1.0.1.*
modules/nf-core/samtools/view/environment.yml conda
  • htslib 1.21.*
  • samtools 1.21.*
modules/nf-core/seqhasher/sequniq/environment.yml conda
  • gawk 5.3.0.*
modules/nf-core/seqkit/concat/environment.yml conda
  • seqkit 2.8.1.*
modules/nf-core/seqkit/fx2tab/environment.yml conda
  • seqkit 2.8.1.*
modules/nf-core/seqkit/grep/environment.yml conda
  • seqkit 2.8.1.*
modules/nf-core/seqkit/replace/environment.yml conda
  • seqkit 2.8.1.*
modules/nf-core/seqkit/sample/environment.yml conda
  • seqkit 2.8.1.*
modules/nf-core/seqkit/seq/environment.yml conda
  • seqkit 2.8.1.*
modules/nf-core/seqkit/split2/environment.yml conda
  • seqkit 2.8.1.*
modules/nf-core/seqkit/stats/environment.yml conda
  • seqkit 2.8.1.*
modules/nf-core/sequencestats/environment.yml conda
  • biopython 1.81.*
  • python 3.12.0.*