diff --git a/docker/hmftools/Dockerfile b/docker/hmftools/Dockerfile deleted file mode 100644 index eabaac6..0000000 --- a/docker/hmftools/Dockerfile +++ /dev/null @@ -1,37 +0,0 @@ -FROM --platform=linux/amd64 nciccbr/ccbr_ubuntu_base_20.04:v5 - -# build time variables -ARG BUILD_DATE="000000" -ENV BUILD_DATE=${BUILD_DATE} -ARG BUILD_TAG="000000" -ENV BUILD_TAG=${BUILD_TAG} -ARG REPONAME="000000" -ENV REPONAME=${REPONAME} - -LABEL maintainer - -# Create Container filesystem specific -# working directory and opt directories -WORKDIR /opt2 - -# This section installs system packages required for your project -# If you need extra system packages add them here. -# python/3.8.0 and python/2.7.16 (strelka and manta) -RUN apt-get update \ - && apt-get -y upgrade \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y \ - bc - - -# HMFtools for PURPLE/COBALT/AMBER -RUN wget https://github.com/hartwigmedical/hmftools/releases/download/amber-v4.0/amber-4.0.jar \ - && wget https://github.com/hartwigmedical/hmftools/releases/download/cobalt-v1.16/cobalt_v1.16.jar \ - && wget https://github.com/hartwigmedical/hmftools/releases/download/purple-v4.0/purple_v4.0.jar \ - && wget https://github.com/hartwigmedical/hmftools/releases/download/sage-v3.4/sage_v3.4.jar \ - && mkdir hmftools \ - && mv amber-4.0.jar hmftools/amber.jar \ - && mv cobalt_v1.16.jar hmftools/cobalt.jar \ - && mv purple_v4.0.jar hmftools/purple.jar \ - && mv sage.v3.4.jar hmftools/sage.jar \ - && chmod a+x hmftools/amber.jar -ENV PATH="/opt2/hmftools:$PATH" \ No newline at end of file diff --git a/docker/hmftools/build.sh b/docker/hmftools/build.sh deleted file mode 100644 index 7a3c599..0000000 --- a/docker/hmftools/build.sh +++ /dev/null @@ -1,11 +0,0 @@ -# Build image - -docker build --platform linux/amd64 --tag ccbr_logan_hmftools:v0.0.1 -f Dockerfile . - -docker tag ccbr_logan_hmftools:v0.0.1 dnousome/ccbr_logan_hmftools:v0.0.1 -docker push dnousome/ccbr_logan_hmftools:v0.0.1 - -docker push dnousome/ccbr_logan_hmftools:latest - - - diff --git a/docker/hmftools/meta.yml b/docker/hmftools/meta.yml deleted file mode 100644 index 6424d42..0000000 --- a/docker/hmftools/meta.yml +++ /dev/null @@ -1,4 +0,0 @@ -dockerhub_namespace: dnousome -image_name: ccbr_logan_hmftools -version: v0.0.1 -container: "$(dockerhub_namespace)/$(image_name):$(version)" diff --git a/docker/logan_base/Dockerfile b/docker/logan_base/Dockerfile index 07ff7dc..b60fadc 100644 --- a/docker/logan_base/Dockerfile +++ b/docker/logan_base/Dockerfile @@ -213,6 +213,18 @@ RUN wget -O muse_2.0.4.tar.gz https://github.com/wwylab/MuSE/archive/refs/tags/v ENV PATH="/opt2/MuSE:$PATH" +# HMFtools for PURPLE/COBALT/AMBER +RUN wget https://github.com/hartwigmedical/hmftools/releases/download/amber-v4.0/amber-4.0.jar \ + && wget https://github.com/hartwigmedical/hmftools/releases/download/cobalt-v1.16/cobalt_v1.16.jar \ + && wget https://github.com/hartwigmedical/hmftools/releases/download/purple-v4.0/purple_v4.0.jar \ + && wget https://github.com/hartwigmedical/hmftools/releases/download/sage-v3.4/sage_v3.4.jar \ + && mkdir hmftools \ + && mv amber-4.0.jar hmftools/amber.jar \ + && mv cobalt_v1.16.jar hmftools/cobalt.jar \ + && mv purple_v4.0.jar hmftools/purple.jar \ + && mv sage.v3.4.jar hmftools/sage.jar \ + && chmod a+x hmftools/amber.jar +ENV PATH="/opt2/hmftools:$PATH" # Add Dockerfile and argparse.bash script # and export environment variables