From ebf79d0c066e1e738a733208bbdf064c7b21215d Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent.modolo@ens-lyon.fr> Date: Tue, 5 Mar 2019 13:25:09 +0100 Subject: [PATCH] tophat: add singularity files --- src/singularity_modules/tophat/2.1.1/build.sh | 3 +++ .../tophat/2.1.1/tophat.def | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100755 src/singularity_modules/tophat/2.1.1/build.sh create mode 100644 src/singularity_modules/tophat/2.1.1/tophat.def diff --git a/src/singularity_modules/tophat/2.1.1/build.sh b/src/singularity_modules/tophat/2.1.1/build.sh new file mode 100755 index 0000000..07f2748 --- /dev/null +++ b/src/singularity_modules/tophat/2.1.1/build.sh @@ -0,0 +1,3 @@ +#/bin/sh +sudo singularity build --force bin/tophat:2.1.1.sif src/singularity_modules/tophat/2.1.1/tophat.def +singularity sign bin/tophat:2.1.1.sif diff --git a/src/singularity_modules/tophat/2.1.1/tophat.def b/src/singularity_modules/tophat/2.1.1/tophat.def new file mode 100644 index 0000000..c683ba3 --- /dev/null +++ b/src/singularity_modules/tophat/2.1.1/tophat.def @@ -0,0 +1,19 @@ +Bootstrap: docker +From: ubuntu:18.04 + +%labels +MAINTAINER Laurent Modolo + +%post +TOPHAT_VERSION=2.1.1 +PACKAGES=tophat=${BOWTIE2_VERSION}* + +apt-get update && \ +apt-get install -y --no-install-recommends ${PACKAGES} && \ +apt-get clean + +%environment +export TOPHAT_VERSION=2.1.1 + +%runscript +exec /bin/bash "$@" -- GitLab