Closed MrTomRod closed 2 years ago
Had to install abricate again. By now, conda does not support Python 3.6 anymore.
Conda/Py3.7 never manages to solve the environment.
Conda/Py3.9 manages to install abricate 0.8, but it won't run:
Can't locate List/MoreUtils.pm in @INC (you may need to install the List::MoreUtils module)
Nor can I install this dependency because one of List::MoreUtils
's dependencies is itself broken.
This is bioinformatics purgatory. :rofl:
So I'm using the docker containers. Here's the list of available docker images. Brief instructions for how to do use them:
CURRENT_CONTAINER=quay.io/biocontainers/abricate:1.0.1--ha8f3691_1
# start the container, explore content:
docker run -it --rm $CURRENT_CONTAINER /bin/bash
# run abricate on file /in_dir/input.gbk
docker run --rm -v /in_dir:/data $CURRENT_CONTAINER abricate --quiet --db plasmidfinder /data/input.gbk
Hello!
I was able to create an abricate environment today without any issues. Conda is on Python 3.7
conda create -n abricate -c conda-forge -c bioconda abricate
I would suggest up check out your base environment. It should be pretty empty with not much installed on it.
conda env export -n base
If your base environment is nice and clean maybe give Mamba a try, since its much faster at solving environments.
mamba create -n abricate -c conda-forge -c bioconda abricate
Cheers
WTF?? I did it exactly like yesterday (well, probably not exactly exactly), and this time it worked!
How I did it:
# uninstall conda
$ rm -rf ~/miniconda3/
# install conda
$ bash Miniconda3-py37_4.10.3-Linux-x86_64.sh
# restart bash
$ which python
/home/username/miniconda3/bin/python
$ python --version
Python 3.7.10
$ conda create -n abricate -c conda-forge -c bioconda abricate
$ conda activate abricate
$ abricate --version
abricate 1.0.1
Tested it with conda/python3.9, too. Again, it worked. I'm bewildered.
Sorry for wasting your time!
Haha no worries @MrTomRod ! Conda can be quite fickle sometimes! Glad you are moving along now!
Today, I had some problems installing ABRicate. It worked, but only with a python
3.6
conda container.With python
3.8
and3.9
environment (miniconda4.10.1
), I got this error:conda install -c conda-forge -c bioconda -c defaults abricate
installs version 0.8conda install -c conda-forge -c bioconda -c defaults abricate=1.0
fails:Meanwhile, I tried
Homebrew 3.1.9-58-g7ae9cc3
:brew tap brewsci/bio && brew install brewsci/bio/abricate
Did I do something wrong? If not, it would be great if these issues could be fixed.