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

fastANI error loading shared libraries libgsl.so.25 #7

Open
CaitlinSelway opened this issue Jul 19, 2022 · 2 comments
Open

fastANI error loading shared libraries libgsl.so.25 #7

CaitlinSelway opened this issue Jul 19, 2022 · 2 comments
Labels
external Issue is caused by an external dependency

Comments

@CaitlinSelway
Copy link

CaitlinSelway commented Jul 19, 2022

Hi Laura,

I was installing this great tool this morning, but came across an error with libgsl.so.25.

$ btyper3 -i 2218710072.fna -o bytper3
Welcome to BTyper3!
You are initializing this run at 2022-07-19 08:56
You ran the following command:
/phe/tools/miniconda3/envs/btyper3/bin/btyper3 -i 2218710072.fna -o bytper3
Report bugs/concerns to Laura M. Carroll, laura.carroll@embl.de
Using FastANI to assign 2218710072 to a species at 2022-07-19 08:56
fastANI: error while loading shared libraries: libgsl.so.25: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/phe/tools/miniconda3/envs/btyper3/bin/btyper3", line 10, in <module>
    sys.exit(main())
  File "/phe/tools/miniconda3/envs/btyper3/lib/python3.10/site-packages/btyper3/__init__.py", line 441, in main
    run_pipeline(args)
  File "/phe/tools/miniconda3/envs/btyper3/lib/python3.10/site-packages/btyper3/__init__.py", line 105, in run_pipeline
    final_species = get_species.run_fastani("species", fastani_path, infile, final_results_directory, prefix)
  File "/phe/tools/miniconda3/envs/btyper3/lib/python3.10/site-packages/btyper3/ani.py", line 60, in run_fastani
    proc.check_returncode()
  File "/phe/tools/miniconda3/envs/btyper3/lib/python3.10/subprocess.py", line 456, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['fastANI', '-q', '2218710072.fna', '--rl', '/tmp/tmp69n8g9vktxt', '-o', 'bytper3/btyper3_final_results/species/2218710072_species_fastani.txt']' returned non-zero exit status 127

After a quick google, the current gsl version 2.7.1 only provides libgsl.so.27. For anyone else that encounters this issue, I fixed it by downgrading the gsl version from 2.7.1 to 2.7.
conda install gsl=2.7

Have a good day!
Caitlin

@althonos
Copy link
Collaborator

Hi Caitlin,
this looks more like a Bioconda issue, I'll be opening an issue there as well, this can likely be fixed by pinning an exact gsl version for the fastani package (at the moment it expects gsl>=2.7,<2.8).

@althonos althonos added the external Issue is caused by an external dependency label Jul 19, 2022
@althonos
Copy link
Collaborator

Actually, this looks like it was fixed already in bioconda/bioconda-recipes#35517, have you updated your conda environment in the last month?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Issue is caused by an external dependency
Projects
None yet
Development

No branches or pull requests

2 participants