Mahesh Binzer-Panchal
05/07/2026, 11:30 AMprefixes in
process KRAKENUNIQ_PRELOADEDKRAKENUNIQ {
input:
// We stage sequencing files in a sub-directory so we don't accidentally gzip them later.
tuple val(meta), path(sequences, name: 'sequences/*'), val(prefixes)
val sequence_type
path db
val save_output_reads
val report_file
val save_output
and why is it required? I'm using this module in another workflow and did an update, but I don't understand what prefixes is for. meta.yml is not illuminating me and I don't see what this might be referring to in the tool docs.Mahesh Binzer-Panchal
05/07/2026, 12:24 PMext.prefix. What? Why does this module differ like this?Lili Andersson-Li
05/07/2026, 1:35 PMJames Fellows Yates
05/07/2026, 1:35 PMLili Andersson-Li
05/07/2026, 1:35 PMJames Fellows Yates
05/07/2026, 1:39 PM.se and .pe for when you have both types of data.
@moritz would be best to explain as he implemented it.
It is indeed a bit messy, but this type of 'load database into memory with a separate command' was really awkward.Mahesh Binzer-Panchal
05/07/2026, 1:44 PMmoritz
05/07/2026, 1:47 PMmoritz
05/07/2026, 1:48 PMMahesh Binzer-Panchal
05/07/2026, 1:49 PMext.prefix and if developers want users to be able to change it, they need to provide a parameterMahesh Binzer-Panchal
05/08/2026, 7:03 AMext.prefix that it couldn't be used here? Why not have something like
ext.prefix = { [ "\$( basename \${SEQ%.gz} .fastq )", meta.single_end? ".se": ".pe" ].join("") }James Fellows Yates
05/08/2026, 3:47 PMJames Fellows Yates
05/08/2026, 3:47 PMmoritz
05/08/2026, 7:09 PMMahesh Binzer-Panchal
05/11/2026, 8:29 AMmoritz
05/11/2026, 1:55 PMJames Fellows Yates
05/11/2026, 3:44 PM