diff --git a/src/docker_modules/htseq/0.11.2/Dockerfile b/src/docker_modules/htseq/0.11.2/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..d9db9b1531282ad6bf91057c76a686c9cc707610 --- /dev/null +++ b/src/docker_modules/htseq/0.11.2/Dockerfile @@ -0,0 +1,18 @@ + +FROM ubuntu:18.04 +MAINTAINER Laurent Modolo + +ENV HTSEQ_VERSION=0.11.2 +ENV PACKAGES build-essential \ + python3-pip \ + python3-setuptools \ + python3-dev \ + python3-wheel + +RUN apt-get update && \ + apt-get install -y --no-install-recommends ${PACKAGES} && \ + apt-get clean + +RUN pip3 install numpy==1.14.3 +RUN pip3 install pysam==0.15.0 +RUN pip3 install HTSeq==${HTSEQ_VERSION} diff --git a/src/docker_modules/htseq/0.11.2/docker_init.sh b/src/docker_modules/htseq/0.11.2/docker_init.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d173e17b200c47cda37e22fa3d721c1a09a4c79 --- /dev/null +++ b/src/docker_modules/htseq/0.11.2/docker_init.sh @@ -0,0 +1,2 @@ +#!/bin/sh +docker build src/docker_modules/htseq/0.11.2 -t 'htseq:0.11.2' diff --git a/src/nf_modules/htseq/htseq.config b/src/nf_modules/htseq/htseq.config index 9e0a4e579b78773190df476f902bc294243e4d6b..30646614ba5baef156f337ca61b4061cc4031b49 100644 --- a/src/nf_modules/htseq/htseq.config +++ b/src/nf_modules/htseq/htseq.config @@ -8,7 +8,7 @@ profiles { cpus = 1 } withName: counting { - container = "htseq:0.8.0" + container = "htseq:0.11.2" cpus = 1 } } @@ -17,7 +17,7 @@ profiles { singularity.enabled = true process { withName: sort_bam { - container = "file://bin/htseq:0.8.0.sif" + container = "file://bin/htseq:0.11.2.sif" cpus = 1 } } @@ -36,7 +36,7 @@ profiles { } withName: trimming { beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules" - module = "htseq/0.8.0" + module = "htseq/0.11.2" executor = "sge" clusterOptions = "-cwd -V" cpus = 1 diff --git a/src/psmn_modules b/src/psmn_modules index d8bbe9f5b5fa9d4f42d073e87b2e237c1f140f88..5d8170aa039744a50c6cf967aabb3c2196efa7d9 160000 --- a/src/psmn_modules +++ b/src/psmn_modules @@ -1 +1 @@ -Subproject commit d8bbe9f5b5fa9d4f42d073e87b2e237c1f140f88 +Subproject commit 5d8170aa039744a50c6cf967aabb3c2196efa7d9 diff --git a/src/singularity_modules/htseq/0.11.2/build.sh b/src/singularity_modules/htseq/0.11.2/build.sh new file mode 100755 index 0000000000000000000000000000000000000000..1c3c8170a944815df67c3157123737e7839cc10a --- /dev/null +++ b/src/singularity_modules/htseq/0.11.2/build.sh @@ -0,0 +1,3 @@ +#/bin/sh +sudo singularity build --force bin/htseq:0.11.2.sif src/singularity_modules/htseq/0.11.2/htseq.def && \ +singularity sign bin/htseq:0.11.2.sif diff --git a/src/singularity_modules/htseq/0.11.2/htseq.def b/src/singularity_modules/htseq/0.11.2/htseq.def new file mode 100644 index 0000000000000000000000000000000000000000..ad74ee9203d9fe908555f6de75b320eda4638e6e --- /dev/null +++ b/src/singularity_modules/htseq/0.11.2/htseq.def @@ -0,0 +1,27 @@ +Bootstrap: docker +From: ubuntu:18.04 + +%labels +MAINTAINER Laurent Modolo + +%post +HTSEQ_VERSION=0.11.2 +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.11.2 + +%runscript +exec /bin/bash "$@"