J-P
08/21/2025, 2:42 PMJ-P
08/21/2025, 2:43 PMJ-P
08/21/2025, 2:43 PMJ-P
08/21/2025, 2:44 PMMaxime Garcia
08/21/2025, 2:46 PMMaxime Garcia
08/21/2025, 2:47 PMshow hidden) on the right hand sideBianyun Yu
09/02/2025, 10:49 PMLiang Chao
09/16/2025, 7:57 PM-profile arm to my command and nextflow.config in my working directory:
process {
resourceLimits = [
cpus: 8,
memory: 8.GB
]
}
Everything worked well until SAMTOOLS_SORT, where I kept encountering error exit status (137), so I assume there was still an out of memory issue.
(Also tried adding --max_memory 8GB to my command but didn't work as well.)
Is there any chance I could bypass this error? Thank you.Jamie Gearing
09/19/2025, 12:57 PMatacseq/modules/nf-core/trimgalore/main.nf, the paired-end command for trim_galore is:
trim_galore \\
$args \\
--cores $cores \\
--paired \\
--gzip \\
${prefix}_1.fastq.gz \\
${prefix}_2.fastq.gz
Checking the TrimGalore manual, it implies that the --cores argument is the number of cores used for trimming. There is also a --fastqc_args "<ARGS>" option for passing additional arguments to FastQC.
As such, maybe this could be incorporated, so as to pass $cores (or maybe $task.cpus) to the --threads argument of FastQC?Christopher Porter
11/10/2025, 8:13 PMLe Tran
02/25/2026, 3:34 AMRX Coux
03/11/2026, 2:08 PMNFCORE_ATACSEQ:ATACSEQ:MERGED_LIBRARY_CONSENSUS_PEAKS:MACS3_CONSENSUS (consensus_peaks) terminated with an error exit status (1)
(...)
Command error:
INFO: Environment variable SINGULARITYENV_TMP is set, but APPTAINERENV_TMP is preferred
INFO: Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
WARNING: While bind mounting '/shared:/shared': destination is already in the mount point list
Error: package or namespace load failed for ‘UpSetR’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘rlang’ 0.4.12 is being loaded, but >= 1.1.0 is required
Execution halted
There is no info about the R version loaded by the pipeline in results/nf_core_atacseq_software_mqc_versions.yml although I see
cat <<-END_VERSIONS > versions.yml
"NFCORE_ATACSEQ:ATACSEQ:MERGED_LIBRARY_CONSENSUS_PEAKS:MACS3_CONSENSUS":
python: $(python --version | sed 's/Python //g')
r-base: $(echo $(R --version 2>&1) | sed 's/^.*R version //; s/ .*$//')
END_VERSIONS
in the command, is this saved in another location? I'd like to know which R version is pulled to update rlang accordingly. I enclose the nextflow.log
Thanks in advanceRamon Massoni
03/24/2026, 11:25 PMRamon Massoni
03/24/2026, 11:25 PMBWA_MEM never receives any tasks when the pipeline builds the BWA index from scratch (i.e., when params.bwa_index is null/not provided). The pipeline completes "successfully" but skips alignment and everything downstream.
Environment:
• Nextflow 24.04.2
• nf-core/atacseq v2.1.2
• Singularity (HPC cluster, NYGC profile)
• --genome GRCh38 (iGenomes, S3-backed references)
What happens:
1. PREPARE_GENOME:BWA_INDEX builds the index from the FASTA — completes successfully (exit 0), index files are correct.
2. FASTQ_FASTQC_UMITOOLS_TRIMGALORE completes — 18/18 FASTQ pairs processed.
FASTQ_ALIGN_BWA:BWA_MEM shows - (0 tasks submitted). Never fires.
All downstream processes (samtools, picard, MACS2, deeptools) also show -.
1. Pipeline reports "completed successfully" because processes with 0 tasks are treated as complete.
Reproduction:
This happens on a completely fresh run (clean work directory, no -resume cache). I confirmed by deleting the work/ and .nextflow/ directories and re-running. The Nextflow log confirms: "It appears you have never run this project before -- Option -resume is ignored".
Root cause (suspected):
In subworkflows/local/prepare_genome.nf, the BWA index channel is created differently depending on whether a pre-built index is provided:
• Pre-built index provided (params.bwa_index is set):
•
• ch_bwa_index = [ [:], file(params.bwa_index) ]
• This creates a plain Groovy list, which Nextflow implicitly treats as a value channel. Value channels broadcast to all items in the reads queue channel → BWA_MEM gets 18 tasks. ✅
• Index built from FASTA (params.bwa_index is null):
ch_bwa_index = BWA_INDEX ( ch_fasta.map { [ [:], it ] } ).index
This is a queue channel (process output). Queue channels pair one-to-one with other queue channels. Since the reads channel has 18 items and the index channel has 1 item, at most 1 BWA_MEM task could be created — but in practice 0 tasks fire, and the pipeline silently completes. ✘
In workflows/atacseq.nf, the index is passed directly without .collect() or .first() to convert it to a value channel:
FASTQ_ALIGN_BWA (
FASTQ_FASTQC_UMITOOLS_TRIMGALORE.out.reads,
PREPARE_GENOME.out.bwa_index, // <-- queue channel when built, value channel when pre-built
false,
PREPARE_GENOME.out.fasta.map { [ [:], it ] }
)
Suggested fix:
Convert the queue channel to a value channel before passing to FASTQ_ALIGN_BWA, e.g.:
PREPARE_GENOME.out.bwa_index.collect()
// or
PREPARE_GENOME.out.bwa_index.first()
Why this matters:
On HPC clusters without direct S3 access (or where S3 directory paths aren't supported), the default iGenomes bwa_index path (<s3://ngi-igenomes/.../BWAIndex/version0.6.0/>) can't be resolved. Setting params.bwa_index = null to force local index building is the expected workaround, but it triggers this channel-type mismatch.
Context:
• The same pipeline (v2.1.2) with --genome mm10 works fine because mm10 iGenomes does not include a pre-built BWA index, so the "build from FASTA" path is always taken. (I confirmed this from a previous successful run with the same Nextflow version.)
• nf-core/cutandrun v3.2.2 does not have this issue — its Bowtie2 index handling resolves S3 paths correctly.
Happy to provide full logs or .nextflow.log if helpful. Thanks!Ramon Massoni
03/24/2026, 11:25 PMRX Coux
03/30/2026, 1:53 PMError executing process > 'NFCORE_ATACSEQ:ATACSEQ:MERGED_LIBRARY_CONSENSUS_PEAKS:MACS3_CONSENSUS (consensus_peaks)'
Caused by:
Process `NFCORE_ATACSEQ:ATACSEQ:MERGED_LIBRARY_CONSENSUS_PEAKS:MACS3_CONSENSUS (consensus_peaks)` terminated with an error exit status (1)
(...)
Command exit status:
1
Command output:
(empty)
Command error:
INFO: Environment variable SINGULARITYENV_TMP is set, but APPTAINERENV_TMP is preferred
INFO: Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
WARNING: While bind mounting '/shared:/shared': destination is already in the mount point list
Error: package or namespace load failed for 'UpSetR' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace 'rlang' 0.4.12 is being loaded, but >= 1.1.0 is required
Execution halted
I'm attaching the command.run from the wd and the tools version. Could someone please look into this as I don't know what can be done on my side
link to my previous post https://nfcore.slack.com/archives/CE5EL6326/p1773238134341339
command.run https://nfcore.slack.com/files/U09GUS6B162/F0AM1S0E6JZ/command.run
tools versions https://nfcore.slack.com/files/U09GUS6B162/F0AM59AKG2E/nf_core_atacseq_software_mqc_versions.yml
Thanks in advanceNico De Veaux
06/22/2026, 2:30 PMSeth Jarvis
07/06/2026, 2:29 PMwani sajad
07/12/2026, 1:51 AMwithName: 'BAMTOOLS_FILTER' {
ext.args = {
[
meta.single_end ? '-F 0x004' : '-F 0x004 -F 0x0008 -f 0x001',
params.keep_dups ? '' : '-F 0x04 @00',
params.keep_multi_map ? '' : '-q 1'
].join(' ').trim()
}Francesco Tabaro
08/10/2026, 8:09 AMAsma Riyaz
09/04/2026, 1:33 PMPhil Ewels
09/07/2026, 10:08 AMpierre-francois.roux
09/07/2026, 11:50 AMKevin Brockers
09/08/2026, 9:44 AMpierre-francois.roux
09/08/2026, 11:19 AMpierre-francois.roux
09/15/2026, 6:32 PMyokofakun
09/21/2026, 8:32 AMpierre-francois.roux
09/21/2026, 8:23 PMNico De Veaux
09/28/2026, 11:07 AMmodules/local/multiqc.nf is pinned to MultiQC 1.13, but the nf-core multiqc module is installed and tracked in modules.json. And from what I can tell, the latter is totally unused. Module updates and template syncs keep bumping it (to 1.35 in PR #455 for example), which makes it look as if the pipeline uses a newer MultiQC than it does. This should be a new issue, right? With the solution being to remove modules/local/multiqc.nf in favor of modules/nf-core/multiqc?Thomas Weber
10/15/2026, 7:31 PM