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

Pipeline fails when running on input_myco_tiny.csv dataset. #55

Open
FernandoDuarteF opened this issue Oct 25, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@FernandoDuarteF
Copy link
Collaborator

Pipeline fails on BUSCO step when running on testdata.

The problem seems to be related to the input_myco_tiny.csv dataset.

Choosing bacteria_odb10 as lineage to run BUSCO fixes the issue, but we should probably have a look at other alternatives.

@FernandoDuarteF
Copy link
Collaborator Author

Log error:

Command error:
  2024-10-25 14:10:36 INFO:     [hmmsearch]     4 of 34 task(s) completed
  2024-10-25 14:10:36 INFO:     [hmmsearch]     7 of 34 task(s) completed
  2024-10-25 14:10:36 INFO:     [hmmsearch]     11 of 34 task(s) completed
  2024-10-25 14:10:36 INFO:     [hmmsearch]     14 of 34 task(s) completed
  2024-10-25 14:10:37 INFO:     [hmmsearch]     17 of 34 task(s) completed
  2024-10-25 14:10:37 INFO:     [hmmsearch]     21 of 34 task(s) completed
  2024-10-25 14:10:37 INFO:     [hmmsearch]     24 of 34 task(s) completed
  2024-10-25 14:10:37 INFO:     [hmmsearch]     28 of 34 task(s) completed
  2024-10-25 14:10:37 INFO:     [hmmsearch]     31 of 34 task(s) completed
  2024-10-25 14:10:37 INFO:     [hmmsearch]     34 of 34 task(s) completed
  2024-10-25 14:10:37 WARNING:  BUSCO did not find any match. Make sure to check the log files if this is unexpected.
  2024-10-25 14:10:37 CRITICAL: Unhandled exception occurred:
  Traceback (most recent call last):
    File "/usr/local/lib/python3.7/site-packages/busco/BuscoRunner.py", line 120, in run
...skipping...
    File "/usr/local/lib/python3.7/site-packages/busco/analysis/BuscoAnalysis.py", line 141, in run_hmmer
      self.record_results()
    File "/usr/local/lib/python3.7/site-packages/busco/analysis/GenomeAnalysis.py", line 1081, in record_results
      self.hmmer_runner.record_results()
    File "/usr/local/lib/python3.7/site-packages/busco/busco_tools/hmmer.py", line 1210, in record_results
      self._get_busco_percentages()
    File "/usr/local/lib/python3.7/site-packages/busco/busco_tools/hmmer.py", line 1309, in _get_busco_percentages
      self._get_stop_codon_percent_and_avg_identity()
    File "/usr/local/lib/python3.7/site-packages/busco/busco_tools/hmmer.py", line 1359, in _get_stop_codon_percent_and_avg_identity
      self.avg_identity = round(sum(identities) / len(identities), 2)
  ZeroDivisionError: division by zero


  2024-10-25 14:10:37 ERROR:	division by zero
  2024-10-25 14:10:37 ERROR:	BUSCO analysis failed!
  2024-10-25 14:10:37 ERROR:	Check the logs, read the user guide (https://busco.ezlab.org/busco_userguide.html), and check the BUSCO issue board on https://gitlab.com/ezlab/busco/issues

@FernandoDuarteF
Copy link
Collaborator Author

Might be related #85.

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
No open projects
Status: Todo
Development

No branches or pull requests

1 participant