The process BBMAP_BBDUK uses the maxmem=\$(echo \"$task.memory\"| sed 's/ GB/g/g') variable to set the JVM Xmx parameter for bbduk.sh. When the task.memory nextflow ...