Skip to content

Commit

Permalink
downgrade bwa version to 0.7.17 (from 0.7.18) to match current DD pro…
Browse files Browse the repository at this point in the history
…duction version of bwa

move time-consuming libmaus2 library build further down the list
  • Loading branch information
dozy committed Oct 11, 2024
1 parent a876d42 commit 937eb29
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG BASE_IMAGE=ubuntu:22.04

ARG BAMBI_VERSION="0.18.0"
ARG BIOBAMBAM2_VERSION="2.0.185-release-20221211202123"
ARG BWA_VERSION="0.7.18"
ARG BWA_VERSION="0.7.17"
ARG BWA_MEM2_VERSION="2.2.1"
ARG DEFLATE_VERSION="1.20"
ARG HTSLIB_VERSION="1.21"
Expand Down Expand Up @@ -82,21 +82,6 @@ RUN SLUG=$(echo ${IO_LIB_VERSION} | tr '.' '-') && \
make -j $(nproc) install && \
ldconfig

ARG LIBMAUS2_VERSION
RUN curl -sSL -O "https://gitlab.com/german.tischler/libmaus2/-/archive/${LIBMAUS2_VERSION}/libmaus2-${LIBMAUS2_VERSION}.tar.bz2" && \
tar xfj libmaus2-${LIBMAUS2_VERSION}.tar.bz2 && \
cd libmaus2-${LIBMAUS2_VERSION} && \
./configure --prefix=/usr/local --with-io_lib --with-nettle && \
make -j $(nproc) install && \
ldconfig

ARG BIOBAMBAM2_VERSION
RUN curl -sSL -O "https://gitlab.com/german.tischler/biobambam2/-/archive/${BIOBAMBAM2_VERSION}/biobambam2-${BIOBAMBAM2_VERSION}.tar.bz2" && \
tar xfj biobambam2-${BIOBAMBAM2_VERSION}.tar.bz2 && \
cd biobambam2-${BIOBAMBAM2_VERSION} && \
./configure && \
make -j $(nproc) install

ARG TEEPOT_VERSION
RUN curl -sSL -O "https://github.com/wtsi-npg/teepot/releases/download/${TEEPOT_VERSION}/teepot-${TEEPOT_VERSION}.tar.gz" && \
tar xzf teepot-${TEEPOT_VERSION}.tar.gz && \
Expand All @@ -121,9 +106,10 @@ RUN curl -sSL -O "https://github.com/samtools/samtools/releases/download/${SAMTO

ARG BWA_VERSION
RUN curl -sSL -O "https://github.com/lh3/bwa/archive/refs/tags/v${BWA_VERSION}.tar.gz" && \
tar xzf v${BWA_VERSION}.tar.gz && \
cd bwa-${BWA_VERSION} && \
make -j $(nproc) && \
tar xzvf ./v${BWA_VERSION}.tar.gz && \
cd ./bwa-${BWA_VERSION} && \
pwd && \
make CC='gcc -fcommon' -j $(nproc) && \
cp ./bwa /usr/local/bin/ && \
chmod +x /usr/local/bin/bwa && \
ln -s /usr/local/bin/bwa /usr/local/bin/bwa0_6
Expand All @@ -146,6 +132,20 @@ RUN git clone --single-branch --branch="$BAMBI_VERSION" --depth=1 "https://githu
./configure && \
make -j $(nproc) install

ARG LIBMAUS2_VERSION
RUN curl -sSL -O "https://gitlab.com/german.tischler/libmaus2/-/archive/${LIBMAUS2_VERSION}/libmaus2-${LIBMAUS2_VERSION}.tar.bz2" && \
tar xfj libmaus2-${LIBMAUS2_VERSION}.tar.bz2 && \
cd libmaus2-${LIBMAUS2_VERSION} && \
./configure --prefix=/usr/local --with-io_lib --with-nettle && \
make -j $(nproc) install && \
ldconfig

ARG BIOBAMBAM2_VERSION
RUN curl -sSL -O "https://gitlab.com/german.tischler/biobambam2/-/archive/${BIOBAMBAM2_VERSION}/biobambam2-${BIOBAMBAM2_VERSION}.tar.bz2" && \
tar xfj biobambam2-${BIOBAMBAM2_VERSION}.tar.bz2 && \
cd biobambam2-${BIOBAMBAM2_VERSION} && \
./configure && \
make -j $(nproc) install

ARG PCAP_CORE_VERSION
RUN git clone --single-branch --branch="$PCAP_CORE_VERSION" --depth=1 "https://github.com/cancerit/PCAP-core.git" && \
Expand Down

0 comments on commit 937eb29

Please sign in to comment.