Closed Pandapip1 closed 1 year ago
Note: I tested this with both the local version (nextflow run /ref/djslab/data/nextflow/nf-core/mag/2_3_2
) and the most up-to-date version (nextflow run nf-core/mag
).
We have fixed this in the upcoming release, you can try running this with the latest version of nextflow (i.e. 23.04) and it should work (as a work around).
Might it be worth pinning the x-ref'd issue in the meantime? I searched open issues and didn't find anything (because the issue was closed).
Actually, it turns out I am running NF 23.04 already, so that fix didn't work.
EDIT: Using the master branch using nextflow run nf-core/mag#master -profile test --outdir test
didn't help either.
EDIT 2: I just realized you're using master for stable and dev for development, not master for development and stable for stable. Also, I realized that's not the correct syntax for branch selection.
EDIT 3: dev
branch is broken for me too.
gavinjohn@login:/scratch/djslab/gavinjohn $ nextflow run nf-core/mag -r dev -profile test --outdir test
N E X T F L O W ~ version 22.04.3
Launching `https://github.com/nf-core/mag` [ridiculous_curie] DSL2 - revision: 87761e0b7d [dev]
Cannot find latest version of nf-validation plugin
gavinjohn@login:/scratch/djslab/gavinjohn $ cat .nextflow.log
Jul-18 09:48:50.626 [main] DEBUG nextflow.cli.Launcher - $> nextflow run nf-core/mag -r dev -profile test --outdir test
Jul-18 09:48:50.734 [main] INFO nextflow.cli.CmdRun - N E X T F L O W ~ version 22.04.3
Jul-18 09:48:51.905 [main] DEBUG nextflow.scm.AssetManager - Git config: /home/gavinjohn/.nextflow/assets/nf-core/mag/.git/config; branch: master; remote: origin; url: https://github.com/nf-core/mag.git
Jul-18 09:48:51.922 [main] DEBUG nextflow.scm.AssetManager - Git config: /home/gavinjohn/.nextflow/assets/nf-core/mag/.git/config; branch: master; remote: origin; url: https://github.com/nf-core/mag.git
Jul-18 09:48:52.034 [main] WARN org.eclipse.jgit.util.FS - Exception caught during execution of command '[git, config, --system, --edit]' in '/ref/djslab/software/spack-0.18.1/opt/spack/linux-rocky8-x86_64/gcc-8.5.0/git-2.35.2-j4xfhht2htme6osg7loxtnrcprez4jyg/bin', return code '128', error message 'fatal: Invalid path '/ref/djslab/software/spack-0.18.1/opt/spack/linux-rocky8-x86_64/gcc-8.5.0/git-2.35.2-j4xfhht2htme6osg7loxtnrcprez4jyg/etc': No such file or directory
'
Jul-18 09:48:58.790 [main] DEBUG nextflow.config.ConfigBuilder - Found config home: /home/gavinjohn/.nextflow/config
Jul-18 09:48:58.791 [main] DEBUG nextflow.config.ConfigBuilder - Found config base: /home/gavinjohn/.nextflow/assets/nf-core/mag/nextflow.config
Jul-18 09:48:58.793 [main] DEBUG nextflow.config.ConfigBuilder - Parsing config file: /home/gavinjohn/.nextflow/config
Jul-18 09:48:58.793 [main] DEBUG nextflow.config.ConfigBuilder - Parsing config file: /home/gavinjohn/.nextflow/assets/nf-core/mag/nextflow.config
Jul-18 09:48:58.802 [main] DEBUG nextflow.config.ConfigBuilder - Applying config profile: `test`
Jul-18 09:48:58.898 [main] DEBUG nextflow.config.ConfigBuilder - Applying config profile: `test`
Jul-18 09:48:59.359 [main] DEBUG nextflow.plugin.PluginsFacade - Using Default plugins manager
Jul-18 09:48:59.371 [main] INFO org.pf4j.DefaultPluginStatusProvider - Enabled plugins: []
Jul-18 09:48:59.372 [main] INFO org.pf4j.DefaultPluginStatusProvider - Disabled plugins: []
Jul-18 09:48:59.377 [main] INFO org.pf4j.DefaultPluginManager - PF4J version 3.4.1 in 'deployment' mode
Jul-18 09:48:59.381 [main] DEBUG nextflow.plugin.PluginsFacade - Using Default plugins manager
Jul-18 09:48:59.555 [main] DEBUG nextflow.plugin.PluginsFacade - Using Default plugins manager
Jul-18 09:48:59.556 [main] DEBUG nextflow.plugin.PluginsFacade - Using Default plugins manager
Jul-18 09:49:00.166 [main] DEBUG nextflow.config.ConfigBuilder - Available config profiles: [cfc_dev, ifb_core, denbi_qbic, alice, mjolnir_globe, uppmax, test_binning_entry, incliva, uge, rosalind_uge, test_nothing, lugh, unibe_ibu, vai, czbiohub_aws, jax, ccga_med, scw, tigem, tubingen_apg, google, ipop_up, googlels, eddie, medair, test_host_rm, biowulf, apptainer, bi, bigpurple, sbc_sharc, adcra, cedars, vsc_kul_uhasselt, pawsey_nimbus, ucl_myriad, utd_ganymede, charliecloud, icr_davros, test_ancient_dna, ceres, munin, arm, rosalind, test_binrefinement, hasta, cfc, uzh, test_hybrid_host_rm, test_busco_auto, ebi_codon_slurm, ebc, ku_sund_dangpu, ccga_dx, test_hybrid, crick, marvin, biohpc_gen, shifter, mana, mamba, wehi, awsbatch, imperial, maestro, genotoul, test_no_clipping, abims, janelia, nu_genomics, googlebatch, oist, sahmri, mpcdf, leicester, vsc_ugent, sage, cambridge, podman, ebi_codon, cheaha, xanadu, test, computerome, seg_globe, sanger, dkfz, pasteur, test_full, azurebatch, hki, test_adapterremoval, crukmi, docker, engaging, gis, hypatia, psmn, eva, fgcz, conda, crg, singularity, uw_hyak_pedslabs, prince, utd_sysbio, debug, genouest, cbe, test_bbnorm, phoenix, gitpod, seawulf, fub_curta, uct_hpc, aws_tower, binac]
Jul-18 09:49:00.213 [main] DEBUG nextflow.cli.CmdRun - Applied DSL=2 from script declararion
Jul-18 09:49:00.214 [main] INFO nextflow.cli.CmdRun - Launching `https://github.com/nf-core/mag` [ridiculous_curie] DSL2 - revision: 87761e0b7d [dev]
Jul-18 09:49:00.215 [main] DEBUG nextflow.plugin.PluginsFacade - Setting up plugin manager > mode=prod; plugins-dir=/home/gavinjohn/.nextflow/plugins; core-plugins: nf-amazon@1.7.2,nf-azure@0.13.2,nf-console@1.0.3,nf-ga4gh@1.0.3,nf-google@1.1.4,nf-sqldb@0.4.0,nf-tower@1.4.0
Jul-18 09:49:00.217 [main] DEBUG nextflow.plugin.PluginsFacade - Plugins declared=[nf-validation]
Jul-18 09:49:00.224 [main] INFO org.pf4j.DefaultPluginStatusProvider - Enabled plugins: []
Jul-18 09:49:00.225 [main] INFO org.pf4j.DefaultPluginStatusProvider - Disabled plugins: []
Jul-18 09:49:00.227 [main] INFO org.pf4j.DefaultPluginManager - PF4J version 3.4.1 in 'deployment' mode
Jul-18 09:49:00.235 [main] INFO org.pf4j.AbstractPluginManager - No plugins
Jul-18 09:49:00.236 [main] DEBUG nextflow.plugin.PluginUpdater - Installing plugin nf-validation version: latest
Jul-18 09:49:00.303 [main] ERROR nextflow.cli.Launcher - @unknown
java.lang.IllegalStateException: Cannot find latest version of nf-validation plugin
at nextflow.plugin.PluginUpdater.load0(PluginUpdater.groovy:241)
at nextflow.plugin.PluginUpdater.installPlugin(PluginUpdater.groovy:144)
at nextflow.plugin.PluginUpdater.prepareAndStart(PluginUpdater.groovy:91)
at nextflow.plugin.PluginsFacade.start(PluginsFacade.groovy:312)
at nextflow.plugin.PluginsFacade.start(PluginsFacade.groovy:317)
at nextflow.plugin.PluginsFacade.setup(PluginsFacade.groovy:202)
at nextflow.plugin.Plugins.setup(Plugins.groovy:39)
at nextflow.cli.CmdRun.run(CmdRun.groovy:301)
at nextflow.cli.Launcher.run(Launcher.groovy:480)
at nextflow.cli.Launcher.main(Launcher.groovy:639)
Hmm ok. Let me test and get back to you.
Note that you're running 22.04.3
not 23.04
according to your log file.
This works fine on my cluster:
$ > nextflow run nf-core/mag -r dev -profile mpcdf,raven,test --outdir test
N E X T F L O W ~ version 23.04.2
This fails due to a new plugin in dev
that has a new structure not supported by older version of nextflows (the one you are using; the minimum nextflow version in dev
will be 23.04 on release)
NXF_VER=22.04.3 nextflow run nf-core/mag -r dev -profile mpcdf,raven,test --outdir test
N E X T F L O W ~ version 22.04.3
Launching `https://github.com/nf-core/mag` [sharp_wing] DSL2 - revision: 87761e0b7d [dev]
Cannot find latest version of nf-validation plugin
This fails as originally reported (as the older version of Nextflow didn't support modules being loaded simply by directory and has since been fixed in dev
regardless)
$ NXF_VER=22.04.3 nextflow run nf-core/mag -r 2.3.2 -profile mpcdf,raven,test --outdir test
Is a directory
-- Check script '/u/jfellowsy/.nextflow/assets/nf-core/mag/./workflows/../subworkflows/local/gunc_qc.nf' at line: 7 or see '.nextflow.log' file for more details
This is working for me with no issue:
$ nextflow run nf-core/mag -r 2.3.2 -profile mpcdf,raven,test --outdir test
N E X T F L O W ~ version 23.04.2
Note that you're running 22.04.3 not 23.04 according to your log file.
I'm blind apparently. Thanks for pointing that out!
No worries! Hope it's running now
Description of the bug
When I attempt to run
nf-core/mag
, the script, immediately after startup, errors with the following unusual output:Command used and terminal output
Output is identical in both cases.
Relevant files
.nextflow.log
~/.nextflow/config
System information
Hardware: HPC Executor: slurm Container engine: Singularity OS: Unknown linux nf-core/mag version: 2.3.2 or master branch