jolespin / veba

A modular end-to-end suite for in silico recovery, clustering, and analysis of prokaryotic, microeukaryotic, and viral genomes from metagenomes
GNU Affero General Public License v3.0
75 stars 9 forks source link

EnvironmentLocationNotFound error for installation on HPC with sudo rights #113

Closed joao1980 closed 1 month ago

joao1980 commented 1 month ago

Thanks for the tool. I am currently trying to test it. I am working on a HPC without sudo rights. Having said that, I managed to install all modules by setting my conda environments to a specific folder. However, when I try to run , e.g., annotate, it fails.

EnvironmentLocationNotFound: Not a conda environment: /xxx/global/software/skylake/software/Mamba/23.3.1-1/envs/VEBA-annotate_env

Traceback (most recent call last): File "/home/xxx/.conda/envs/VEBA/bin/annotate.py", line 10, in from genopype import * ModuleNotFoundError: No module named 'genopype'

I'm guessing this will happen no matter the module. How can I fix this? Thanks in advance. Cheers, Joao

jolespin commented 1 month ago

Looks like the environment creation failed. I've seen similar situations happen on lab-specific HPCs that aren't managed by an institute.

A few questions:

If you have sudo rights then you might want to consider using the Docker workflow.

https://github.com/jolespin/veba/blob/main/walkthroughs/docs/adapting_commands_for_docker.md https://www.youtube.com/watch?v=3aFV-3rsJ5w&t

jolespin commented 1 month ago

Feel free to reopen if this issue persists