-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM ubuntu:22.04 | ||
MAINTAINER Lukas Forer <[email protected]> / Sebastian Schönherr <[email protected]> | ||
LABEL Lukas Forer <[email protected]> / Sebastian Schönherr <[email protected]> | ||
|
||
# Install compilers | ||
RUN apt-get update && \ | ||
|
@@ -31,12 +31,12 @@ WORKDIR "/opt" | |
RUN wget https://faculty.washington.edu/browning/beagle/beagle.${BEAGLE_VERSION}.jar && \ | ||
mv beagle.${BEAGLE_VERSION}.jar /usr/bin/. | ||
|
||
|
||
# Install bcftools | ||
ENV BCFTOOLS_VERSION=1.13 | ||
WORKDIR "/opt" | ||
RUN wget https://github.com/samtools/bcftools/releases/download/${BCFTOOLS_VERSION}/bcftools-${BCFTOOLS_VERSION}.tar.bz2 && \ | ||
tar xvfj bcftools-${BCFTOOLS_VERSION}.tar.bz2 && \ | ||
rm bcftools-${BCFTOOLS_VERSION}.tar.bz2 && \ | ||
cd bcftools-${BCFTOOLS_VERSION} && \ | ||
./configure && \ | ||
make && \ | ||
|
@@ -49,33 +49,31 @@ COPY files/bin/minimac4 minimac4/. | |
ENV PATH="/opt/minimac4:${PATH}" | ||
RUN chmod +x /opt/minimac4/minimac4 | ||
|
||
|
||
# Install PGS-CALC | ||
ENV PGS_CALC_VERSION="1.5.5" | ||
RUN mkdir /opt/pgs-calc | ||
WORKDIR "/opt/pgs-calc" | ||
RUN wget https://github.com/lukfor/pgs-calc/releases/download/v${PGS_CALC_VERSION}/pgs-calc-${PGS_CALC_VERSION}.tar.gz && \ | ||
tar -xf pgs-calc-*.tar.gz | ||
tar -xf pgs-calc-*.tar.gz && \ | ||
rm pgs-calc-*.tar.gz | ||
ENV PATH="/opt/pgs-calc:${PATH}" | ||
|
||
|
||
|
||
# Install imputationserver-utils | ||
ENV IMPUTATIONSERVER_UTILS_VERSION=v1.2.1 | ||
RUN mkdir /opt/imputationserver-utils | ||
WORKDIR "/opt/imputationserver-utils" | ||
RUN wget https://github.com/genepi/imputationserver-utils/releases/download/${IMPUTATIONSERVER_UTILS_VERSION}/imputationserver-utils.tar.gz | ||
#COPY files/bin/imputationserver-utils.tar.gz /opt/imputationserver-utils/. | ||
RUN tar xvfz imputationserver-utils.tar.gz | ||
RUN chmod +x /opt/imputationserver-utils/bin/tabix | ||
|
||
RUN wget https://github.com/genepi/imputationserver-utils/releases/download/${IMPUTATIONSERVER_UTILS_VERSION}/imputationserver-utils.tar.gz && \ | ||
tar xvfz imputationserver-utils.tar.gz && \ | ||
rm imputationserver-utils.tar.gz && \ | ||
chmod +x /opt/imputationserver-utils/bin/tabix | ||
|
||
# Install ccat | ||
ENV CCAT_VERSION=1.1.0 | ||
RUN wget https://github.com/jingweno/ccat/releases/download/v${CCAT_VERSION}/linux-amd64-${CCAT_VERSION}.tar.gz | ||
RUN tar xfz linux-amd64-${CCAT_VERSION}.tar.gz | ||
RUN cp linux-amd64-${CCAT_VERSION}/ccat /usr/local/bin/ | ||
RUN chmod +x /usr/local/bin/ccat | ||
RUN wget https://github.com/jingweno/ccat/releases/download/v${CCAT_VERSION}/linux-amd64-${CCAT_VERSION}.tar.gz && \ | ||
tar xfz linux-amd64-${CCAT_VERSION}.tar.gz && \ | ||
rm linux-amd64-${CCAT_VERSION}.tar.gz && \ | ||
cp linux-amd64-${CCAT_VERSION}/ccat /usr/local/bin/ && \ | ||
chmod +x /usr/local/bin/ccat | ||
|
||
# Needed, because imputationserver-utils starts process (e.g. tabix) | ||
ENV JAVA_TOOL_OPTIONS="-Djdk.lang.Process.launchMechanism=vfork" | ||
|