Chris Fields
06/16/2026, 5:24 AM/scratch space on one of our worker nodes on our cluster (this is local to the node, not visible from the cluster file system). Our worker nodes do not have network access but we’re launching mag from a login node we have set up for workflows which does (for Singularity, etc). We’re seeing validation issues, likely because the I’m guessing validation is occurring in the main nextflow job on the login node, where it can’t see the /scratch space. Any ideas?Chris Fields
06/16/2026, 5:27 AMChris Fields
06/16/2026, 5:30 AM$ nextflow run nf-core/mag -r 5.4.2 -profile singularity -c config.json -params-file params.mag.yml -qs 6 -with-report -with-trace -resume
N E X T F L O W ~ version 26.04.3
Launching `<https://github.com/nf-core/mag>` [voluminous_dubinsky] revision: 5dabb0159a [5.4.2]
WARN: Unrecognized config option 'validation.defaultIgnoreParams'
WARN: Unrecognized config option 'validation.monochromeLogs'
------------------------------------------------------
,--./,-.
___ __ __ __ ___ /,-._.--~'
|\ | |__ __ / ` / \ |__) |__ } {
| \| | \__, \__/ | \ |___ \`-._,-`-,
`._,._,'
nf-core/mag 5.4.2
------------------------------------------------------
Input/output options
input : samplesheet.csv
outdir : results email : <mailto:cjfields@illinois.edu|cjfields@illinois.edu>
Generic options
trace_report_suffix : 2026-06-16_00-07-29
...
Core Nextflow options
revision : 5.4.2
runName : voluminous_dubinsky
containerEngine : singularity
launchDir : XXXX
workDir : XXXX
projectDir : XXXX
userName : cjfields
profile : singularity
configFiles : /home/groups/hpcbio/apps/nextflow/nextflow-26.04.3/.nextflow/assets/.repos/nf-core/mag/clones/5dabb0159ac0104885e09f301db22126e8fcb394/nextflow.config, /home/groups/hpcbio/projects/vddonk/2026-June-Metagenomes/results/2026-06-11-mag/config.json
!! Only displaying parameters that differ from the pipeline defaults !!
------------------------------------------------------
* The pipeline
<https://doi.org/10.1093/nargab/lqac007>
* The nf-core framework
<https://doi.org/10.1038/s41587-020-0439-x>
* Software dependencies
<https://github.com/nf-core/mag/blob/main/CITATIONS.md>
ERROR ~ Validation of pipeline parameters failed!
-- Check '.nextflow.log' file for details
The following invalid input values have been detected:
* --cat_db (/scratch/CAT/20241212_CAT_nr_website/): the file or directory '/scratch/CAT/20241212_CAT_nr_website/' does not existJames Fellows Yates
06/16/2026, 6:39 AMWe’re seeing validation issues, likely because the I’m guessing validation is occurring in the main nextflow job on the login node, where it can’t see the /scratch spaceI think this is the most likely cause, yes
James Fellows Yates
06/16/2026, 6:40 AMJames Fellows Yates
06/16/2026, 6:40 AMDiego Alvarez Saravia
06/16/2026, 12:36 PMChris Fields
06/16/2026, 1:35 PMChris Fields
06/16/2026, 1:37 PMDiego Alvarez Saravia
06/16/2026, 1:57 PM--skip-path-validations or even more direct: --offline-mode. How do you manage this in other pipelines @James Fellows Yates?Chris Fields
06/16/2026, 2:30 PMChris Fields
06/16/2026, 2:31 PMJames Fellows Yates
06/16/2026, 2:31 PMvalidation { ignoreParams = [param_to_ingore]}James Fellows Yates
06/16/2026, 2:31 PMJames Fellows Yates
06/16/2026, 2:31 PMJames Fellows Yates
06/16/2026, 2:32 PMChris Fields
06/16/2026, 2:33 PMWARN: Unrecognized config option 'validation.defaultIgnoreParams'
WARN: Unrecognized config option 'validation.monochromeLogs'
That was using nextflow 26.04.3Nicolas Vannieuwkerke
06/16/2026, 2:34 PMvalidation.ignoreParams = [<list of params>] is the correct syntaxNicolas Vannieuwkerke
06/16/2026, 2:35 PMChris Fields
06/16/2026, 2:50 PM* Software dependencies
<https://github.com/nf-core/mag/blob/main/CITATIONS.md>
ERROR ~ No such file or directory: /scratch/gtdbtk/release226
-- Check script '/home/groups/hpcbio/apps/nextflow/nextflow-26.04.3/.nextflow/assets/.repos/nf-core/mag/clones/5dabb0159ac0104885e09f301db22126e8fcb394/workflows/mag.nf' at line: 113 or see '.nextflow.log' file for more details
Different error but likely related to the same problemChris Fields
06/16/2026, 2:54 PMNicolas Vannieuwkerke
06/16/2026, 3:03 PM--validate_params falseChris Fields
06/16/2026, 3:05 PMnextflow run nf-core/mag -r 5.4.2 -profile singularity -c config.json -params-file params.mag.yml -qs 6 -with-report -with-trace -resume --validate_params false
Doesn’t work:
ERROR ~ Validation of pipeline parameters failed!
-- Check '.nextflow.log' file for details
The following invalid input values have been detected:
* --validate_params (false): Value is [string] but should be [boolean]
-- Check script '/home/groups/hpcbio/apps/nextflow/nextflow-26.04.3/.nextflow/assets/.repos/nf-core/mag/clones/5dabb0159ac0104885e09f301db22126e8fcb394/subworkflows/nf-core/utils_nfschema_plugin/main.nf' at line: 68 or see '.nextflow.log' file for more detailsNicolas Vannieuwkerke
06/16/2026, 3:09 PMChris Fields
06/16/2026, 3:48 PMChris Fields
06/16/2026, 3:49 PMChris Fields
06/16/2026, 3:51 PMChris Fields
06/16/2026, 4:23 PMERROR ~ No such file or directory: /scratch/CAT/20241212_CAT_nr_website
-- Check '.nextflow.log' file for detailsNicolas Vannieuwkerke
06/16/2026, 4:23 PMChris Fields
06/16/2026, 4:35 PMChris Fields
06/16/2026, 4:36 PMNicolas Vannieuwkerke
06/16/2026, 4:37 PMChris Fields
06/16/2026, 4:38 PMChris Fields
06/16/2026, 4:38 PMNicolas Vannieuwkerke
06/16/2026, 4:40 PMJames Fellows Yates
06/16/2026, 4:43 PMJames Fellows Yates
06/16/2026, 4:43 PMNicolas Vannieuwkerke
06/16/2026, 4:44 PMChris Fields
06/16/2026, 4:46 PMChris Fields
06/16/2026, 5:00 PMChris Fields
06/16/2026, 5:15 PM-r 5.4.2):
WARN: Access to undefined parameter `skip_tiara` -- Initialise it to a default value eg. `params.skip_tiara = some_value`Chris Fields
06/16/2026, 5:16 PMNicolas Vannieuwkerke
06/17/2026, 7:10 AMJames Fellows Yates
06/17/2026, 7:30 AMskip_tiara doesn't exist at all in the code base?James Fellows Yates
06/17/2026, 7:30 AM--bin_domain_classification false (whic is default)Chris Fields
06/17/2026, 7:43 PMChris Fields
06/17/2026, 7:45 PMutils_nfcore_mag_pipeline actually
$ grep -r 'skip_tiara' .
./subworkflows/local/utils_nfcore_mag_pipeline/main.nf: !params.skip_tiara ? text_tiara : "",
./subworkflows/local/utils_nfcore_mag_pipeline/main.nf: if (!params.skip_tiara) {Chris Fields
06/17/2026, 7:47 PMDiego Alvarez Saravia
06/17/2026, 8:02 PMChris Fields
06/17/2026, 8:07 PM-r 5.4.2 😉Diego Alvarez Saravia
06/17/2026, 8:07 PMChris Fields
06/17/2026, 11:54 PM--offline (I’m guessing this is a bug and that it will eventually be fixed). That opt-out param is --opt-out-run-stats. I think it should still finish if the network is available, but it does attempt connection several times before giving upChris Fields
06/17/2026, 11:55 PMJames Fellows Yates
06/18/2026, 12:13 PMChris Fields
06/18/2026, 5:55 PMbusco_db setChris Fields
06/23/2026, 10:47 PMmag when it was set for a local database. The issue we encountered elsewhere was with the Sanger Tree of Life workflow for genome assembly, which took some effort to figure out.