segfault when getting unbinned contigs
Issue #50
resolved
Hi,
I'm getting a segfault with the --unbinned flag for some reason. I think it is happening when it writes the unbinned file as all the other files seem to have been written properly.
$ metabat -l -i data/merged_assembly.fasta -o data/metabat_bins/binned_contigs
MetaBAT 2 (v2.12.1) using minContig 2500, minCV 1.0, minCVSum 1.0, maxP 95%, minS 60, and maxEdges 200.
12 bins (109311580 bases in total) formed.
$ metabat -l --unbinned -i data/merged_assembly.fasta -o data/metabat_bins/binned_contigs
MetaBAT 2 (v2.12.1) using minContig 2500, minCV 1.0, minCVSum 1.0, maxP 95%, minS 60, and maxEdges 200.
13 bins (109480599 bases in total) formed.
[1] 111221 segmentation fault metabat -l --unbinned -i data/merged_assembly.fasta -o
Comments (5)
-
-
reporter Hi Rob,
Sorry I deleted the files and haven't been able to replicate it. From memory I did check without the -l flag and the bug was still present.
-Mitch
-
Okay, well I pushed a change that should address the issue you observed. Let us know if you have any problems. Rob
-
This commit should fix the issue 5fc8e4b4541434f1b792eb10e998b23827e13523
-
- changed status to resolved
- Log in to comment
Thanks for the bug report Mitchell. I believe that I see the problem in the code, can you try to run with out the -l option, so it outputs the fasta files? And confirm whether there is segfault then? Thanks, Rob