From 2825f33ded98415fbd5bac31c6c74a3618b999a9 Mon Sep 17 00:00:00 2001 From: Cedric Date: Sun, 2 Oct 2022 19:15:59 -1000 Subject: [PATCH] conda env setup improvement --- docs/mana.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/mana.md b/docs/mana.md index 030749c..d3c3230 100644 --- a/docs/mana.md +++ b/docs/mana.md @@ -29,10 +29,10 @@ To setup nextflow on your account, follow these steps. ```bash # Load the latest anaconda3 module -module load lang/Anaconda3 +module load lang/Anaconda3/2022.05 # Initialize environment -. /opt/apps/software/lang/Anaconda3/5.1.0/etc/profile.d/conda.sh +. $(conda info --base)/etc/profile.d/conda.sh # Install nextflow (here in base environment, but you can create a new one if you'd like) conda install -c bioconda nextflow @@ -41,6 +41,6 @@ conda install -c bioconda nextflow If you want these settings to be persistent, you can add the first 2 commands in your .bash_profile file like this: ```bash -echo "module load lang/Anaconda3" >> ~/.bash_profile -echo ". /opt/apps/software/lang/Anaconda3/5.1.0/etc/profile.d/conda.sh >> ~/.bash_profile" -``` \ No newline at end of file +echo "module load lang/Anaconda3/2022.05" >> ~/.bash_profile +echo "$(conda info --base)/etc/profile.d/conda.sh" >> ~/.bash_profile +```