Maria Antonia Saracco
09/17/2025, 3:06 PMnf-core subworkflows install
,--./,-.
___ __ __ __ ___ /,-._.--~\
|\ | |__ __ / ` / \ |__) |__ } {
| \| | \__, \__/ | \ |___ \`-._,-`-,
`._,._,'
nf-core/tools version 3.3.2 - <https://nf-co.re>
? Subworkflow name: differential_functional_enrichment
INFO Installing 'differential_functional_enrichment'
ERROR Module 'decoupler' not found in available modules
╭─ info ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Use the command nf-core modules list to view available modules. │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ERROR
nf-core modules list local
,--./,-.
___ __ __ __ ___ /,-._.--~\
|\ | |__ __ / ` / \ |__) |__ } {
| \| | \__, \__/ | \ |___ \`-._,-`-,
`._,._,'
nf-core/tools version 3.3.2 - <https://nf-co.re>
INFO Repository type: pipeline
ERROR 'decoupler'Matthias Zepper
09/17/2025, 4:13 PMMaria Antonia Saracco
09/18/2025, 11:29 AMMaria Antonia Saracco
09/18/2025, 12:36 PMMatthias Zepper
09/18/2025, 1:37 PMit could be related to this issues?Both issues deal with installation from custom sources for modules and subworkflows, other than the canonic nf-core ones. Therefore, I do not think so? Or are you also using another remote than nf-core/modules?
Maria Antonia Saracco
09/18/2025, 1:57 PMMatthias Zepper
09/18/2025, 2:02 PMERROR 'decoupler'
nf-core --log-file ./decoupler-subworkflow.txt subworkflows install differential_functional_enrichment
nf-core --log-file decoupler-module.txt modules install decoupler/decoupler
and the log files do not produce anything obviously suspicious to me.Arthur
09/18/2025, 10:41 PMDECOUPLER but it’s under a <tool>/<subtool> structure of decoupler/decoupler so the module name needs to be DECOUPLER_DECOUPLER rather than the plain DECOUPLER.
I am surprised the module was able to be pushed into the master branch in the current state.Arthur
09/18/2025, 10:49 PMMatthias Zepper
09/19/2025, 8:33 AMThe error here is somewhat obvious but I am surprised that it’s able to occur.I noticed as well that there was an issue with the name, but felt that there must be more to it since I could not install the module independently of the subworkflow either.
nf-core modules install decoupler/decoupler
also failed.Arthur
09/19/2025, 8:34 AMMatthias Zepper
09/19/2025, 8:38 AMMatthias Zepper
09/19/2025, 8:40 AMdecoupler nor with decoupler/decoupler.
I naively assumed the name in the meta.yml of the module would be the identifier, but also tried the path in the modules folder.
This is why I gave up, since I do not know how the module installation works in #CE5LG7WMB.Matthias Zepper
09/19/2025, 8:41 AMArthur
09/19/2025, 8:45 AMArthur
09/19/2025, 8:46 AMArthur
09/19/2025, 8:46 AMMatthias Zepper
09/19/2025, 8:47 AMArthur
09/19/2025, 8:47 AMnf-core modules install decoupler/decoupler
,--./,-.
___ __ __ __ ___ /,-._.--~\
|\ | |__ __ / ` / \ |__) |__ } {
| \| | \__, \__/ | \ |___ \`-._,-`-,
`._,._,'
nf-core/tools version 3.3.2 - <https://nf-co.re>
INFO Installing 'decoupler/decoupler'
INFO Use the following statement to include this module:
include { DECOUPLER_DECOUPLER } from '../modules/nf-core/decoupler/decoupler/main'Arthur
09/19/2025, 8:48 AMinclude line is incorrect…Matthias Zepper
09/19/2025, 8:49 AM(nf_tools) matthias.zepper@matthiaszmbp nf-core-testpipeline % nf-core -v modules install decoupler/decoupler
,--./,-.
___ __ __ __ ___ /,-._.--~\
|\ | |__ __ / ` / \ |__) |__ } {
| \| | \__, \__/ | \ |___ \`-._,-`-,
`._,._,'
nf-core/tools version 3.4.0.dev0 - <https://nf-co.re>
DEBUG sys.platform='darwin', git_executable='git' util.py:494
Pulling from 'nf-core/modules' (<https://github.com/nf-core/modules.git>) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Waiting for responseDEBUG Popen(['git', 'version'], cwd=/Users/matthias.zepper/.config/nfcore/nf-core/modules, stdin=None, shell=False, universal_newlines=False) cmd.py:1270
DEBUG Popen(['git', 'fetch', '-v', '--progress', '--', 'origin'], cwd=/Users/matthias.zepper/.config/nfcore/nf-core/modules, stdin=None, shell=False, cmd.py:1270
universal_newlines=True)
DEBUG Popen(['git', 'checkout', 'master'], cwd=/Users/matthias.zepper/.config/nfcore/nf-core/modules, stdin=None, shell=False, universal_newlines=False) cmd.py:1270
DEBUG Popen(['git', 'merge', 'origin/master'], cwd=/Users/matthias.zepper/.config/nfcore/nf-core/modules, stdin=None, shell=False, universal_newlines=False) cmd.py:1270
DEBUG Got '/Users/matthias.zepper/.config/nfcore/nf-core/modules' as path utils.py:281
DEBUG Found a config cache, loading: /Users/matthias.zepper/.nextflow/nf-core/wf-config-cache-9f4bce35ba6f9f759cbf54fa7.json utils.py:315
DEBUG Using config file: /Users/matthias.zepper/.config/nfcore/nf-core/modules/.nf-core.yml utils.py:1413
DEBUG Got '.' as path utils.py:281
DEBUG Found a config cache, loading: /Users/matthias.zepper/.nextflow/nf-core/wf-config-cache-c793aa7bbd1c9ecc154688e60.json utils.py:315
DEBUG Using config file: .nf-core.yml utils.py:1413
DEBUG sys.platform='darwin', git_executable='git' util.py:494
DEBUG Popen(['git', 'checkout', 'master'], cwd=/Users/matthias.zepper/.config/nfcore/nf-core/modules, stdin=None, shell=False, universal_newlines=False) cmd.py:1270
DEBUG Popen(['git', 'merge', 'origin/master'], cwd=/Users/matthias.zepper/.config/nfcore/nf-core/modules, stdin=None, shell=False, universal_newlines=False) cmd.py:1270
DEBUG Got '/Users/matthias.zepper/.config/nfcore/nf-core/modules' as path utils.py:281
DEBUG Found a config cache, loading: /Users/matthias.zepper/.nextflow/nf-core/wf-config-cache-9f4bce35ba6f9f759cbf54fa7.json utils.py:315
DEBUG Using config file: /Users/matthias.zepper/.config/nfcore/nf-core/modules/.nf-core.yml utils.py:1413
ERROR 'decoupler'Matthias Zepper
09/19/2025, 8:51 AMArthur
09/19/2025, 8:57 AMmodules install) error on any version I have no idea where it’s coming from.
I remain fairly certain the subworkflow issue is due to the name being incorrect, because I believe we trace back to the <tool>/<subtool> by parsing the TOOL_SUBTOOL of the include statementMatthias Zepper
09/19/2025, 8:59 AMdev version with pip install --upgrade --force-reinstall git+<https://github.com/nf-core/tools.git@dev> .
I deleted all cached files and repeated the install attempt unsuccessfully:
(nf_tools) matthias.zepper@matthiaszmbp nf-core-testpipeline % rm -rf /Users/matthias.zepper/.config/nfcore
(nf_tools) matthias.zepper@matthiaszmbp nf-core-testpipeline % rm -rf /Users/matthias.zepper/.nextflow/nf-core
(nf_tools) matthias.zepper@matthiaszmbp nf-core-testpipeline % nf-core -v --log-file decoupler-install-3.4dev modules install decoupler/decoupler
The only explanation I still have left is that the previous installation attempts in my test pipeline directory left the modules.json in some inconsistent state, because I did not erase my local testpipeline so far.Arthur
09/19/2025, 9:01 AMArthur
09/19/2025, 9:01 AMArthur
09/19/2025, 9:02 AMdecoupler in there and retryMatthias Zepper
09/19/2025, 9:04 AMmodules.json would also help.Arthur
09/19/2025, 9:42 AM