Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add nextflow modules command to install remote modules #4112

Description

@edmundmiller

New feature

include { BOWTIE_ALIGN } from "github:nf-core/modules/modules/bowtie/align@somehashabcd"

Go:

import "github.com/google/uuid"

Snakemake:

github("owner/repo", path="workflow/Snakefile", tag="v1.0.0")

Deno:

import chalk from "npm:chalk@5";

Groovy (Grapes):

@Grab(group = 'com.puravida-software.groogle', module = 'groogle-sheet', version = '3.0.0')
@GrabExclude(group = 'org.codehaus.groovy', module = '*')

Example

Usage scenario

Baked in sharing of modules and module version control, instead of tools like nf-core to manage updating and sharing them.

Suggest implementation

That's above my pay grade. I'd imagine it would work very similar to plugins, check before the pipeline starts that all the modules are there. Then store them in .nextflow/modules or somewhere.

I guess that wouldn't be too hard.

  1. Find all the remote file requests
  2. Check for them in .nextflow/modules
  3. If the modules are not there, download them
  4. Nextflow replaces the lines behind the scenes linking to .nextflow/modules/nf-core/modules/modules/bowtie/align/main.nf

Same thing as plugins and downloading pipelines from repos, I think.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions