genomad icon indicating copy to clipboard operation
genomad copied to clipboard

Error running Genomad 1.7.1

Open mhmism opened this issue 1 year ago • 2 comments

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'?

mhmism avatar Nov 04 '23 09:11 mhmism

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.

apcamargo avatar Nov 04 '23 15:11 apcamargo

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.

mhmism avatar Nov 21 '23 13:11 mhmism