Closed ndreey closed 1 year ago
FIXED!!
env CAMISIM
conda env remove --name CAMISIM
conda create --name thesis_CAMISIM python=3.9
conda install biopython numpy matplotlib joblib scipy ncurses
metagenomesimulation.py
/CAMISIM/tools/samtools-1.3/samtools: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
/home/PATH/lib
find . -name libncursesw.so.5
gave nothing sudo apt-get install libncursesw5
env thesis_CAMISIM
activated and it worked.
python3 metagenomesimulation.py defaults/mini_config.ini
Waiting for the run to finish, but the out/
is 1GB large now so seems to be working. Will close the issue if this run is successful.
It worked!
I will post logs of error management.
Good to know
Running
Ubuntu 20.04 LTS
onWSL2
(Windows 11 Laptop)Created a conda environment
CAMISIM
where i installed the required dependencies formetagenomesimulation.py
conda create -n CAMISIM python=3
conda install biopython
numpy
.matplotlib
sudo apt-get install perl perl
sudo apt-get install libxml-simple-perl
conda config --add channels bioconda
conda config --add channels conda-forge
conda install samtools
Cloned CAMISIM
git clone https://github.com/CAMI-challenge/CAMISIM
Test run with the
default/
filesconda install joblib
conda install scipy
conda install scikit-learn-intelex
the
env CAMISIM
was runningpython 3.11.0
ImportError: cannot import name 'Iterable' from 'collections'
from collections import Iterable
to:from collections.abc import Iterable
in:CAMISIM/scripts/configparserwrapper.py
fixed this issue.Iterable
fromcollections
module.from collections import Iterable
and downgradedpython
.conda install python=3.9
and downgraded all the packages when prompted.It is now letting me run the simulation but i am getting this error.
/mnt/c/Users/andbo/thesis_andbo/CAMISIM/tools/samtools-1.3/samtools: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
libncursesw5
but nothing workedto be continued... CAMISIM_ERROR_LOG.txt