Skip to content

The job always hangs at one particular step in the Slurm system. #82

@xyz202310

Description

@xyz202310

Description of the bug

Hello!
Thanks for your great work! I am running scnanoseq on an HPC (slurm system), but the job always hangs at one particular step. The last screen output looks like this (The complete output is provided in the attachment.

out.txt

execution_trace_2025-09-24_15-11-55.txt

):

executor > local (71)
[- ] NFC…ANOSEQ:SCNANOSEQ:CAT_FASTQ -
[dc/6b0124] NFC…_TRIM:NANOPLOT (mou_brain) | 0 of 1
[6c/27b59f] NFC…TRIM:TOULLIGQC (mou_brain) | 0 of 1
[d1/71ff35] NFC…RE_TRIM:FASTQC (mou_brain) | 0 of 1
[- ] NFC…Q:SCNANOSEQ:NANOCOMP_FASTQ | 0 of 1
[3a/250e2f] NFC…E_FAIDX (GRCm39.genome.fa) | 1 of 1 ✔
[75/9eed5d] NFC…ncode.vM37.annotation.gtf) | 1 of 1 ✔
[4b/dfee70] NFC….vM37.annotation.genepred) | 1 of 1 ✔
[dc/13a128] NFC…SCNANOSEQ:GUNZIP_FASTQ (1) | 1 of 1 ✔
[9a/31f3ff] NFC…NOSEQ:NANOFILT (mou_brain) | 0 of 1
[- ] NFC…ANOPLOT_POST_TRIM:NANOPLOT -
[- ] NFC…NOPLOT_POST_TRIM:TOULLIGQC -
[- ] NFC…_NANOPLOT_POST_TRIM:FASTQC -
[- ] NFC…_SCNANOSEQ:SCNANOSEQ:BLAZE -
[- ] NFC…SCNANOSEQ:PREEXTRACT_FASTQ -
[- ] NFC…SCNANOSEQ:CORRECT_BARCODES -
[- ] NFC…PLOT_POST_EXTRACT:NANOPLOT -
[- ] NFC…LOT_POST_EXTRACT:TOULLIGQC -
[- ] NFC…NOPLOT_POST_EXTRACT:FASTQC -
[- ] NFC…OSEQ:SCNANOSEQ:READ_COUNTS -
[e5/4a982a] NFC…SCRNA_ISOQUANT:SPLIT_FASTA | 1 of 1 ✔
[0d/776473] NFC…AIDX_SPLIT (chrX.split.fa) | 61 of 61 ✔
[2a/bcef09] NFC…Y_SCRNA_ISOQUANT:SPLIT_GTF | 1 of 1 ✔
Plus 42 more processes waiting for tasks…

And the final lines of the execution_trace file are as follows:

69 0d/776473 1429737 NFCORE_SCNANOSEQ:SCNANOSEQ:PROCESS_LONGREAD_SCRNA_GENOME:QUANTIFY_SCRNA_ISOQUANT:SAMTOOLS_FAIDX_SPLIT (chrX.split.fa) COMPLETED 0 2025-09-24 15:14:16.739 812ms 1s 88.1% 3.9 MB 10.2 MB 164.5 MB 5 KB
4 75/9eed5d 1414439 NFCORE_SCNANOSEQ:SCNANOSEQ:UCSC_GTFTOGENEPRED (gencode.vM37.annotation.gtf) COMPLETED 0 2025-09-24 15:14:03.971 13.8s 13s 99.3% 513.8 MB 524.9 MB 1 GB 41.4 MB
71 4b/dfee70 1430392 NFCORE_SCNANOSEQ:SCNANOSEQ:UCSC_GENEPREDTOBED (gencode.vM37.annotation.genepred) COMPLETED 0 2025-09-24 15:14:18.766 848ms 0ms 91.9% 4.9 MB 18.7 MB 41.4 MB 30.1 MB
5 dc/13a128 1414454 NFCORE_SCNANOSEQ:SCNANOSEQ:GUNZIP_FASTQ (1) COMPLETED 0 2025-09-24 15:14:03.985 10m 13s 10m 13s 121.7% 5.3 MB 31.9 MB 57.7 GB 127.3 GB

At first I suspected insufficient memory, so I increased the memory allocation, but the result was the same—the job remains stuck at this step. How can I solve this? Thank you very much!

Command used and terminal output

#!/bin/bash
#SBATCH --job-name=scnano
#SBATCH --partition=cpu
#SBATCH -n 30 (8 GB of memory allocated per core)
#SBATCH --ntasks-per-node=30
#SBATCH --output=%j.out
#SBATCH --error=%j.err

module load miniconda3
source activate nf
export NXF_SINGULARITY_CACHEDIR=/dssg/home/sy/scnano/sing

cd /dssg/home/sy/scnano/data
nextflow run nf-core/scnanoseq \
  --input ./samplesheet.csv \
  --outdir ./results_new \
  --genome_fasta /dssg/home/sy/GRCm39.genome.fa \
  --gtf /dssg/home/sy/gencode.vM37.annotation.gtf \
  --quantifier "isoquant" \
  --barcode_format 10X_3v3 \
  -profile singularity

Relevant files

out.txt

execution_trace_2025-09-24_15-11-55.txt

System information

nextflow 25.04.7
nf-core 3.4.0.dev0
nf-core/scnanoseq 1.2.1
HPC Centos Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions