Skip to content

Commit

Permalink
add bwa-mem2 to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dozy committed Jul 12, 2024
1 parent 36d66d7 commit bf5c9e8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ARG BASE_IMAGE=ubuntu:22.04
ARG BAMBI_VERSION="0.17.1"
ARG BIOBAMBAM2_VERSION="2.0.185-release-20221211202123"
ARG BWA_VERSION="0.7.18"
ARG BWA_MEM2_VERSION="2.2.1"
ARG DEFLATE_VERSION="1.20"
ARG HTSLIB_VERSION="1.20"
ARG IO_LIB_VERSION="1.15.0"
Expand Down Expand Up @@ -127,6 +128,17 @@ RUN curl -sSL -O "https://github.com/lh3/bwa/archive/refs/tags/v${BWA_VERSION}.t
chmod +x /usr/local/bin/bwa && \
ln -s /usr/local/bin/bwa /usr/local/bin/bwa0_6

ARG BWA_MEM2_VERSION
RUN curl -sSL -O "https://github.com/bwa-mem2/bwa-mem2/releases/download/v${BWA_MEM2_VERSION}/bwa-mem2-${BWA_MEM2_VERSION}_x64-linux.tar.bz2" && \
tar xfj ./bwa-mem2-${BWA_MEM2_VERSION}_x64-linux.tar.bz2 && \
cd ./bwa-mem2-${BWA_MEM2_VERSION}_x64-linux && \
cp ./bwa-mem2 /usr/local/bin/ && \
cp ./bwa-mem2.avx /usr/local/bin/ && \
cp ./bwa-mem2.avx2 /usr/local/bin/ && \
cp ./bwa-mem2.avx512bw /usr/local/bin/ && \
cp ./bwa-mem2.sse41 /usr/local/bin/ && \
cp ./bwa-mem2.sse42 /usr/local/bin/

ARG BAMBI_VERSION
RUN git clone --single-branch --branch="$BAMBI_VERSION" --depth=1 "https://github.com/wtsi-npg/bambi.git" && \
cd bambi && \
Expand Down

0 comments on commit bf5c9e8

Please sign in to comment.