Mahesh Binzer-Panchal
06/30/2025, 11:48 AMpelle.config,bianca.config,rackham.config, etc), and one uppmax.config which dynamically includes the config based on cluster name? This would mean users could either use the old way or the cluster specific profile.Maxime Garcia
06/30/2025, 11:50 AMMaxime Garcia
06/30/2025, 11:51 AMpontus
06/30/2025, 11:51 AMMahesh Binzer-Panchal
06/30/2025, 11:53 AMPhil Ewels
06/30/2025, 12:12 PMhostname trick? I'm always a little nervous about that, but I guess it's ok.. 😅Mahesh Binzer-Panchal
06/30/2025, 12:13 PMpdc_kth is using, although I don't have access to Bianca, Snowy, Miarka, or Irma If I can find someone from Uppmax to help me checkMahesh Binzer-Panchal
06/30/2025, 12:14 PMMahesh Binzer-Panchal
06/30/2025, 12:15 PMPhil Ewels
06/30/2025, 12:23 PMMahesh Binzer-Panchal
06/30/2025, 12:24 PMsacctmgr show cluster -P -n | cut -f1 -d'|' | grep "bianca\|irma\|miarka\|pelle\|rackham\|snowy"Mahesh Binzer-Panchal
06/30/2025, 12:24 PMpontus
06/30/2025, 12:26 PMMahesh Binzer-Panchal
06/30/2025, 12:34 PMPhil Ewels
06/30/2025, 12:34 PM-profile uppmax_bianca etcPhil Ewels
06/30/2025, 12:34 PMPhil Ewels
06/30/2025, 12:34 PMpontus
06/30/2025, 12:35 PMPhil Ewels
06/30/2025, 12:35 PMNXF_SYNTAX_PARSER=v2Phil Ewels
06/30/2025, 12:36 PMMahesh Binzer-Panchal
06/30/2025, 12:36 PMPhil Ewels
06/30/2025, 12:36 PMpyproject.toml vs. setup.pyPhil Ewels
06/30/2025, 12:57 PMBen [2:50 PM]
yeah, what I realized is that because of these self-invoking closures like Mahesh is doing here, you basically have the same level of dynamism in the strict syntax, just isolated in these little bubbles. I see no reason to get rid of that, it's quite a useful feature
Phil Ewels
06/30/2025, 12:57 PMMahesh Binzer-Panchal
06/30/2025, 1:06 PMNXF_SYNTAX_PARSER=v2 it seems. I'm hitting issues with template config contents.
$ NXF_SYNTAX_PARSER=v2 nextflow run nf-core/rnaseq -profile pdc_kth -r 3.16.1 --project "naiss2024-22-1346" --outdir results
N E X T F L O W ~ version 25.04.4
WARN: Cannot read project manifest -- Cause: Config parsing failed
Error nextflow.config:305:1: Variable declarations cannot be mixed with config statements
│ 305 | def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-s
╰ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Mahesh Binzer-Panchal
06/30/2025, 1:07 PMPhil Ewels
06/30/2025, 1:08 PMMahesh Binzer-Panchal
06/30/2025, 1:10 PMMahesh Binzer-Panchal
06/30/2025, 1:10 PM$ NXF_SYNTAX_PARSER=v2 nextflow run nf-core/rnaseq -profile pdc_kth -r 3.19.0 --project "naiss2024-22-1346" --outdir results
N E X T F L O W ~ version 25.04.4
WARN: Cannot read project manifest -- Cause: Config parsing failed
Error nextflow.config:147:37: `task` is not defined
│ 147 | path: { "${params.outdir}/${task.process.tokenize(':')[-1].tok
╰ | ^^^^
Error nextflow.config:443:30: `manifest` is not defined
│ 443 | \033[0;35m nf-core/rnaseq ${manifest.version}\033[0m
╰ | ^^^^^^^^
Error nextflow.config:446:26: `manifest` is not defined
│ 446 | afterText = """${manifest.doi ? "\n* The pipeline\n" : ""}${ma
╰ | ^^^^^^^^
Error nextflow.config:446:69: `manifest` is not defined
│ 446 | ? "\n* The pipeline\n" : ""}${manifest.doi.tokenize(",").collect { "
╰ | ^^^^^^^^
Error nextflow.config:446:186: `manifest` is not defined
│ 446 | doi.org/','')}"}.join("\n")}${manifest.doi ? "\n" : ""}
╰ | ^^^^^^^^
Error nextflow.config:455:22: `validation` is not defined
│ 455 | beforeText = validation.help.beforeText
╰ | ^^^^^^^^^^
Error nextflow.config:456:21: `validation` is not defined
│ 456 | afterText = validation.help.afterText
╰ | ^^^^^^^^^^
ERROR ~ Config parsing failed
-- Check '.nextflow.log' file for detailsPhil Ewels
06/30/2025, 3:08 PMMaxime Garcia
06/30/2025, 3:10 PMPhil Ewels
06/30/2025, 3:11 PMMahesh Binzer-Panchal
06/30/2025, 6:13 PMPhil Ewels
06/30/2025, 6:14 PMtask have already been fixed btw, will be backported soonPhil Ewels
06/30/2025, 6:15 PMmanifest ones are (I think) described herePhil Ewels
06/30/2025, 6:16 PMDoes nf-core download institutional configs too?I believe so, yes. At least, it used to 👍🏻
Mahesh Binzer-Panchal
06/30/2025, 6:17 PMnf-core download, does it package the institutional configs tooMahesh Binzer-Panchal
06/30/2025, 6:17 PMMahesh Binzer-Panchal
06/30/2025, 6:19 PMpontus
06/30/2025, 6:20 PMMahesh Binzer-Panchal
06/30/2025, 6:20 PMThehttps://nf-co.re/docs/nf-core-tools/pipelines/downloadcommand will download both the pipeline code and the institutional nf-core/configs files. It can also optionally download any singularity image files that are required.nf-core pipelines download
Mahesh Binzer-Panchal
06/30/2025, 6:20 PMMahesh Binzer-Panchal
06/30/2025, 7:44 PMpontus
06/30/2025, 8:20 PMparams.max_cpus and so on need to be managed).Matthias Zepper
06/30/2025, 9:08 PMnf-core/configs repo together with the workflow. The nextflow.config of the pipeline will be edited to change the custom_config_base parameter from <https://raw.githubusercontent.com/nf-core/configs/> to ../configs. Since people tend to do not keep the configs in this place, they actually complain about this feature once in while.
So from a Download perspective splitting the configs should be fine, as long as these are relative imports to the main profile.Mahesh Binzer-Panchal
07/01/2025, 6:57 AMI'm somewhat torn on keeping support for old pipelinesI don't have a good overview of the pipelines and their states. Maybe someone on core team can say better? Do we have a summary anywhere which template/version pipelines are ( not release version ) so we can see which features we can deprecate/remove and the minimum version of Nextflow supported?
Mahesh Binzer-Panchal
07/01/2025, 6:59 AMincludeConfigMahesh Binzer-Panchal
07/01/2025, 7:01 AMPhil Ewels
07/01/2025, 7:52 AMPhil Ewels
07/01/2025, 7:52 AMPhil Ewels
07/01/2025, 7:53 AM.nf-core.ymlMahesh Binzer-Panchal
07/01/2025, 8:26 AMparams.single_cpu_mem ? I see this parameter in the sarek uppmax.config. Is it needed?Maxime Garcia
07/01/2025, 8:30 AMPhil Ewels
07/01/2025, 8:30 AMMaxime Garcia
07/01/2025, 8:30 AMMahesh Binzer-Panchal
07/01/2025, 8:35 AMMaxime Garcia
07/01/2025, 8:36 AMMaxime Garcia
07/01/2025, 8:38 AMMahesh Binzer-Panchal
07/01/2025, 8:38 AMMaxime Garcia
07/01/2025, 8:39 AMMaxime Garcia
07/01/2025, 8:40 AMMahesh Binzer-Panchal
07/01/2025, 8:43 AMprocess {
withName: classifier_extract_seq {
cpus = 1
time = 7.d
// clusterOptions = { "-A ${params.project} -p core -n 1 -t 7-00:00:00 ${params.clusterOptions ?: ''}" }
}
withName: classifier_train {
cpus = 1
memory = 250.GB
time = 1.d
// clusterOptions = { "-A ${params.project} -C fat -p node -N 1 -t 24:00:00 ${params.clusterOptions ?: ''}" }
}
withName: classifier {
memory = 250.GB
// clusterOptions = { "-A ${params.project} -C fat -p node -N 1 ${params.clusterOptions ?: ''}" }
}
}Daniel Lundin
07/01/2025, 10:48 AMMahesh Binzer-Panchal
07/01/2025, 10:54 AMPhil Ewels
07/01/2025, 1:03 PMMahesh Binzer-Panchal
07/01/2025, 1:06 PMMahesh Binzer-Panchal
07/01/2025, 1:07 PMPhil Ewels
07/01/2025, 3:18 PMpontus
07/01/2025, 3:24 PMPhil Ewels
07/01/2025, 3:47 PMPhil Ewels
07/01/2025, 3:47 PM