From ceabe4271ca1b6bcc760f1948a277642764ef85b Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent.modolo@ens-lyon.fr> Date: Mon, 4 Mar 2019 15:45:24 +0100 Subject: [PATCH] htseq: add singularity files --- src/singularity_modules/htseq/0.8.0/build.sh | 3 +++ src/singularity_modules/htseq/0.8.0/htseq.def | 27 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100755 src/singularity_modules/htseq/0.8.0/build.sh create mode 100644 src/singularity_modules/htseq/0.8.0/htseq.def diff --git a/src/singularity_modules/htseq/0.8.0/build.sh b/src/singularity_modules/htseq/0.8.0/build.sh new file mode 100755 index 00000000..f5fe19ae --- /dev/null +++ b/src/singularity_modules/htseq/0.8.0/build.sh @@ -0,0 +1,3 @@ +#/bin/sh +sudo singularity build --force bin/htseq:0.8.0.sif src/singularity_modules/htseq/0.8.0/htseq.def +singularity sign bin/htseq:0.8.0.sif diff --git a/src/singularity_modules/htseq/0.8.0/htseq.def b/src/singularity_modules/htseq/0.8.0/htseq.def new file mode 100644 index 00000000..d315b301 --- /dev/null +++ b/src/singularity_modules/htseq/0.8.0/htseq.def @@ -0,0 +1,27 @@ +Bootstrap: docker +From: ubuntu:18.04 + +%labels +MAINTAINER Laurent Modolo + +%post +HTSEQ_VERSION=0.8.0 +PACKAGES="build-essential \ +python3-pip \ +python3-setuptools \ +python3-dev \ +python3-wheel" + +apt-get update && \ +apt-get install -y --no-install-recommends ${PACKAGES} && \ +apt-get clean + +pip3 install numpy==1.14.3 +pip3 install pysam==0.15.0 +pip3 install HTSeq==${HTSEQ_VERSION} + +%environment +export HTSEQ_VERSION=0.8.0 + +%runscript +exec /bin/bash "$@" -- GitLab