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

MMseqs RBH gui issue #58

Closed
iaindhay opened this issue Aug 15, 2024 · 2 comments
Closed

MMseqs RBH gui issue #58

iaindhay opened this issue Aug 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@iaindhay
Copy link

iaindhay commented Aug 15, 2024

I'm having an issue running the MMSeqs RBH in the gui (both in your demo and my local version 1.3.0). Both the MUMmer and BLAST comparisons seemingly work, but when i select the MMSeqs RBH option i get this in the gui:

File "/opt/miniconda3/envs/pgv/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 589, in _run_script
    exec(code, module.__dict__)
File "/opt/miniconda3/envs/pgv/lib/python3.12/site-packages/pygenomeviz/gui/app.py", line 449, in <module>
    gv, align_coords = plot.plot_by_gui_cfg(
                       ^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/pgv/lib/python3.12/site-packages/pygenomeviz/gui/plot.py", line 114, in plot_by_gui_cfg
    align_coords = aligner.run()
                   ^^^^^^^^^^^^^
File "/opt/miniconda3/envs/pgv/lib/python3.12/site-packages/pygenomeviz/align/tool/mmseqs.py", line 84, in run
    self.run_cmd(cmd, self._logger)
File "/opt/miniconda3/envs/pgv/lib/python3.12/site-packages/pygenomeviz/align/tool/base.py", line 129, in run_cmd
    raise RuntimeError(f"Failed to run '{self.get_tool_name()}' aligner!!")

And this in my terminal window:

2024-08-15 12:04:16 | ERROR | Failed to run command below!!
2024-08-15 12:04:16 | ERROR | $ mmseqs easy-rbh '/tmp/tmpf4mpgto2/sample1.faa' '/tmp/tmpf4mpgto2/sample2.faa' '/tmp/tmpf4mpgto2/01_sample1_vs_sample2.tsv' /tmp/tmpf4mpgto2 --threads 32 -e 0.001 -v 0
2024-08-15 12:04:16 | ERROR | STDOUT:
2024-08-15 12:04:16 | ERROR | > Error: target createdb died
2024-08-15 12:04:16.392 Uncaught app exception
Traceback (most recent call last):
  File "/opt/miniconda3/envs/pgv/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 589, in _run_script
    exec(code, module.__dict__)
  File "/opt/miniconda3/envs/pgv/lib/python3.12/site-packages/pygenomeviz/gui/app.py", line 449, in <module>
    gv, align_coords = plot.plot_by_gui_cfg(
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/pgv/lib/python3.12/site-packages/pygenomeviz/gui/plot.py", line 114, in plot_by_gui_cfg
    align_coords = aligner.run()
                   ^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/pgv/lib/python3.12/site-packages/pygenomeviz/align/tool/mmseqs.py", line 84, in run
    self.run_cmd(cmd, self._logger)
  File "/opt/miniconda3/envs/pgv/lib/python3.12/site-packages/pygenomeviz/align/tool/base.py", line 129, in run_cmd
    raise RuntimeError(f"Failed to run '{self.get_tool_name()}' aligner!!")
RuntimeError: Failed to run 'MMseqs' aligner!!

Any Ideas?

@moshi4
Copy link
Owner

moshi4 commented Aug 15, 2024

Maybe the CDS feature does not exist in your Genbank file, or the translation information does not exist in the CDS feature? In this case, the CDS protein fasta file to be compared in MMseqs will be empty, resulting in an error in MMseqs.

@iaindhay
Copy link
Author

Ahh, your right. Thanks!

@moshi4 moshi4 added the bug Something isn't working label Sep 7, 2024
@moshi4 moshi4 mentioned this issue Sep 14, 2024
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