Mambaforge A new New module is available that includes mamba as the package manager - module load mambaforge/24.3.0 Conda Mirror Currently we have a mirror for Conda to allow you to install packages without internet access. You should specify these local mirrors, when you want to create a new environment
Codeblock |
---|
conda create -c http://conda.repo.test.hhu.de/bioconda -c http://conda.repo.test.hhu.de/main -c http://conda.repo.test.hhu.de/conda-forge --override-channels --name my_environment |
but also if you want to install new packages
Codeblock |
---|
conda install -c http://conda.repo.test.hhu.de/bioconda -c http://conda.repo.test.hhu.de/main -c http://conda.repo.test.hhu.de/conda-forge --override-channels $PACKAGE_NAME
|
Codeblock |
---|
name: Example
channels:
- nodefaults
- http://conda.repo.test.hhu.de/bioconda
- http://conda.repo.test.hhu.de/main
- http://conda.repo.test.hhu.de/conda-forge
dependencies:
- bwa = 0.7.17
- samtools = 1.10
- bcftools = 1.10.2 |
.condarcTo make your life super easy and just ignore all of the above (and thus also keep your existing .yaml files) you can also just create a .condarc file in your home directory with the following contents (this handles the redirection of the channels to the custom hhu ones for you):
Codeblock |
---|
channel_alias: http://conda.repo.test.hhu.de/
default_channels:
- http://conda.repo.test.hhu.de/main
- http://conda.repo.test.hhu.de/bioconda
- http://conda.repo.test.hhu.de/conda-forge |
|