But this only adds those two args in the command.s...
# help
h
But this only adds those two args in the command.sh, not replace it. It looks like this:
Copy code
bbmap.sh \
    ref=megahit_assembly.contigs.fa.gz \
    threads=12 -Xmx96G \
    threads=1 \
    -Xmx6g
p
Generally for nf-core modules, those things are derived from the memory requested for the process (just like e.g. a threads argument might be derived from the number of cpus requested). So, the proper solution is almost always to set the corresponding resources properly.
h
I did not find any related parameters in the #metatdenovo pipeline. Is it a universal parameter set from nextflow?