From bd597312e480ae3f5fffae903cbff14376228648 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent@modolo.fr>
Date: Wed, 20 Mar 2019 10:07:27 +0100
Subject: [PATCH] add singularity files for macs2

---
 src/singularity_modules/macs2/2.1.2/macs2.def | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 src/singularity_modules/macs2/2.1.2/macs2.def

diff --git a/src/singularity_modules/macs2/2.1.2/macs2.def b/src/singularity_modules/macs2/2.1.2/macs2.def
new file mode 100644
index 00000000..0b56223a
--- /dev/null
+++ b/src/singularity_modules/macs2/2.1.2/macs2.def
@@ -0,0 +1,28 @@
+Bootstrap: docker
+From: ubuntu:18.04
+%labels
+MAINTAINER Laurent Modolo
+%post
+
+MACS_VERSION=2.1.2
+PACKAGES="git \
+build-essential \
+python-pip \
+ca-certificates \
+python-setuptools \
+python-dev \
+python-numpy \
+python-wheel \
+zlib1g-dev"
+
+apt-get update && \
+apt-get install -y --no-install-recommends ${PACKAGES} && \
+apt-get clean
+
+pip install MACS2==${MACS_VERSION}
+
+%environment
+export MACS_VERSION=2.1.1.20160309
+
+%runscript
+exec /bin/bash "$@"
-- 
GitLab