Nick Eckersley
08/17/2025, 12:46 PMexecutor > slurm (11)
[46/f23f1c] NFC…_RAW (N088_SL-BE_run0_raw) | 27 of 27, cached: 27 ✔
[35/dbc7ac] NFC…NG:FASTP (N090_SL-BE_run0) | 27 of 27, cached: 27 ✔
[eb/7bfab5] NFC…AL_ALIGN (N090_SL-BE_run0) | 27 of 27, cached: 27 ✔
[2c/ac8b96] NFC…SM259684v1_genomic.fna.gz) | 1 of 1, cached: 1 ✔
[7f/34681e] NFC…AL_ALIGN (N088_SL-BE_run0) | 27 of 27, cached: 27 ✔
[d9/ba1cc2] NFC…_TRIMMED (N090_SL-BE_run0) | 27 of 27, cached: 27 ✔
[- ] NFC…AD_PREPROCESSING:CAT_FASTQ -
[- ] NFC…PREPROCESSING:NANOPLOT_RAW -
[- ] NFC…PREPROCESSING:PORECHOP_ABI -
[- ] NFC…EAD_PREPROCESSING:NANOLYSE -
[- ] NFC…EAD_PREPROCESSING:FILTLONG -
[- ] NFC…OCESSING:NANOPLOT_FILTERED -
[- ] NFC…:MAG:CENTRIFUGE_CENTRIFUGE -
[- ] NFC…MAG:MAG:CENTRIFUGE_KREPORT -
[c4/311590] NFC…MAG:KRAKEN2_DB_PREPARATION | 1 of 1, cached: 1 ✔
[42/bcd437] NFC…C-HE-k2_standard_20250402) | 27 of 27, cached: 27 ✔
[78/bc9ed0] NFC…MPORTTAXONOMY (N085_SC-HE) | 27 of 27, cached: 27 ✔
[- ] NFC…AG:POOL_SHORT_SINGLE_READS -
[43/43c803] NFC…PAIRED_READS (group-SL-BE) | 9 of 9, cached: 9 ✔
[- ] NFCORE_MAG:MAG:POOL_LONG_READS -
[46/9e16cf] NFC…:MAG:MEGAHIT (group-SC-HE) | 2 of 9, cached: 2
[33/03d4be] NFC…group-CL-YO.contigs.fa.gz) | 2 of 2, cached: 2
[a2/aa638c] NFC…UAST (MEGAHIT-group-CL-YO) | 2 of 2, cached: 2
[f3/416c1b] NFC…MAG:PRODIGAL (group-CY-YO) | 1 of 2, cached: 1
[2f/32f3bd] NFC…MAD_ENDTOEND (group-CY-YO) | 1 of 2, cached: 1
[78/d80005] NFC…UILD (MEGAHIT-group-CL-YO) | 2 of 2, cached: 2
[5e/203ac0] NFC…IT-group-CY-YO-N053_CY-YO) | 1 of 3, cached: 1 ✘
[d9/647b51] NFC… (gtdbtk_r220_data.tar.gz) | 1 of 1, cached: 1 ✔
Plus 24 more processes waiting for tasks…
Execution cancelled -- Finishing pending tasks before exit
Pulling Singularity image https://depot.galaxyproject.org/singularity/pandas:1.4.3 [cache /mnt/shared/scratch/neckersl/private/nfcore_mag/work/singularity/depot.galaxyproject.org-singularity-pandas-1.4.3.img]
WARN: Singularity cache directory has not been defined -- Remote image will be stored in the path: /mnt/shared/scratch/neckersl/private/nfcore_mag/work/singularity -- Use the environment variable NXF_SINGULARITY_CACHEDIR to specify a different location
WARN: No contigs passed GTDB-TK min. completeness filters. GTDB-TK summary will execute but results will be empty!
ERROR ~ Error executing process > 'NFCORE_MAG:MAG:BINNING_PREPARATION:BOWTIE2_ASSEMBLY_ALIGN (MEGAHIT-group-CY-YO-N053_CY-YO)'
Caused by:
Process `NFCORE_MAG:MAG:BINNING_PREPARATION:BOWTIE2_ASSEMBLY_ALIGN (MEGAHIT-group-CY-YO-N053_CY-YO)` terminated with an error exit status (1)
Command executed:
INDEX=`find -L ./ -name "*.rev.1.bt2l" -o -name "*.rev.1.bt2" | sed 's/.rev.1.bt2l//' | sed 's/.rev.1.bt2//'`
bowtie2 \
-p "2" \
-x $INDEX \
\
-1 "N053_CY-YO_run0_phix_removed.unmapped_1.fastq.gz" -2 "N053_CY-YO_run0_phix_removed.unmapped_2.fastq.gz" \
2> "MEGAHIT-group-CY-YO-N053_CY-YO.bowtie2.log" | samtools view -@ "2" -bS | samtools sort -@ "2" -o "MEGAHIT-group-CY-YO-N053_CY-YO.bam"
samtools index "MEGAHIT-group-CY-YO-N053_CY-YO.bam"
if [ MEGAHIT-group-CY-YO-N053_CY-YO = "MEGAHIT-group-CY-YO-group-CY-YO" ] ; then
mv "MEGAHIT-group-CY-YO-N053_CY-YO.bowtie2.log" "MEGAHIT-group-CY-YO.bowtie2.log"
fi
cat <<-END_VERSIONS > versions.yml
"NFCORE_MAG:MAG:BINNING_PREPARATION:BOWTIE2_ASSEMBLY_ALIGN":
bowtie2: $(echo $(bowtie2 --version 2>&1) | sed 's/^.*bowtie2-align-s version //; s/ .*$//')
samtools: $(echo $(samtools --version 2>&1) | sed 's/^.*samtools //; s/Using.*$//')
pigz: $( pigz --version 2>&1 | sed 's/pigz //g' )
END_VERSIONS
Command exit status:
1
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
samtools view: error reading file "-": Input/output error
samtools view: error closing "-": -5
[bam_sort_core] merging from 0 files and 2 in-memory blocks...
Work dir:
/mnt/shared/scratch/neckersl/private/nfcore_mag/work/5e/203ac09d71ff93abcf7fa730ab4602
Container:
/mnt/shared/scratch/neckersl/private/nfcore_mag/work/singularity/depot.galaxyproject.org-singularity-mulled-v2-ac74a7f02cebcfcc07d8e8d1d750af9c83b4d45a-577a697be67b5ae9b16f637fd723b8263a3898b3-0.img
Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`
-- 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
[nf-core/mag] ERROR: no bins passed the bin size filter specified between --bin_min_size 50000 and --bin_max_size 50000000. Please adjust parameters.
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting
-- Check '.nextflow.log' file for details
-[nf-core/mag] Pipeline completed with errors-
WARN: Killing running tasks (9)James Fellows Yates
08/18/2025, 6:21 AM"MEGAHIT-group-CY-YO-N053_CY-YO.bowtie2.log" that is in the working directory
/mnt/shared/scratch/neckersl/private/nfcore_mag/work/5e/203ac09d71ff93abcf7fa730ab4602
Look to me that bowtie failed in the ifrst step of the pipe, and the next step (samtool view) was reciving nothingNick Eckersley
08/18/2025, 7:47 AM(base) neckersl@gruffalo:/mnt/shared/scratch/neckersl/private/nfcore_mag/work/5e/203ac09d71ff93abcf7fa730ab4602$ cat .command.log
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
samtools view: error reading file "-": Input/output error
samtools view: error closing "-": -5
[bam_sort_core] merging from 0 files and 2 in-memory blocks...
slurmstepd: error: Detected 1 oom_kill event in StepId=3145255.batch. Some of the step tasks have been OOM Killed.
Just a case of increasing memory allocation to the bowtie2 process in the custom config? If I alter that will the -resume redo that step? Thanks.James Fellows Yates
08/18/2025, 7:47 AMbowite2.logJames Fellows Yates
08/18/2025, 7:48 AMNick Eckersley
08/18/2025, 7:48 AMJames Fellows Yates
08/18/2025, 7:48 AMJames Fellows Yates
08/18/2025, 7:48 AMJames Fellows Yates
08/18/2025, 7:48 AM-resume should start that process from scratchNick Eckersley
08/18/2025, 7:49 AMJuliana Assis
09/17/2025, 4:25 PMNFCORE_MAG:MAG:BINNING_PREPARATION:BOWTIE2_ASSEMBLY_ALIGN (MEGAHIT-22081D-01-01-22081D-01-01) terminated with an error exit status (1)
Command executed:
INDEX=find -L ./ -name "*.rev.1.bt2l" -o -name "*.rev.1.bt2" | sed 's/.rev.1.bt2l//' | sed 's/.rev.1.bt2//' bowtie2
-p "2"
-x $INDEX
-1 "22081D-01-01_run0_fastp_1.fastp.fastq.gz" -2 "22081D-01-01_run0_fastp_2.fastp.fastq.gz"
2> "MEGAHIT-22081D-01-01-22081D-01-01.bowtie2.log" | samtools view -@ "2" -bS | samtools sort -@ "2" -o "MEGAHIT-22081D-01-01-22081D-01-01.bam" samtools index "MEGAHIT-22081D-01-01-22081D-01-01.bam"
if [ MEGAHIT-22081D-01-01-22081D-01-01 = "MEGAHIT-22081D-01-01-22081D-01-01" ] ; then mv "MEGAHIT-22081D-01-01-22081D-01-01.bowtie2.log" "MEGAHIT-22081D-01-01.bowtie2.log" fi
cat <<-END_VERSIONS > versions.yml "NFCORE_MAG🔍BINNING_PREPARATION": bowtie2: $(echo $(bowtie2 --version 2>&1) | sed 's/^._bowtie2-align-s version //; s/ ._$//') samtools: $(echo $(samtools --version 2>&1) | sed 's/^._samtools //; s/Using._$//') pigz: $( pigz --version 2>&1 | sed 's/pigz //g' ) END_VERSIONS
Command exit status: 1
Command output: (empty)James Fellows Yates
09/18/2025, 10:22 AM.command.log file that is in the work/ directory that is posted at the end of the messagE?Juliana Assis
09/18/2025, 1:46 PMprocess {
withName: 'NFCORE_MAG:MAG:BINNING_PREPARATION:BOWTIE2_ASSEMBLY_ALIGN' {
memory = '64.GB'
cpus = 8
}
withName: 'NFCORE_MAG:MAG:BINNING_PREPARATION:BOWTIE2_ASSEMBLY_BUILD' {
memory = '64.GB'
cpus = 4
}
withName: 'NFCORE_MAG:MAG:ASSEMBLY:MEGAHIT' {
memory = '64.GB'
cpus = 16
}
}
process {
withName: '.*CONCOCT.*' {
memory = '32.GB'
cpus = 8
time = '12.h'
}
withName: 'NFCORE_MAG:MAG:BINNING:FASTA_BINNING_CONCOCT:CONCOCT_CONCOCTCOVERAGETABLE' {
memory = '32.GB'
cpus = 4
}
}James Fellows Yates
09/19/2025, 3:53 AM