ksahlin / NGSpeciesID

Reference-free clustering and consensus forming of long-read amplicon sequencing
GNU General Public License v3.0
49 stars 14 forks source link

Installation package conflicts #22

Open kristycyw opened 1 year ago

kristycyw commented 1 year ago

Dear Developers,

I have tried multiple ways to install these packages. They all install fine independently (by installing them directly onto conda), but in an environment with python 3.6 specified, an incredible number of conflicts is presented which prevents installation. Can you help?

Here is the full error log:

conda install --yes -c conda-forge -c bioconda medaka==0.11.5 openblas==0.3.3 spoa racon minimap2 Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial 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 versions

Package libgfortran conflicts for: racon -> libgcc -> libgfortran[version='3.0.1|>=3.0.1,<4.0.0.a0|>=3.0,<4.0.0.a0|5.*'] minimap2 -> libgcc -> libgfortran==3.0.1 openblas==0.3.3 -> libgfortran[version='>=3.0,<4.0.0.a0|>=3.0.1,<4.0.0.a0'] medaka==0.11.5 -> libopenblas==0.3.3 -> libgfortran[version='>=3.0.1,<4.0.0.a0']

Package openblas conflicts for: racon -> numpy -> openblas[version='0.2.18.|0.2.18|0.2.18.|0.2.19|0.2.19.|0.2.20|0.2.20.|>=0.2.20,<0.2.21.0a0|>=0.3.3,<0.3.4.0a0|>=0.2.15'] openblas==0.3.3

Package cloog conflicts for: racon -> libgcc -> cloog==0.18.0 minimap2 -> libgcc -> cloog==0.18.0

Package libcxx conflicts for: python=3.6 -> libcxx[version='>=10.0.0|>=10.0.1|>=11.0.0|>=11.0.1|>=11.1.0|>=9.0.1|>=9.0.0|>=4.0.1'] spoa -> libcxx[version='>=11.1.0|>=12.0.1|>=9.0.1|>=4.0.1'] medaka==0.11.5 -> biopython -> libcxx[version='>=10.0.0|>=10.0.1|>=11.0.0|>=11.0.1|>=11.1.0|>=12.0.1|>=4.0.1|>=9.0.1|>=9.0.0'] racon -> libcxx[version='>=11.1.0|>=12.0.1|>=9.0.1|>=4.0.1'] minimap2 -> k8 -> libcxx[version='>=11.1.0|>=12.0.1|>=9.0.1'] racon -> python -> libcxx[version='>=10.0.0|>=10.0.1|>=11.0.0|>=11.0.1|>=9.0.0|>=12.0.0|>=14.0.4|>=13.0.1'] python=3.6 -> libffi[version='>=3.4.2,<3.5.0a0'] -> libcxx[version='>=12.0.0|>=14.0.4'] minimap2 -> libcxx[version='>=4.0.1']

Package nomkl conflicts for: medaka==0.11.5 -> nomkl openblas==0.3.3 -> nomkl==3.0=0

Package libcxxabi conflicts for: racon -> libcxx[version='>=4.0.1'] -> libcxxabi[version='4.0.1|4.0.1|8.0.0|8.0.0|8.0.0|8.0.0|8.0.1',build='hebd6815_0|2|0|4|3|1|hcfea43d_1'] python=3.6 -> libcxx[version='>=4.0.1'] -> libcxxabi[version='4.0.1|4.0.1|8.0.0|8.0.0|8.0.0|8.0.0|8.0.1',build='hebd6815_0|2|0|4|3|1|hcfea43d_1'] spoa -> libcxx[version='>=4.0.1'] -> libcxxabi[version='4.0.1|4.0.1|8.0.0|8.0.0|8.0.0|8.0.0|8.0.1',build='hebd6815_0|2|0|4|3|1|hcfea43d_1'] minimap2 -> libcxx[version='>=4.0.1'] -> libcxxabi[version='4.0.1|4.0.1|8.0.0|8.0.0|8.0.0|8.0.0|8.0.1',build='hebd6815_0|2|0|4|3|1|hcfea43d_1']

Package pypy3.7 conflicts for: racon -> python -> pypy3.7[version='7.3.3.|7.3.4.|7.3.5.|7.3.7.|>=7.3.7|>=7.3.5|>=7.3.4|>=7.3.3'] medaka==0.11.5 -> biopython -> pypy3.7[version='>=7.3.3|>=7.3.4|>=7.3.7']

Package ca-certificates conflicts for: python=3.6 -> openssl[version='>=1.1.1l,<1.1.2a'] -> ca-certificates racon -> python -> ca-certificates

Package numpy conflicts for: medaka==0.11.5 -> numpy==1.16.1 medaka==0.11.5 -> biopython -> numpy[version='1.10.|1.11.|1.12.|1.13.|>=1.8|>=1.11.3,<2.0a0|>=1.9.3,<2.0a0|>=1.8,<1.14|>=1.8.1']

Package wheel conflicts for: python=3.6 -> pip -> wheel medaka==0.11.5 -> parasail-python -> wheel

Package zlib conflicts for: medaka==0.11.5 -> zlib[version='>=1.2.11,<1.3.0a0'] medaka==0.11.5 -> mappy -> zlib[version='1.2.|1.2.11|1.2.11.|>=1.2.12,<1.3.0a0|1.2.8.*|1.2.8']

kristycyw commented 1 year ago

Some additional info to help, here is 'conda list' for this env: packages in environment at /home/guest/anaconda3/envs/NGSpeciesID:

Name Version Build Channel _libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
ca-certificates 2022.07.19 h06a4308_0
certifi 2021.5.30 py36h06a4308_0
ld_impl_linux-64 2.38 h1181459_1
libffi 3.3 he6710b0_2
libgcc-ng 11.2.0 h1234567_1
libgomp 11.2.0 h1234567_1
libstdcxx-ng 11.2.0 h1234567_1
ncurses 6.3 h5eee18b_3
openssl 1.1.1q h7f8727e_0
pip 21.2.2 py36h06a4308_0
python 3.6.13 h12debd9_1
readline 8.1.2 h7f8727e_1
setuptools 58.0.4 py36h06a4308_0
sqlite 3.39.3 h5082296_0
tk 8.6.12 h1ccaba5_0
wheel 0.37.1 pyhd3eb1b0_0
xz 5.2.6 h5eee18b_0
zlib 1.2.13 h5eee18b_0

kristycyw commented 1 year ago

It seems to be a medaka incompatibility issue. Was able to download and run everything on base environment but unable to do so on separate environment. Was able to download medaka via pip3 after installing dependencies

amakunin commented 6 months ago

For me, it helped to fix a couple of additional versions during NGSpeciesID env setup:

conda install --yes -c conda-forge -c bioconda medaka==0.11.5 openblas==0.3.3 spoa racon minimap2 pysam==0.15.2 absl==0.9.0