cytham / nanovar

Structural variant caller for low-depth long-read sequencing data
GNU General Public License v3.0
45 stars 10 forks source link

Unable to install using conda #43

Closed beantkapoor786 closed 2 years ago

beantkapoor786 commented 2 years ago

Hello, I am unable to install the software using Conda. Here is the code that I am using -

conda create -n nanovar
conda activate nanovar
conda install -c bioconda nanovar

It is stuck at this step for at least a couple hours -

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \

Any suggestion is greatly appreciated. Thank you.

cytham commented 2 years ago

Hi, can you try to specify the version of NanoVar?

conda install -c bioconda nanovar=1.4.1

Have you also make sure your channels are set correctly for bioconda? See below

conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge

Can you also go to your home directory and show me the output of

cat .condarc

Thanks

beantkapoor786 commented 2 years ago

Hello, sorry for the late reply but I am still stuck on the same message Solving environment: \ even when I used this code

conda install -c bioconda nanovar=1.4.1

I think I have set my channels correctly for bioconda. Here are the contents of my .condarc file -

channels:
  - conda-forge
  - bioconda
  - defaults
channel_priority: flexible

Please let me know if there is anything else I can try. Thank you.

cytham commented 2 years ago

I think this is a problem with the Conda repositories.

Can you try

conda config --set channel_priority strict

if doesn't work, try

conda config --set channel_priority disable

or else, change it back to flexible

conda config --set channel_priority flexible

and try installing nanovar=1.4.1 again.

beantkapoor786 commented 2 years ago

Using this code worked -

conda config --set channel_priority disabled

It is now installed. Thank you for all your help.