Github hosting of DSL2 includes? #4254
-
Hi there, I have a
Within it's
This all works well on machine with a fully populated But I've been trying to make it externally reproducible. The first step is to put the I didn't see anything about that in the current documentation, and this |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You can have relative paths for that, @photocyte. That's what nf-core pipelines do. Check the nf-core/rnaseq pipeline, for example. In the nextflow.config file, it includes multiple configuration files through relative paths that work in any machine that clones this GitHub repository. The same thing for modules (check here). That's what you're looking for, right? |
Beta Was this translation helpful? Give feedback.
-
Hi there @mribeirodantas , not exactly. I'd like to have the depency sub-workflows live in separate github repositories. But I agree if all the dependencies are explicitly shipped in the same monolithic github repository (like shown here), one should use relative paths. Put another way, I'd like to know if there is a current best practice way to specify & use Nextflow sub-workflow dependencies, via them living in separate github repositories. Ideally, this dependency resolution would happen with a single command, i.e.: Perhaps you're suggesting there is a way to do it with relative paths using
|
Beta Was this translation helpful? Give feedback.
-
It is trivial if you put all of the modules you want to include in the same git repo as your main script. And config files can be included from anywhere, so that's no problem. But if you want to include modules from other sources, that is currently not supported. You can use the |
Beta Was this translation helpful? Give feedback.
It is trivial if you put all of the modules you want to include in the same git repo as your main script. And config files can be included from anywhere, so that's no problem. But if you want to include modules from other sources, that is currently not supported.
You can use the
nf-core modules
command to install and update standard nf-core modules in your pipeline repo. See #4112 for the current discussion about adding this support into Nextflow itself.