7272 |
30 Jun 23 |
nicklas |
Bootstrap: library |
7272 |
30 Jun 23 |
nicklas |
From: library/default/rockylinux:9.0 |
7272 |
30 Jun 23 |
nicklas |
3 |
|
7272 |
30 Jun 23 |
nicklas |
%post |
7272 |
30 Jun 23 |
nicklas |
yum -y install glibc-langpack-en libxcrypt-compat |
7272 |
30 Jun 23 |
nicklas |
yum -y install findutils wget unzip tar bzip2 hostname which |
7272 |
30 Jun 23 |
nicklas |
7 |
|
7272 |
30 Jun 23 |
nicklas |
## Minconda 23.1 with Python 3.10 |
7272 |
30 Jun 23 |
nicklas |
mkdir -p /download |
7272 |
30 Jun 23 |
nicklas |
wget https://repo.anaconda.com/miniconda/Miniconda3-py310_23.3.1-0-Linux-x86_64.sh -O /download/miniconda.sh |
7272 |
30 Jun 23 |
nicklas |
11 |
|
7272 |
30 Jun 23 |
nicklas |
bash /download/miniconda.sh -b -p /miniconda |
7272 |
30 Jun 23 |
nicklas |
PATH=/miniconda/bin:$PATH |
7272 |
30 Jun 23 |
nicklas |
conda config --add channels defaults |
7272 |
30 Jun 23 |
nicklas |
conda config --add channels bioconda |
7272 |
30 Jun 23 |
nicklas |
conda config --add channels conda-forge |
7272 |
30 Jun 23 |
nicklas |
17 |
|
7272 |
30 Jun 23 |
nicklas |
conda install -y \ |
7272 |
30 Jun 23 |
nicklas |
r-base=4.2.3 \ |
7272 |
30 Jun 23 |
nicklas |
r-devtools=2.4.5 \ |
7278 |
10 Aug 23 |
nicklas |
cancerit-allelecount=4.3.0 \ |
7272 |
30 Jun 23 |
nicklas |
bioconductor-genomicranges=1.50.0 |
7272 |
30 Jun 23 |
nicklas |
23 |
|
7341 |
11 Sep 23 |
nicklas |
## Install R packages |
7341 |
11 Sep 23 |
nicklas |
Rscript -e 'install.packages(c("argparser", "mousetrap"), repos="https://cloud.r-project.org/")' |
7341 |
11 Sep 23 |
nicklas |
26 |
|
7272 |
30 Jun 23 |
nicklas |
## Install our modified ASCAT 3.1.2 (but do not update other modules) |
7272 |
30 Jun 23 |
nicklas |
Rscript -e 'devtools::install_github("nnordborg/ascat/ASCAT@scanb", upgrade="never")' |
7272 |
30 Jun 23 |
nicklas |
29 |
|
7272 |
30 Jun 23 |
nicklas |
## Cleanup |
7272 |
30 Jun 23 |
nicklas |
rm -rf /download |
7272 |
30 Jun 23 |
nicklas |
conda clean -y --all |
7272 |
30 Jun 23 |
nicklas |
yum clean all |
7272 |
30 Jun 23 |
nicklas |
34 |
|
7272 |
30 Jun 23 |
nicklas |
%environment |
7272 |
30 Jun 23 |
nicklas |
export PATH=/miniconda/bin:$PATH |
7272 |
30 Jun 23 |
nicklas |
37 |
|
7272 |
30 Jun 23 |
nicklas |
%test |
7272 |
30 Jun 23 |
nicklas |
echo "Host : `hostname 2>&1`" |
7272 |
30 Jun 23 |
nicklas |
echo "OS : `cat /etc/os-release | grep PRETTY_NAME | cut -d '"' -f 2`" |
7341 |
11 Sep 23 |
nicklas |
echo "ASCAT : `Rscript -e 'packageDescription("ASCAT")' | grep Version | cut -d ' ' -f 2` (SCAN-B fork)" |
7272 |
30 Jun 23 |
nicklas |
echo "AlleleCounter : `alleleCounter --version`" |
7272 |
30 Jun 23 |
nicklas |
echo "R : `R --version 2>&1 | head -1`" |
7272 |
30 Jun 23 |
nicklas |
echo "Miniconda : `conda --version 2>&1`" |
7272 |
30 Jun 23 |
nicklas |
echo "Python : `python --version 2>&1`" |
7272 |
30 Jun 23 |
nicklas |
46 |
|
7272 |
30 Jun 23 |
nicklas |
47 |
|
7272 |
30 Jun 23 |
nicklas |
%labels |
7272 |
30 Jun 23 |
nicklas |
Author Nicklas Nordborg |
7272 |
30 Jun 23 |
nicklas |
50 |
|
7272 |
30 Jun 23 |
nicklas |
%help |
7272 |
30 Jun 23 |
nicklas |
A container with a modified version of ASCAT 3.1.2. |
7272 |
30 Jun 23 |
nicklas |
53 |
|
7272 |
30 Jun 23 |
nicklas |
singularity test <container.sif> |
7272 |
30 Jun 23 |
nicklas |
55 |
|