oschakoory / RiboTaxa

RiboTaxa: combined approaches for rRNA genes taxonomic resolution down to the species level from metagenomics data revealing novelties.
https://academic.oup.com/nargab/article/4/3/lqac070/6708509
GNU Affero General Public License v3.0
7 stars 0 forks source link

ModuleNotFoundError: No module named 'binary_utils' #2

Closed palomo11 closed 1 year ago

palomo11 commented 1 year ago

Hi, I am trying to use RiboTaxa but I'm encountering this error:

  File "/data/ese-alexp/software/RiboTaxa//scripts/matam_db_preprocessing.py", line 10, in <module>
    from binary_utils import Binary
ModuleNotFoundError: No module named 'binary_utils'

when trying to index the database:

bash -i /mypath/RiboTaxa/indexDB_RiboTaxa.sh /mypath/RiboTaxa/indexDB_arguments.conf

I followed the installation, and I have tried running indexDB_RiboTaxa.sh with: conda activate RiboTaxa_py36, conda activate RiboTaxa_py27 and without activating conda, and always same issue.

Any idea about whats is going on?

oschakoory commented 1 year ago

Hi, Thank you for using RiboTaxa!

I have fixed the missing module using conda.

Can you redo these steps:

git clone https://github.com/oschakoory/RiboTaxa.git
cd RiboTaxa
bash conda_virt_env.sh

The missing module will be installed in RiboTaxa and you will be able to index your database without error.

palomo11 commented 1 year ago

That solved the issue. Thanks!