Skip to content
Snippets Groups Projects
Verified Commit ec1d8657 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

docker: bwa replace sambamba with samtools

parent 0e7adae3
No related branches found
No related tags found
No related merge requests found
......@@ -4,14 +4,11 @@ MAINTAINER Laurent Modolo
ENV BWA_VERSION=0.7.17
ENV SAMBLASTER_VERSION=0.1.24
ENV PACKAGES curl=7.58* \
ca-certificates=20180409 \
build-essential=12.4* \
zlib1g-dev=1:1.2.11*
ENV PACKAGES curl \
g++
RUN apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \
apt-get clean
RUN apk update && \
apk add ${PACKAGES}
RUN curl -k -L https://github.com/lh3/bwa/releases/download/v${BWA_VERSION}/bwa-${BWA_VERSION}.tar.bz2 -o bwa-v${BWA_VERSION}.tar.bz2 && \
tar xjf bwa-v${BWA_VERSION}.tar.bz2 && \
......@@ -21,11 +18,3 @@ cp bwa /usr/bin && \
cd .. && \
rm -R bwa-${BWA_VERSION}/
RUN curl -k -L https://github.com/GregoryFaust/samblaster/releases/download/v.${SAMBLASTER_VERSION}/samblaster-v.${SAMBLASTER_VERSION}.tar.gz -o samblaster-v.${SAMBLASTER_VERSION}.tar.gz && \
tar xvf samblaster-v.${SAMBLASTER_VERSION}.tar.gz && \
cd samblaster-v.${SAMBLASTER_VERSION}/ && \
make && \
cp samblaster /usr/bin && \
cd .. && \
rm -R samblaster-v.${SAMBLASTER_VERSION}/
RUN chmod +x /usr/bin/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment