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

blast problem on ubuntu 22.04 #44

Closed
benoitnabholz opened this issue Feb 7, 2023 · 6 comments
Closed

blast problem on ubuntu 22.04 #44

benoitnabholz opened this issue Feb 7, 2023 · 6 comments

Comments

@benoitnabholz
Copy link

Hi Remi,

I have a problem with the makeblastdb available with MitoFinder on ubuntu 22.04:
MitoFinder/blast/bin/makeblastdb: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory

I tried made a symbolic link my version of blast but the pipeline doesn't work and I fear it could be because of that (not sure).

Cheers,
Benoit

@RemiAllio
Copy link
Owner

Hi Benoit,

Could you please try to specify the path of your blast executables in the MitoFinder config file (Mitofinder.config) instead of creating a symbolic link?
Do you confirm that your executable works outside MitoFinder? I guess so, but just to be sure...
If not, you will need to install the libidn.so.11 library (you can try sudo yum install libidn.x86_64).

Finally, you still can try the singularity container of MitoFinder 🙂

Cheers,
Rémi

@benoitnabholz
Copy link
Author

Hi Rémy,

Singularity is working very well. I just wanted to let you know some issue with ubuntu 22.04.
So the problem doesn't come makeblastdb as putting the path in Mitofinder.config solves the problem.
I still have this error:

Creating summary statistics for mtDNA contig 1

Traceback (most recent call last):
File "/home/benoitnabholz/softwares/MitoFinder/mitofinder", line 1209, in
rename = Popen(args1, stdout=open(os.devnull, 'wb'))
File "/usr/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

And nothing is in the folder *_MitoFinder_arwen_Final_Results except the *.infos file.

Benoit

@benoitnabholz
Copy link
Author

So the problem seems to be the same as here: #41
Since singularity is working, it is not urgent at all.

@benoitnabholz
Copy link
Author

benoitnabholz commented Feb 7, 2023

I understood. The problem came from the path of the python2 interpreter.

If I change all the "/usr/bin/python" by "/usr/bin/python2" in the *.py files of MitoFinder, then MitoFinder is working as expected.

@RemiAllio
Copy link
Owner

Nice, well spotted!
I need to translate the scripts in python 3. One day...
Cheers!
Rémi

@Isoris
Copy link

Isoris commented Oct 25, 2024

conda / mamba create -n mitofinder_env python=2.7

cd MitoFinder

which python2.7

then use sed

sed -i 's|#!/usr/bin/python2|#!ADDTHEPATHHERE|' mitofinder

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

3 participants