diff --git a/src/singularity_modules/umi_tools/1.0.0/build.sh b/src/singularity_modules/umi_tools/1.0.0/build.sh new file mode 100755 index 0000000000000000000000000000000000000000..b9781cb9d59992321bcb07fe82329e99674f9e08 --- /dev/null +++ b/src/singularity_modules/umi_tools/1.0.0/build.sh @@ -0,0 +1,3 @@ +#/bin/sh +sudo singularity build --force bin/umi_tools:1.0.0.sif src/singularity_modules/umi_tools/1.0.0/umi_tools.def && \ +singularity sign bin/umi_tools:1.0.0.sif diff --git a/src/singularity_modules/umi_tools/1.0.0/umi_tools.def b/src/singularity_modules/umi_tools/1.0.0/umi_tools.def new file mode 100644 index 0000000000000000000000000000000000000000..c4beca1affa2d88b7067fc4b20b0720212386096 --- /dev/null +++ b/src/singularity_modules/umi_tools/1.0.0/umi_tools.def @@ -0,0 +1,26 @@ +Bootstrap: docker +From: debian:stretch + +%labels +MAINTAINER Laurent Modolo + +%post +UMI_TOOLS_VERSION=1.0.0 +PACKAGES="bash \ + python3 \ + python3-dev \ + python3-pip \ + gcc" + +apt-get update && \ +apt-get install -y --no-install-recommends ${PACKAGES} && \ +apt-get clean + +pip3 install setuptools +pip3 install umi_tools==${UMI_TOOLS_VERSION} + +%environment +export UMI_TOOLS_VERSION=1.0.0 + +%runscript +exec /bin/bash "$@"