Menu

#5 error but log is empty

1.0
open
nobody
None
2020-11-18
2019-08-18
No

I'm using maxbin2 2.2.4 h470a237_1 bioconda, and running the following:

run_MaxBin.pl -min_contig_length 1500 -markerset 40  -prob_threshold 0.8 -thread 24 -contig contigs.fna  -abund_list abund_file_list.txt  -out maxbin_bins

I'm getting the following error:

MaxBin 2.2.4
Min contig length: 1500
Switch to 40 marker genes universal for bacteria and archaea.
Probability threshold: 0.8
Thread: 24
Input contig: contigs.fna
out header: maxbin_bins
Located abundance file [...]  # I'm just not showing all of this
Searching against 40 marker genes to find starting seed contigs for [contigs.fna]...
Done data collection. Running MaxBin...
Command: /ebio/abt3_projects/vadinCA11/bin/llmga/.snakemake/conda/a1559996/opt/MaxBin-2.2.4/src/MaxBin [...] # again, I'm truncating
Error encountered while running core MaxBin program. Error recorded in contigs.log.
Program Stop.

The "contigs.log" file is empty, so I have no idea what caused the error. The contig IDs in all of the abundances files and the fasta all match, so I don't think that is the problem.

Discussion

  • Nick Youngblut

    Nick Youngblut - 2020-11-18

    I get the same error. If I run the command stated in the log Command: ..., then that runs successfully.
    Given that it's been a year since this ticket was originally created, I'm guessing the developers are not going to deal with this issue.
    Generally, it would be very helpful to have better error messages.

     
  • Nick Youngblut

    Nick Youngblut - 2020-11-18

    It appears that the error was due to the output directory not existing. Adding mkdir to the code (https://perldoc.perl.org/functions/mkdir) should fix the issue

     

Log in to post a comment.