SpliceAI
SpliceAI copied to clipboard
Unable to install using conda install
I am running Linux Ubuntu 20.04.6 LTS within Windows WSL2.
I created a fresh conda environment using conda create -n bioinfo python=3.9 and installed tensorflow using conda install tensorflow.
However, when I run conda install -c bioconda spliceai I get the following error:
(bioinfo) bioinfo@NBXMO-001:~$ conda list | grep tensorflow
tensorflow 2.4.1 mkl_py39h4683426_0
tensorflow-base 2.4.1 mkl_py39h43e0292_0
tensorflow-estimator 2.6.0 pyh7b7c402_0
(bioinfo) bioinfo@DESKXMOL005:/$ conda install -c bioconda spliceai
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.31=0
- feature:|@/linux-64::__glibc==2.31=0
Your installed version is: 2.31
I tried several workarounds for other softwares such as conda update -n base -c defaults conda, conda update conda and others, however it seems it is a bug with the conda instalation.
(bioinfo) bioinfo@DESKXMOL005:/$ conda info
active environment : bioinfo
active env location : /home/bioinfo/miniconda3/envs/bioinfo
shell level : 2
user config file : /home/bioinfo/.condarc
populated config files :
conda version : 23.9.0
conda-build version : not installed
python version : 3.11.5.final.0
virtual packages : __archspec=1=x86_64
__cuda=12.2=0
__glibc=2.31=0
__linux=5.15.90.1=0
__unix=0=0
base environment : /home/bioinfo/miniconda3 (writable)
conda av data dir : /home/bioinfo/miniconda3/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/bioinfo/miniconda3/pkgs
/home/bioinfo/.conda/pkgs
envs directories : /home/bioinfo/miniconda3/envs
/home/bioinfo/.conda/envs
platform : linux-64
user-agent : conda/23.9.0 requests/2.31.0 CPython/3.11.5 Linux/5.15.90.1-microsoft-standard-WSL2 ubuntu/20.04.6 glibc/2.31
UID:GID : 1000:1000
netrc file : None
offline mode : False
You have two other options to run SpliceAI:
- pip install instead of conda install
- Just clone the repo and run spliceai/main.py
If none of those work for your setup, you can consider using the precomputed scores provided here https://basespace.illumina.com/s/otSPW8hnhaZR