Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetaBAT2 bins folder not created, and MAGs from metabat2 not saved. #531

Closed
patriciatran opened this issue Nov 2, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@patriciatran
Copy link

patriciatran commented Nov 2, 2023

Description of the bug

I can see from my CheckM & QUAST output that there are good quality METABAT2 bins, (results > GenomeBinning > QC > CheckM > checkm_summary.tsv), however my Genome Assembly > MetaBAT2 folder always only contains the unbinned and discard folders. Whereas the MaxBin2 folder contains unbinned, bins, and discarded. Here is an example of what I mean.

Screenshot 2023-11-02 at 11 08 28 AM

This happens with all the samples I ran so far. I’m using the tar.gz file from the 2.5.0 release.

In other words, it’s not making this file: bins/[assembler]-[binner]-[sample/group].*.fa.gz nor the bins folder under MetaBAT2 (https://nf-co.re/mag/2.5.0/docs/output#binning-and-binning-refinement)

There might be an issue with "the glob pattern we use when 'publishing' the files".

Thank you!

Command used and terminal output

nextflow run main.nf -profile singularity -c copy_custom_res.conf --input group_samples_fastq_paths_sub.csv --outdir results_2 --email [my_email] --skip_spadeshybrid true --skip_megahit true --skip_concoct true --skip_prokka true --refine_bins_dastool false --binqc_tool checkm --skip_gtdbtk true --max_cpus 20 --max_memory 250.GB

Relevant files

No response

System information

Nextflow version 23.10.0, build 5889 (15-10-2023 15:07 UTC)
Hardware HTCondor
Local Executor
Container: Singularity
OS: Linux
nf-core/mag: 2.5.0 (https://github.com/nf-core/mag/releases/tag/2.5.0, downloaded the tar.gz file)

@patriciatran patriciatran added the bug Something isn't working label Nov 2, 2023
@jfy133
Copy link
Member

jfy133 commented Nov 3, 2023

I've found the bug. Indeed (as mentioned on slack) it was that MetaBAT2 makes nasty output file names which makes it hard to pick up using globs).

So I need to modify the module to make this easier, which I think it might be possible 👍

@jfy133 jfy133 mentioned this issue Nov 3, 2023
10 tasks
@jfy133 jfy133 closed this as completed Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants