6872 |
16 Nov 22 |
nicklas |
Bootstrap: library |
6872 |
16 Nov 22 |
nicklas |
From: library/default/rockylinux:9.0 |
6872 |
16 Nov 22 |
nicklas |
3 |
|
6872 |
16 Nov 22 |
nicklas |
%post |
6872 |
16 Nov 22 |
nicklas |
yum -y install glibc-langpack-en libxcrypt-compat libicu |
6872 |
16 Nov 22 |
nicklas |
yum -y install findutils wget unzip tar bzip2 hostname which |
6872 |
16 Nov 22 |
nicklas |
7 |
|
6872 |
16 Nov 22 |
nicklas |
## Minconda 4.12 with Python 3.9 |
6872 |
16 Nov 22 |
nicklas |
mkdir -p /download |
6872 |
16 Nov 22 |
nicklas |
wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.12.0-Linux-x86_64.sh -O /download/miniconda.sh |
6872 |
16 Nov 22 |
nicklas |
bash /download/miniconda.sh -b -p /miniconda |
6872 |
16 Nov 22 |
nicklas |
PATH=/miniconda/bin:$PATH |
6872 |
16 Nov 22 |
nicklas |
conda config --add channels defaults |
6872 |
16 Nov 22 |
nicklas |
conda config --add channels bioconda |
6872 |
16 Nov 22 |
nicklas |
conda config --add channels conda-forge |
6872 |
16 Nov 22 |
nicklas |
16 |
|
6872 |
16 Nov 22 |
nicklas |
## R with minfi package and other stuff. Works best to only specify |
6872 |
16 Nov 22 |
nicklas |
# the minfi version and let conda figure out the rest |
6872 |
16 Nov 22 |
nicklas |
conda install -y \ |
6872 |
16 Nov 22 |
nicklas |
bioconductor-minfi=1.44 \ |
6872 |
16 Nov 22 |
nicklas |
bioconductor-illuminahumanmethylationepicmanifest \ |
6872 |
16 Nov 22 |
nicklas |
bioconductor-illuminahumanmethylationepicanno.ilm10b4.hg19 |
6872 |
16 Nov 22 |
nicklas |
23 |
|
6872 |
16 Nov 22 |
nicklas |
24 |
|
6872 |
16 Nov 22 |
nicklas |
## Cleanup |
6872 |
16 Nov 22 |
nicklas |
rm -rf /download |
6872 |
16 Nov 22 |
nicklas |
conda clean -y --all |
6872 |
16 Nov 22 |
nicklas |
yum clean all |
6872 |
16 Nov 22 |
nicklas |
29 |
|
6872 |
16 Nov 22 |
nicklas |
%environment |
6872 |
16 Nov 22 |
nicklas |
export PATH=/miniconda/bin:$PATH |
6872 |
16 Nov 22 |
nicklas |
32 |
|
6872 |
16 Nov 22 |
nicklas |
%test |
6872 |
16 Nov 22 |
nicklas |
echo "Host : `hostname 2>&1`" |
6872 |
16 Nov 22 |
nicklas |
echo "OS : `cat /etc/os-release | grep PRETTY_NAME | cut -d '"' -f 2`" |
6872 |
16 Nov 22 |
nicklas |
echo "Miniconda : `conda --version 2>&1`" |
6872 |
16 Nov 22 |
nicklas |
echo "Python : `python --version 2>&1`" |
6872 |
16 Nov 22 |
nicklas |
echo "R : `R --version 2>&1 | head -1`" |
6872 |
16 Nov 22 |
nicklas |
echo "Minfi : `Rscript -e 'packageVersion("minfi")' 2>&1`" |
6872 |
16 Nov 22 |
nicklas |
40 |
|
6872 |
16 Nov 22 |
nicklas |
%labels |
6872 |
16 Nov 22 |
nicklas |
Author Nicklas Nordborg |
6872 |
16 Nov 22 |
nicklas |
43 |
|
6872 |
16 Nov 22 |
nicklas |
%help |
6872 |
16 Nov 22 |
nicklas |
A container with the tools that are needed for analysis of Epic850K data |
6872 |
16 Nov 22 |
nicklas |
with th minfi R package. Source data is expected to be IDAT files and various |
6883 |
23 Nov 22 |
nicklas |
other files with metadata about the Epic850K platform. Beta-values are saved |
6883 |
23 Nov 22 |
nicklas |
as compressed TSV files. To display versions of installed programs use: |
6872 |
16 Nov 22 |
nicklas |
49 |
|
6872 |
16 Nov 22 |
nicklas |
singularity test <container.sif> |