Skip to content

Commit

Permalink
Adding bedtools and the Biscuit shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Sai Mukund Ramakrishnan committed Apr 9, 2019
1 parent fd6372c commit 7e3dd4a
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
FROM zhouwanding/biscuit_v0.3.8
MAINTAINER "Chris Miller" <[email protected]>

####################
#Biscuit QC scripts#
####################
RUN cd /opt && \
git clone https://github.com/zwdzwd/biscuit.git

##############
#HTSlib 1.3.2#
##############
ENV HTSLIB_INSTALL_DIR=/opt/htslib

WORKDIR /tmp
RUN wget https://github.com/samtools/htslib/releases/download/1.3.2/htslib-1.3.2.tar.bz2 && \
tar --bzip2 -xvf htslib-1.3.2.tar.bz2 && \
Expand All @@ -26,3 +31,27 @@ RUN mkdir /opt/sambamba/ \
ADD sambamba_merge /usr/bin/
RUN chmod +x /usr/bin/sambamba_merge


##########
#Bedtools#
##########

ARG PACKAGE_VERSION=2.27.1
ARG BUILD_PACKAGES="git openssl python build-essential zlib1g-dev"
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install --yes \
$BUILD_PACKAGES && \
cd /tmp && \
git clone https://github.com/arq5x/bedtools2.git && \
cd bedtools2 && \
git checkout v$PACKAGE_VERSION && \
make && \
mv bin/* /usr/local/bin && \
cd / && \
rm -rf /tmp/* && \
apt remove --purge --yes \
$BUILD_PACKAGES && \
apt autoremove --purge --yes && \
apt clean && \
rm -rf /var/lib/apt/lists/*

0 comments on commit 7e3dd4a

Please sign in to comment.