This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Trouble installing Bioconda

I'm trying to install bioconda so that I can run the program antiSMASH:

https://docs.antismash.secondarymetabolites.org/install/

I'm following directions from here:

http://www.ddocent.com//bioconda/

I installed miniconda, added it to my PATH, and began entering commands into my windows command line. I'm held up when entering:

conda create -n ddocent_env ddocent

Error returned:

PackagesNotFoundError: The following packages are not available from current channels:

  - ddocent

When searching ddocent on anaconda.org I found this code to add the ddocent package but I'm not sure if it's what I should be doing:

conda install -c bioconda ddocent

Here's my full session:

C:\Users\macstest>conda config --add channels r

C:\Users\macstest>conda config --add channels defaults
Warning: 'defaults' already in 'channels' list, moving to the top

C:\Users\macstest>conda config --add conda-forge
usage: conda-script.py config [-h] [--json] [-v] [-q]
                              [--system | --env | --file FILE]
                              [--show [SHOW [SHOW ...]] | --show-sources |
                              --validate | --describe
                              [DESCRIBE [DESCRIBE ...]] | --write-default]
                              [--get [KEY [KEY ...]] | --append KEY VALUE |
                              --prepend KEY VALUE | --set KEY VALUE | --remove
                              KEY VALUE | --remove-key KEY | --stdin]
conda-script.py config: error: argument --prepend/--add: expected 2 arguments

C:\Users\macstest>conda config --add channels defaults
Warning: 'defaults' already in 'channels' list, moving to the top

C:\Users\macstest>conda config --add channels bioconda
Warning: 'bioconda' already in 'channels' list, moving to the top

C:\Users\macstest>conda config --add channels conda-forge
Warning: 'conda-forge' already in 'channels' list, moving to the top

C:\Users\macstest>conda create -n ddocent_env ddocent
Collecting package metadata: done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - ddocent

Current channels:

  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://conda.anaconda.org/bioconda/win-64
  - https://conda.anaconda.org/bioconda/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/win-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch
  - https://conda.anaconda.org/r/win-64
  - https://conda.anaconda.org/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.



C:\Users\macstest>conda config --append channels conda-forge
Warning: 'conda-forge' already in 'channels' list, moving to the bottom

C:\Users\macstest>where conda
C:\Anaconda\Library\bin\conda.bat
C:\Anaconda\Scripts\conda.exe

C:\Users\macstest>SETX PATH "%PATH%;C:\Anaconda\Scripts;C:\Anaconda"

WARNING: The data being saved is truncated to 1024 characters.

SUCCESS: Specified value was saved.

C:\Users\macstest>conda create -n ddocent_env ddocent
Collecting package metadata: done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - ddocent

Current channels:

  - https://conda.anaconda.org/bioconda/win-64
  - https://conda.anaconda.org/bioconda/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/win-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch
  - https://conda.anaconda.org/r/win-64
  - https://conda.anaconda.org/r/noarch
  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.



C:\Users\macstest>conda create -n antismash antismash
Collecting package metadata: done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - antismash

Current channels:

  - https://conda.anaconda.org/bioconda/win-64
  - https://conda.anaconda.org/bioconda/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/win-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch
  - https://conda.anaconda.org/r/win-64
  - https://conda.anaconda.org/r/noarch
  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.



C:\Users\macstest>conda config --add channels bioconda
Warning: 'bioconda' already in 'channels' list, moving to the top

C:\Users\macstest>conda install -c bioconda antismash
Collecting package metadata: done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - antismash

Current channels:

  - https://conda.anaconda.org/bioconda/win-64
  - https://conda.anaconda.org/bioconda/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/win-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch
  - https://conda.anaconda.org/r/win-64
  - https://conda.anaconda.org/r/noarch
  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
bioconda

Thanks for the tip! I successfully set up a Debian 9 VM and was able to get ddocent and antismash working.

Do you happen to know why the bioconda group only supports binaries on Linux and MacOS? Is there a distribution issue using CygWin64 or similar? It just drives me up the wall because we have a large Python app that 90% of the users are on Win10 machines. So we have to supply the CygWIn64 ports. Otherwise, we would simply add it to Conda and let the dependencies be handled there for all three platforms. Sorry, did not mean to hi-jack the question. Just have not found any indication anywhere.

0 answers

No answers yet.

Log in to answer this question.