Closed wsowens closed 11 months ago
Hi @wsowens,
Thanks for the detailed info! Your issue is probably due to incompatibility between padloc v1.1.0
and padloc-db v2.0.0
(only padloc v2.0.0
is compatible with padloc-db v2.0.0
).
I'm not sure why, but for a couple of people, conda is not installing the latest padloc
release by default. You can try to specify padloc v2.0.0
by running:
conda create -n padloc -c conda-forge -c bioconda -c padlocbio padloc=2.0.0
Do you mind posting the output of conda info
and your .condarc
(if you have one) so I can try and diagnose this further?
Hi @leightonpayne, thanks for getting back to me!
Sure thing, here's conda info
active environment : padloc
active env location : /home/myusername/.conda/envs/padloc
shell level : 1
user config file : /home/myusername/.condarc
populated config files : /usr/share/conda/condarc.d/defaults.yaml
/home/myusername/.condarc
conda version : 4.13.0
conda-build version : not installed
python version : 3.11.4.final.0
virtual packages : __cuda=12.2=0
__linux=6.4.12=0
__glibc=2.36=0
__unix=0=0
__archspec=1=x86_64
base environment : /usr (read only)
conda av data dir : /usr/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 : /var/cache/conda/pkgs
/home/myusername/.conda/pkgs
envs directories : /home/myusername/.conda/envs
/usr/envs
platform : linux-64
user-agent : conda/4.13.0 requests/2.28.1 CPython/3.11.4 Linux/6.4.12-100.fc37.x86_64 fedora/37 glibc/2.36
UID:GID : 1000:1000
netrc file : /home/myusername/.netrc
offline mode : False
And here's cat ~/.condrc
report_errors: false
changeps1: false
I didn't have conda installed on this machine (Fedora 37), so I installed it via the package manager dnf install conda
and then made the above tweaks just to avoid changing my terminal prompt.
Just confirmed, after creating a new conda environment with padloc=2.0.0
, I do successfully get _padloc.csv
and _padloc.gff
files.
I'm happy to provide any more information to help determine why conda defaulted to padloc v1.1.0, but otherwise my issue is solved. Thank you!
Thanks,
I suspect this issue has something to do with older versions of conda
using the pycosat
solver for dependency handling, possibly failing to solve the dependencies correctly and falling back to padloc v1.1.0
by default?
I was able to reproduce the issue using the Linux x86
version of conda v4.13.0
on Red Hat Enterprise Linux 8.6
:
wget https://repo.anaconda.com/miniconda/Miniconda3-py38_4.12.0-Linux-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -u -p ~/.conda
conda activate base
conda install conda=4.13.0
conda create -n padloc -c conda-forge -c bioconda -c padlocbio padloc
conda activate padloc
padloc --version
# padloc v1.1.0
Interestingly, the macOS x86
version of conda v4.13.0
appears to install padloc v2.0.0
by default 🤷🏼. The current (latest) version of conda v23.9.0
installs padloc v2.0.0
by default (as expected) on Linux
and macOS
.
[!IMPORTANT] If anyone else stumbles across this thread, I recommend specifying
padloc v2.0.0
during installation (this should work regardless ofconda
version)create -n padloc -c conda-forge -c bioconda -c padlocbio padloc=2.0.0
[!NOTE] To avoid future issues, you may also wish to:
- Make sure your
conda
installation is up-to-dateconda install -n base -c defaults 'conda>=23.9.0'
- Make sure the new
libmamba
solver is available and activeconda install -n base conda-libmamba-solver --solver=classic conda config --set solver libmamba
I've also dumped these instructions in a separate issue (#35)
Issue description:
Hi there, thanks for making PADLOC, both the command line tool and the web app have been immensely helpful to me!
I'm encountering a problem with a new install of PADLOC in a conda environment based on the instructions in the README. Then I ran
padloc
on one of the provided test files and got "Nothing found", resulting in no_padloc.csv
or_padloc.gff
being produced.Every
.fna
file I've tried successfully produces a.domtblout
file but no_padloc.csv
or_padloc.gff
files. The same result also occurs when I runpadloc
with the other provided test files,GCF_001688665.2.faa
andGCF_001688665.2.gff
Reproducible example:
Debug output:
from
grep ">>" padloc_test.log
(see below for full output)Attached file:
padloc_test.log.gz