Closed eneas01 closed 8 months ago
hi @eneas01, a8c0c550ea135414f5107659bfb6bd682812464a is an attempt to address this. if you install anvio-dev, you may be able to try it and see if this solves your problem.
In the worst case scenario you will need to import your binning results with anvi-import-collection
, but I hope this change can help you.
Thanks a lot @meren. I will try with anvio-dev, and otherwise import the collection.
The change made to dastool.py in the anvio-dev version worked! Many thanks!
Short description of the problem
Please help. DAS-tool is not creating critical output file "OUTPUT_DASTool_scaffolds2bin.txt", but finishes without errors in logs.txt, and creates "OUTPUT_DASTool_contig2bin.tsv", which is not recognized by Anvi'o.
anvi'o version
Keep the header of this section, but replace this text with the output of this command in your terminal:
System info
Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy
Anvi'o was installed using Anaconda3 DAS Tool 1.1.6
Detailed description of the issue
DAStool finishes without issues, but does not produce the expected file "OUTPUT_DASTool_scaffolds2bin.txt". Instead, I have "OUTPUT_DASTool_contig2bin.tsv", which seem to have the binning results. Therefore, the bins are not added to the databse, and I get an error instead. This is related to issue #1510, but not the same, as in this case DAStool did finish without errors, as far as I can tell (see logs.txt bellow).
Commands to reproduce the issue
Command that produced the problem:
Output:
Output from cat:
Hmmmm... no errors reported!
Output from ls:
Output from head:
I think "OUTPUT_DASTool_contig2bin.tsv" seems to be the expected output and have the right format, but different name, am I wrong?
Lines 138-141 of dastool.py seem to check for 'OUTPUT_DASTool_scaffolds2bin.txt' and throw this error as it is not found. Can I just change it for "OUTPUT_DASTool_contig2bin.tsv" on line 138, or is this not the correct binning results file?
I could just run DASTool outside Anvi'o and import the collection, but as I am trying to automate a pipleline, I would prefer to stay within Anvi'o, if possible. ¿Can you please help me solve this issue? Any help will be greatly appreciated. Thanks in advance