6679 |
19 Apr 22 |
nicklas |
Bootstrap: library |
6679 |
19 Apr 22 |
nicklas |
From: library/default/rockylinux:8.4 |
6679 |
19 Apr 22 |
nicklas |
3 |
|
6679 |
19 Apr 22 |
nicklas |
%post |
6686 |
21 Apr 22 |
nicklas |
yum -y install wget unzip tar bzip2 hostname |
6679 |
19 Apr 22 |
nicklas |
6 |
|
6679 |
19 Apr 22 |
nicklas |
## Minconda |
6679 |
19 Apr 22 |
nicklas |
mkdir -p /download |
6679 |
19 Apr 22 |
nicklas |
9 |
|
6679 |
19 Apr 22 |
nicklas |
## Choose a version of Miniconda below!! |
6679 |
19 Apr 22 |
nicklas |
11 |
## ------------------------------------- |
6679 |
19 Apr 22 |
nicklas |
12 |
|
6679 |
19 Apr 22 |
nicklas |
## Minconda 4.2 with Python 3.5 -- works with Bowtie2 2.2.8 and Hisat2 2.2.1 |
6679 |
19 Apr 22 |
nicklas |
# wget https://repo.anaconda.com/miniconda/Miniconda3-4.2.12-Linux-x86_64.sh -O /download/miniconda.sh |
6679 |
19 Apr 22 |
nicklas |
15 |
|
6679 |
19 Apr 22 |
nicklas |
## Minconda 4.5 with Python 3.6 |
6679 |
19 Apr 22 |
nicklas |
# wget https://repo.anaconda.com/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh -O /download/minconda.sh |
6679 |
19 Apr 22 |
nicklas |
18 |
|
6679 |
19 Apr 22 |
nicklas |
## Minconda 4.11 with Python 3.7 |
6679 |
19 Apr 22 |
nicklas |
# wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.11.0-Linux-x86_64.sh -O /download/miniconda.sh |
6679 |
19 Apr 22 |
nicklas |
21 |
|
6679 |
19 Apr 22 |
nicklas |
## Minconda 4.11 with Python 3.9 |
6679 |
19 Apr 22 |
nicklas |
wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.11.0-Linux-x86_64.sh -O /download/miniconda.sh |
6679 |
19 Apr 22 |
nicklas |
24 |
|
6679 |
19 Apr 22 |
nicklas |
bash /download/miniconda.sh -b -p /miniconda |
6679 |
19 Apr 22 |
nicklas |
PATH=/miniconda/bin:$PATH |
6679 |
19 Apr 22 |
nicklas |
conda config --add channels defaults |
6679 |
19 Apr 22 |
nicklas |
conda config --add channels bioconda |
6679 |
19 Apr 22 |
nicklas |
conda config --add channels conda-forge |
6679 |
19 Apr 22 |
nicklas |
30 |
|
6679 |
19 Apr 22 |
nicklas |
31 |
|
6679 |
19 Apr 22 |
nicklas |
%environment |
6679 |
19 Apr 22 |
nicklas |
export PATH=/miniconda/bin:$PATH |
6679 |
19 Apr 22 |
nicklas |
34 |
|
6679 |
19 Apr 22 |
nicklas |
%test |
6686 |
21 Apr 22 |
nicklas |
echo "Host : `hostname 2>&1`" |
6679 |
19 Apr 22 |
nicklas |
echo "OS : `cat /etc/os-release | grep PRETTY_NAME | cut -d '"' -f 2`" |
6685 |
20 Apr 22 |
nicklas |
echo "Miniconda : `conda --version 2>&1`" |
6679 |
19 Apr 22 |
nicklas |
echo "Python : `python --version 2>&1`" |
6679 |
19 Apr 22 |
nicklas |
40 |
|
6679 |
19 Apr 22 |
nicklas |
%labels |
6679 |
19 Apr 22 |
nicklas |
Author Nicklas Nordborg |
6679 |
19 Apr 22 |
nicklas |
43 |
|
6679 |
19 Apr 22 |
nicklas |
%help |
6679 |
19 Apr 22 |
nicklas |
A Rocky 8.4 installation with Miniconda. |
6679 |
19 Apr 22 |
nicklas |
46 |
|