-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding bedtools and the Biscuit shell scripts
- 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.
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,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 && \ | ||
|
@@ -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/* |