HugoMananet/GATK:gatk.4.0.11.0.def
$ singularity pull shub://HugoMananet/GATK:gatk.4.0.11.0.def
Singularity Recipe
#!/bin/bash
#
Bootstrap: docker
From: phusion/baseimage:0.10.2
%label
MAINTAINER Hugo Mananet
%environment
JAVA_LIBRARY_PATH=/usr/lib/jni
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
export JAVA_LIBRARY_PATH JAVA_HOME
PATH=/opt/conda/envs/gatk/bin:/opt/miniconda/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
export PATH
. /opt/miniconda/etc/profile.d/conda.sh
conda activate gatk
%files
install_R_packages.R
# gatk-4.0.11.0.zip
%post
mkdir /soft
mkdir /work
mkdir /user1
mkdir /user2
mkdir /tmp3
echo "\n\n######## Installing utilities needed by GATK 4.0.11.0 ########\n\n"
apt-get update && \
apt-get upgrade -y && \
apt-get install -y python && \
apt-get install -y wget \
unzip \
aria2 \
bedtools \
samtools \
openjdk-8-jdk \
tabix \
software-properties-common && \
apt-get -y clean && \
apt-get -y autoclean && \
apt-get -y autoremove
apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys E084DAB9 && \
add-apt-repository "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" && \
apt-get update && \
apt-get install -y --force-yes \
r-base-dev=3.2.5-1xenial \
r-base-core=3.2.5-1xenial && \
apt-get -y clean && \
apt-get -y autoremove && \
apt-get -y autoclean
Rscript install_R_packages.R
rm install_R_packages.R
echo "\n\n######## Installing the GATK 4.0.11.0 suite ########\n\n"
aria2c -m 20 -x 16 -s 16 https://github.com/broadinstitute/gatk/releases/download/4.0.11.0/gatk-4.0.11.0.zip
unzip gatk-4.0.11.0.zip
mv gatk-4.0.11.0/ /opt/
rm gatk-4.0.11.0.zip
ln -s /opt/gatk-4.0.11.0/gatk /usr/bin/gatk
ln -s /opt/gatk-package-4.0.11.0-local.jar /usr/bin/gatk-4.0.11.0.jar
aria2c -m 20 -x 16 -s 16 https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash -f Miniconda3-latest-Linux-x86_64.sh -b -p /opt/miniconda
PATH=/opt/conda/envs/gatk/bin:/opt/miniconda/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
export PATH
ln -s /opt/miniconda/etc/profile.d/conda.sh /etc/profile.d/conda.sh
conda env create -f /opt/gatk-4.0.11.0/gatkcondaenv.yml
%runscript
exec gatk "$@"
Collection
- Name: HugoMananet/GATK
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/HugoMananet-GATK-gatk.4.0.11.0.def |
collection name | HugoMananet/GATK |
branch | master |
tag | gatk.4.0.11.0.def |
commit | 51692051179b32161d27c3d8f7ddb29959282ab0 |
version (container hash) | e287b399f189c0b579c1b798d3813b46 |
build date | 2018-12-03T12:59:07.859Z |
size (MB) | 3967 |
size (bytes) | 1949691935 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.