definition files for my conda environments
See also my conda cheat sheet!
Most environments can be installed with simple:
conda env create --file env.yml
# or
mamba env create --file env.ymlSome environments need special instructions, see below.
condabase env with two flavours - HPC and PC (aka remote and localhost, resp.)
Since these are base environments, they cannot be created using these files, as base already exists and conda will throw an error. Instead, these files can be used for updating the base env (e.g. after fresh install):
conda-env update -f base-*pc.yml # --prune will remove unused dependenciesinstall
admixtools2in a newcondaenvironment
Create a new environment as described in the conda docs, activate it, and start R:
# create environment
$ conda-env create -f admix.yml
# activate environment
$ conda activate admix
# start R
$ RAfter launching R inside the new environment, install admixtools2 by running the following:
> remotes::install_github("uqrmaie1/admixtools", dependencies = TRUE)
# or with devtools
# devtools::install_github("uqrmaie1/admixtools", dependencies = TRUE)Finally, import admixtools2:
> library(admixtools)Have fun 😉