Tara
06/11/2025, 11:18 AMNFCORE_NASCENT:NASCENT:COVERAGE_GRAPHS:BEDTOOLS_GENOMECOV_MINUS (SA_5m_REP3) terminated for an unknown reason -- Likely it has been terminated by the external system
Command executed:
bedtools \
genomecov \
-ibam SA_5m_REP3.sorted.bam \
-bg -strand - \
| bedtools sort \
> SA_5m_REP3.minus.bedGraph
cat <<-END_VERSIONS > versions.yml
"NFCORE_NASCENTNASCENTCOVERAGE_GRAPHS:BEDTOOLS_GENOMECOV_MINUS":
bedtools: $(bedtools --version | sed -e "s/bedtools v//g")
END_VERSIONS
Command exit status:
-
Command output:
(empty)
Command error:
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
INFO: fuse2fs not found, will not be able to mount EXT3 filesystems
INFO: gocryptfs not found, will not be able to use gocryptfs
Work dir:
/cfs/klemming/projects/supr/naiss2025-22-154/nfcore/56/e86e77f3009640f45b17b64a3f87f1
Container:
/cfs/klemming/projects/supr/naiss2025-22-154/Proseqfastq/cache/depot.galaxyproject.org-singularity-bedtools-2.31.1--hf5e1c6e_0.img
Tip: you can replicate the issue by changing to the process work dir and entering the command bash .command.run
-- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting
-- Check '.nextflow.log' file for details
ERROR ~ Failed to invoke workflow.onComplete event handler
-- Check script '.nextflow/assets/nf-core/nascent/subworkflows/local/utils_nfcore_nascent_pipeline/main.nf' at line: 130 or see '.nextflow.log' file for more details
I checked the log, and it didn't give me any useful information. It would be much appreciated if someone could help me solve this issue.Pavlin Mitev
06/11/2025, 11:23 AMprojinfo ?Tara
06/11/2025, 11:26 AMPavlin Mitev
06/11/2025, 11:38 AMseff jobID for some info from SLURM. Otherwise - best is to contact PDC to assist you since they can get closer to the problem...Tara
06/11/2025, 11:41 AMMahesh Binzer-Panchal
06/11/2025, 12:11 PMsacct --user=$USER -S now-7days --format=JobID,JobName%50,State,ExitCode,Start,End | grep -w -v "batch\|extern"Mahesh Binzer-Panchal
06/11/2025, 12:12 PMMahesh Binzer-Panchal
06/11/2025, 12:15 PM.command.log there may also be some indication there. It sometimes catches the issue even if Nextflow doesn't print it. Look for oom for out-of-memory, otherwise increase both time and memoryTara
06/11/2025, 12:15 PMMahesh Binzer-Panchal
06/11/2025, 12:20 PMprocess {
withName: 'PROCESS_NAME' {
memory = 500.GB
time = 2.d
}
}
in a nextflow.config where you're running the pipeline or calling it custom.config and then doing nextflow run ... -c custom.configMahesh Binzer-Panchal
06/11/2025, 12:22 PMprocessLimits which caps the allowed allocated resources, but you shouldn't need to mess with that oneTara
06/12/2025, 10:57 AMMahesh Binzer-Panchal
06/12/2025, 10:58 AMpdc_kth profile, it does set a minimum memory, otherwise the resources scale with cpus/memory allocated by the default labelsTara
06/12/2025, 11:00 AMMahesh Binzer-Panchal
06/12/2025, 11:01 AM-profile pdc_kth to your nextflow run ... commandMahesh Binzer-Panchal
06/12/2025, 11:02 AMTara
06/12/2025, 11:04 AMpontus
06/12/2025, 11:10 AMTara
06/12/2025, 11:16 AMpontus
06/12/2025, 11:27 AMMahesh Binzer-Panchal
06/12/2025, 11:52 AMNASCENT but withName: selector must match a process name, e.g.
process {
withName: 'BEDTOOLS_GENOMECOV_MINUS' {
memory = 500.GB
time = 2.d
}
}
nf-core has also hidden those selector warnings so the user doesn't see if they supply the wrong name to a withName: selector.Mahesh Binzer-Panchal
06/12/2025, 11:57 AMnascent also has a label, which automatically sets the resources. For example BEDTOOLS_GENOMECOV_MINUS is an alias to the module BEDTOOLS_GENOMECOV which has the label 'process_single' . The settings for this label are in conf/base.config which sets a minimum of 1 cpu, 6.GB memory, and 4.h time limit. Then the only place to check after that is the conf/modules.config to see if the resources are manually changed in anyway ( which they're not in this case ).Tara
06/12/2025, 11:11 PM