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

Error running Genomad 1.7.1 #50

Open
mhmism opened this issue Nov 4, 2023 · 2 comments
Open

Error running Genomad 1.7.1 #50

mhmism opened this issue Nov 4, 2023 · 2 comments

Comments

@mhmism
Copy link

mhmism commented Nov 4, 2023

Version 1.6.1 worked fine for me.

After installing Genomad 1.7.1 (fresh install), I get the following error:

Traceback (most recent call last):
File "/gpfs/work5/0/gusr0570/conda/genomad_1.7.1/bin/genomad", line 6, in
from genomad.cli import cli
File "/gpfs/work5/0/gusr0570/conda/genomad_1.7.1/lib/python3.10/site-packages/genomad/init.py", line 5, in
from genomad.modules import (
File "/gpfs/work5/0/gusr0570/conda/genomad_1.7.1/lib/python3.10/site-packages/genomad/modules/annotate.py", line 4, in
from genomad import database, mmseqs2, prodigal, sequence, taxonomy, utils
File "/gpfs/work5/0/gusr0570/conda/genomad_1.7.1/lib/python3.10/site-packages/genomad/prodigal.py", line 5, in
import pyrodigal_gv
File "/gpfs/work5/0/gusr0570/conda/genomad_1.7.1/lib/python3.10/site-packages/pyrodigal_gv/init.py", line 11, in
from .meta import METAGENOMIC_BINS, METAGENOMIC_BINS_VIRAL
File "/gpfs/work5/0/gusr0570/conda/genomad_1.7.1/lib/python3.10/site-packages/pyrodigal_gv/meta.py", line 12, in
METAGENOMIC_BINS = pyrodigal.MetagenomicBins([
AttributeError: module 'pyrodigal' has no attribute 'MetagenomicBins'. Did you mean: 'MetagenomicBin'?

@apcamargo
Copy link
Owner

apcamargo commented Nov 4, 2023

This issue doesn't seem to be a bug with geNomad. It seems that an outdated version of pyrodigal was installed instead. You need to ensure that you have pyrodigal version 3.1.0 or higher, which should have been installed automatically. Could you please tell me how you installed geNomad?

To resolve this issue, you should attempt to update pyrodigal.

@mhmism
Copy link
Author

mhmism commented Nov 21, 2023

I tried version 1.7.0 and it works, but there is a problem with 1.7.1.

I installed it with conda. I think I also checked the pyridogal version and it is up-to-date. It could be a conflict in my own environment that needs further investigation.

For now, I am happy with version 1.7.0 until the next major update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants