From ff86558687b5cfff1b52f9918ec281cb4c5d028d Mon Sep 17 00:00:00 2001 From: Sebastian Jaenicke Date: Thu, 22 Sep 2022 16:13:19 +0200 Subject: [PATCH] there are some reproducibility issues with umi-tools; see e.g. https://github.com/CGATOxford/UMI-tools/pull/550 for now, manually apply the diff --- dockerfiles/dockerfile.umi-tools | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/dockerfiles/dockerfile.umi-tools b/dockerfiles/dockerfile.umi-tools index 5973469..5a71e60 100644 --- a/dockerfiles/dockerfile.umi-tools +++ b/dockerfiles/dockerfile.umi-tools @@ -6,8 +6,16 @@ LABEL tool.version="1.1.2" MAINTAINER Patrick Barth RUN apt-get update -y && \ - apt-get install -y gcc procps && \ - pip install umi-tools==1.1.2 && \ - apt-get purge -y gcc && \ + apt-get install -y gcc procps patch wget && \ + wget -q https://github.com/CGATOxford/UMI-tools/archive/refs/tags/1.1.2.tar.gz && \ + tar xzf 1.1.2.tar.gz && \ + cd UMI-tools-1.1.2 && \ + wget -q -O - https://patch-diff.githubusercontent.com/raw/CGATOxford/UMI-tools/pull/550.diff | patch -p1 && \ + python setup.py install && \ + cd .. && \ + rm -rf UMI-tools-1.1.2 1.1.2.tar.gz && \ + apt-get purge -y gcc patch wget && \ apt-get -y autoremove +CMD ["umi_tools"] +