Nick Eckersley
08/04/2025, 9:25 AMJames Fellows Yates
08/04/2025, 12:00 PMJames Fellows Yates
08/04/2025, 12:00 PMJasmin Frangenberg
08/04/2025, 12:02 PMNick Eckersley
08/04/2025, 12:05 PM#!/bin/bash
#SBATCH --job-name=nfcore_funcscan
#SBATCH --output=../funcscan/logs/%x_%j.out
#SBATCH --error=../funcscan/logs/%x_%j.err
#SBATCH --cpus-per-task=8
#SBATCH --partition=himem
# Activate Conda
source /mnt/apps/users/neckersl/conda/etc/profile.d/conda.sh
conda activate nfcore
# Use physical scratch path
SCRATCH_REAL="/mnt/shared/scratch/neckersl/private"
# Run the pipeline
nextflow run nf-core/funcscan \
-profile cropdiversityhpc \
-c "$SCRATCH_REAL/nfcore_mag/fscustomcropdiversityhpc.config" \
--input "$SCRATCH_REAL/nfcore_mag/data/funcscan_mgnify_assembly.csv" \
--outdir "$SCRATCH_REAL/funcscan/output/fava_bean_mgnify" \
--run_amp_screening \
-work-dir "$SCRATCH_REAL/funcscan/work" \
--multiqc_title "mgnify_funcscan" \
-resume
and here is my custom config:
params {
config_profile_description = 'Crop Diversity HPC cluster profile'
config_profile_contact = 'Thomas Adams (@TMAdams)'
config_profile_url = 'https://help.cropdiversity.ac.uk/'
}
executor {
name = 'slurm'
}
process {
withName: 'NFCORE_FUNCSCAN:FUNCSCAN:AMP:AMPIR' {
memory = '250.GB'
}
}Nick Eckersley
08/04/2025, 12:08 PMJames Fellows Yates
08/04/2025, 12:09 PMJames Fellows Yates
08/04/2025, 12:09 PMrun commandJames Fellows Yates
08/04/2025, 12:09 PMJames Fellows Yates
08/04/2025, 12:09 PMrun command job, if you execute it in that mannerJames Fellows Yates
08/04/2025, 12:10 PMJames Fellows Yates
08/04/2025, 12:10 PMJames Fellows Yates
08/04/2025, 12:10 PMqueue = { task.cpus > 24 ? 'big' : 'small' }James Fellows Yates
08/04/2025, 12:11 PMNick Eckersley
08/04/2025, 12:12 PMprocess {
executor = 'slurm'
queue = { task.memory <= 32.GB ? (task.time < 6.h ? task.memory <=2.GB ? 'hicpu': 'short' : task.time < 24.h ? 'medium' : 'long') : 'himem' }
}
Will putting this into the funcscan custom config fix the issue?James Fellows Yates
08/04/2025, 12:13 PMJames Fellows Yates
08/04/2025, 12:13 PMsacct where the amplify job went toJames Fellows Yates
08/04/2025, 12:13 PMNick Eckersley
08/04/2025, 12:16 PMJOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
3009492 himem nf-NFCOR neckersl R 0:14 1 n23-64-2048-potter
3009493 himem nf-NFCOR neckersl R 0:14 1 n23-64-2048-potter
3009498 himem nf-NFCOR neckersl R 0:14 1 n23-64-2048-potter
3009501 himem nf-NFCOR neckersl R 0:14 1 n19-64-3072-thanos
3009488 himem nfcore_f neckersl R 0:44 1 n23-64-2048-potter
3009496 long nf-NFCOR neckersl R 0:14 1 n23-64-256-flitwick
3009497 long nf-NFCOR neckersl R 0:14 1 n23-64-256-flitwick
3009499 long nf-NFCOR neckersl R 0:14 1 n23-64-256-flitwick
3009500 long nf-NFCOR neckersl R 0:14 1 n23-64-512-goyle
3009494 medium nf-NFCOR neckersl R 0:14 1 n24-64-384-dawn
3009495 medium nf-NFCOR neckersl R 0:14 1 n24-64-384-dawn
Would that be the same thing?James Fellows Yates
08/04/2025, 12:17 PMJames Fellows Yates
08/04/2025, 12:17 PMsacct is a logJames Fellows Yates
08/04/2025, 12:17 PMJames Fellows Yates
08/04/2025, 12:17 PMsacct docsJames Fellows Yates
08/04/2025, 12:18 PMsacct --format="JobID,JobName%20, Partition,NodeList,AllocCPUS,Elapsed,MaxVMSize,State,End,ExitCode"James Fellows Yates
08/04/2025, 12:18 PMJames Fellows Yates
08/04/2025, 12:18 PMNick Eckersley
08/04/2025, 12:19 PMJobID JobName Partition NodeList AllocCPUS Elapsed MaxVMSize State End ExitCode
------------ -------------------- ---------- --------------- ---------- ---------- ---------- ---------- ------------------- --------
3009488 nfcore_funcscan himem n23-64-2048-po+ 8 00:04:07 RUNNING Unknown 0:0
3009488.bat+ batch n23-64-2048-po+ 8 00:04:07 RUNNING Unknown 0:0
3009488.ext+ extern n23-64-2048-po+ 8 00:04:07 RUNNING Unknown 0:0
3009492 nf-NFCORE_FUNCSCAN_+ himem n23-64-2048-po+ 1 00:03:37 RUNNING Unknown 0:0
3009492.bat+ batch n23-64-2048-po+ 1 00:03:37 RUNNING Unknown 0:0
3009492.ext+ extern n23-64-2048-po+ 1 00:03:37 RUNNING Unknown 0:0
3009493 nf-NFCORE_FUNCSCAN_+ himem n23-64-2048-po+ 1 00:03:37 RUNNING Unknown 0:0
3009493.bat+ batch n23-64-2048-po+ 1 00:03:37 RUNNING Unknown 0:0
3009493.ext+ extern n23-64-2048-po+ 1 00:03:37 RUNNING Unknown 0:0
3009494 nf-NFCORE_FUNCSCAN_+ medium n24-64-384-dawn 4 00:03:37 RUNNING Unknown 0:0
3009494.bat+ batch n24-64-384-dawn 4 00:03:37 RUNNING Unknown 0:0
3009494.ext+ extern n24-64-384-dawn 4 00:03:37 RUNNING Unknown 0:0
3009495 nf-NFCORE_FUNCSCAN_+ medium n24-64-384-dawn 4 00:03:37 RUNNING Unknown 0:0
3009495.bat+ batch n24-64-384-dawn 4 00:03:37 RUNNING Unknown 0:0
3009495.ext+ extern n24-64-384-dawn 4 00:03:37 RUNNING Unknown 0:0
3009496 nf-NFCORE_FUNCSCAN_+ long n23-64-256-fli+ 1 00:03:37 RUNNING Unknown 0:0
3009496.bat+ batch n23-64-256-fli+ 1 00:03:37 RUNNING Unknown 0:0
3009496.ext+ extern n23-64-256-fli+ 1 00:03:37 RUNNING Unknown 0:0
3009497 nf-NFCORE_FUNCSCAN_+ long n23-64-256-fli+ 1 00:03:37 RUNNING Unknown 0:0
3009497.bat+ batch n23-64-256-fli+ 1 00:03:37 RUNNING Unknown 0:0
3009497.ext+ extern n23-64-256-fli+ 1 00:03:37 RUNNING Unknown 0:0
3009498 nf-NFCORE_FUNCSCAN_+ himem n23-64-2048-po+ 1 00:03:37 RUNNING Unknown 0:0
3009498.bat+ batch n23-64-2048-po+ 1 00:03:37 RUNNING Unknown 0:0
3009498.ext+ extern n23-64-2048-po+ 1 00:03:37 RUNNING Unknown 0:0
3009499 nf-NFCORE_FUNCSCAN_+ long n23-64-256-fli+ 1 00:03:37 RUNNING Unknown 0:0
3009499.bat+ batch n23-64-256-fli+ 1 00:03:37 RUNNING Unknown 0:0
3009499.ext+ extern n23-64-256-fli+ 1 00:03:37 RUNNING Unknown 0:0
3009500 nf-NFCORE_FUNCSCAN_+ long n23-64-512-goy+ 1 00:03:37 RUNNING Unknown 0:0
3009500.bat+ batch n23-64-512-goy+ 1 00:03:37 RUNNING Unknown 0:0
3009500.ext+ extern n23-64-512-goy+ 1 00:03:37 RUNNING Unknown 0:0
3009501 nf-NFCORE_FUNCSCAN_+ himem n19-64-3072-th+ 1 00:03:37 RUNNING Unknown 0:0
3009501.bat+ batch n19-64-3072-th+ 1 00:03:37 RUNNING Unknown 0:0
3009501.ext+ extern n19-64-3072-th+ 1 00:03:37 RUNNING Unknown 0:0Nick Eckersley
08/04/2025, 12:20 PM