Nicolai Laufer
09/21/2025, 12:45 PMNFCORE_AMPLISEQ:AMPLISEQ:FASTA_NEWICK_EPANG_GAPPA:GAPPA_ASSIGN (bac120.r10rs226) terminated for an unknown reason -- Likely it has been terminated by the external system
Command executed:
gappa \
examine assign \
--per-query-results --krona --sativa \
--threads 6 \
--jplace-path bac120.r10rs226.epa_result.jplace.gz \
--taxon-file sbdi-gtdb-sativa.r10rs226.bac120.sprep.taxonomy.tsv \
--file-prefix bac120.r10rs226.taxonomy.
cat <<-END_VERSIONS > versions.yml
"NFCORE_AMPLISEQAMPLISEQFASTA_NEWICK_EPANG_GAPPA:GAPPA_ASSIGN":
gappa: $(echo $(gappa --version 2>&1 | sed 's/v//' ))
END_VERSIONS
Command exit status:
-
Command output:
...' .... ... ... ... ... .... .|'|.
| || '' .|| ||' || ||' || '' .|| .|' ||
|'' .|' || || | || | .|' || .|'|. ||
'.... '|..'|'. ||...' ||...' '|..'|. '||' ||:.
'....' || ||
'''' '''' v0.8.0 (c) 2017-2022
by Lucas Czech and Pierre Barbera
Invocation: gappa examine assign --per-query-results --krona --sativa --threads 6 --jplace-path bac120.r10rs226.epa_result.jplace.gz --taxon-file sbdi-gtdb-sativa.r10rs226.bac120.sprep.taxonomy.tsv --file-prefix bac120.r10rs226.taxonomy.
Command: gappa examine assign
Input:
--jplace-path bac120.r10rs226.epa_result.jplace.gz
--taxon-file sbdi-gtdb-sativa.r10rs226.bac120.sprep.taxonomy.tsv
--root-outgroup
--taxonomy
--ranks-string superkingdom|phylum|class|order|family|genus|species
Settings:
--sub-taxopath
--max-level 0
--distribution-ratio -1
--consensus-thresh 1
--resolve-missing-paths false
--distant-label false
Output:
--out-dir .
--file-prefix bac120.r10rs226.taxonomy.
--file-suffix
--cami false
--sample-id
--krona true
--sativa true
--per-query-results true
--best-hit false
Global Options:
--allow-file-overwriting false
--verbose false
--threads 6
--log-file
Run the following command to get the references that need to be cited:
gappa tools citation Czech2020-genesis-and-gappa
Started 2025-09-21 143340
Found 1 jplace file
Running the assignment
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-1066/ampliseq/work/9f/08e866f71ac92b3d080d803f8261d7
Container:
/cfs/klemming/projects/supr/naiss2025-22-1066/ampliseq/work/singularity/depot.galaxyproject.org-singularity-gappa-0.8.0--h9a82719_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 '/cfs/klemming/home/n/nicolai2/.nextflow/assets/nf-core/ampliseq/subworkflows/local/utils_nfcore_ampliseq_pipeline/main.nf' at line: 123 or see '.nextflow.log' file for more details
Can you help me with that?Daniel Lundin
09/23/2025, 11:47 AMLikely it has been terminated by the external system. In most cases this means you ran out of memory. To increase the amount of memory given to a process, you need to specify the new memory in a config file. Nf-core has general documentation for this here: https://nf-co.re/docs/usage/getting_started/configuration.
For your specific case, you can create a nextflow.config file in the directory where you run the pipeline looking like the below.
process {
withName: GAPPA_ASSIGN {
memory: 72.GB
}
}
This will double the amount of memory assigned to process from the default 36 GiB.Daniel Lundin
09/23/2025, 11:48 AMDaniel Lundin
09/23/2025, 11:49 AMNicolai Laufer
09/23/2025, 1:23 PMNicolai Laufer
09/23/2025, 2:39 PMprocess.withName:GAPPA_ASSIGN -- check config file: /cfs/klemming/projects/supr/naiss2025-22-1066/ampliseq/nextflow.config"
I also tried to use this:
process {
withName: NFCORE_AMPLISEQAMPLISEQFASTA_NEWICK_EPANG_GAPPA:GAPPA_ASSIGN (bac120.r10rs226) {
memory: 72.GB
}
}
Or this:
process {
withName: NFCORE_AMPLISEQAMPLISEQFASTA_NEWICK_EPANG_GAPPA:GAPPA_ASSIGN {
memory: 72.GB
}
}
in the nextflow.config file but I get the same errorDaniel Lundin
09/23/2025, 2:41 PMDaniel Lundin
09/23/2025, 2:46 PMDaniel Lundin
09/23/2025, 2:54 PMprocess {
withName: GAPPA_ASSIGN {
memory = 72.GB
}
}Nicolai Laufer
09/23/2025, 3:24 PM