Closed tillenglert closed 11 months ago
A fix for this was incoming: https://github.com/nf-core/mag/pull/433 however the PR was closed (@maxibor ?)
Thanks @jfy133, I posted what I tracked down/found out to the PR. 👍
To summarise:
CAT
module hard codes file names in the commands themselves, rather than using the now standard Prefix
, and thus the 'unbinned' information gets removed when writing files, resulting in the overwriting of bins and unbins of a given sampe...This in principle should be fixed in #489 and now in dev
branch with a work around until we start replacing modules with offiical nf-core ones!
Will wait a week or so to see if we can get in a few more bug fixes then will release this.
Description of the bug
Hi there,
I'm running nf-core/mag on a metagenomics dataset and wanted to include a taxonomic classification via CAT. The main module
CAT
runs, but then runs into the following issue:As the names suggest I'm using SPAdes and MEGAHIT, MaxBin2, Metabat2 and DAS Tool (Which seems to be the Problem here) and
--postbinning_input "both"
.I tracked down the problem to the naming convention within the
CAT
module:https://github.com/nf-core/mag/blob/66cf53aff834d2a254b78b94fc54cd656b8b7b57/modules/local/cat.nf#L31
Which does not account for the naming of the unbinned DasTool file.
If you need any more information/files I can of course provide them.
Command used and terminal output
Relevant files
No response
System information
Nextflow version 23.04.1 build 5866 Hardware: HPC Cluster Executor: slurs Container engine: Singularity nf-core/mag: 2.3.0