-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fa6685
commit 41a7a4e
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# see https://github.com/cambiotraining/hpc-intro/issues/46 | ||
|
||
# backup bashrc | ||
cp ~/.bashrc ~/.bashrc_bkp | ||
|
||
# unzip data to hpc-work | ||
unzip ~/rds/rds-introhpc/data.zip -d ~/rds/hpc-work/hpc_workshop | ||
|
||
# install mamba | ||
bash ~/rds/rds-introhpc/Miniforge3-$(uname)-$(uname -m).sh -b -p $HOME/miniforge3 | ||
$HOME/miniforge3/bin/mamba init | ||
source ~/.bashrc | ||
conda config --add channels defaults; conda config --add channels bioconda; conda config --add channels conda-forge | ||
conda config --set remote_read_timeout_secs 1000 | ||
|
||
# set R up | ||
mamba install -y -n base r-argparse==2.2.2 | ||
|
||
# additional conda environments | ||
mamba create -y -n scipy scipy==1.12.0 numpy==1.26.4 matplotlib==3.8.3 | ||
mamba create -y -n mapping bowtie2==2.5.3 |