-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #294 from mskcc/release/0.13.0
Release/0.13.0
- Loading branch information
Showing
4 changed files
with
65 additions
and
34 deletions.
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
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,32 +1,48 @@ | ||
FROM frolvlad/alpine-glibc:alpine-3.9 | ||
FROM ubuntu:18.04 | ||
|
||
LABEL maintainer="Nikhil Kumar ([email protected])" \ | ||
version.image="1.0.0" \ | ||
version.delly="0.7.7" \ | ||
version.htslib="1.6" \ | ||
version.bcftools="1.6" \ | ||
version.samtools="1.6" \ | ||
version.alpine="3.8" \ | ||
source.delly="https://github.com/dellytools/delly/releases/tag/v0.7.7" \ | ||
source.htslib="https://github.com/samtools/htslib/releases/tag/1.6" \ | ||
source.bcftools="https://github.com/samtools/bcftools/releases/tag/1.6" \ | ||
source.samtools="https://github.com/samtools/samtools/releases/tag/1.6" | ||
LABEL maintainer="Sinisa Ivkovic ([email protected])" \ | ||
version.ubuntu="18.04" \ | ||
version.delly="0.8.1" \ | ||
version.htslib="1.9" | ||
|
||
ENV DELLY_VERSION v0.8.1 | ||
# set the environment variables | ||
ENV delly_version 0.8.1 | ||
ENV htslib_version 1.9 | ||
|
||
# run update | ||
RUN apt-get update -y && apt-get install -y \ | ||
libnss-sss \ | ||
curl \ | ||
less \ | ||
vim \ | ||
wget \ | ||
unzip \ | ||
build-essential \ | ||
libboost-all-dev \ | ||
zlib1g-dev \ | ||
libncurses5-dev \ | ||
libncursesw5-dev \ | ||
libnss-sss \ | ||
libbz2-dev \ | ||
liblzma-dev \ | ||
bzip2 \ | ||
libcurl4-openssl-dev | ||
|
||
# set environment | ||
ENV BOOST_ROOT /usr | ||
ENV SEQTK_ROOT /opt/htslib | ||
|
||
RUN apk add --update --no-cache ncurses \ | ||
&& apk add --virtual=deps --update --no-cache ncurses-dev musl-dev git g++ make zlib-dev \ | ||
&& apk add bash build-base asciidoc bzip2-dev xz-dev boost-dev \ | ||
&& cd /opt \ | ||
# install delly | ||
&& cd /opt \ | ||
&& git clone --recursive https://github.com/dellytools/delly.git -b ${DELLY_VERSION} \ | ||
&& cd /opt/delly/ \ | ||
&& make all \ | ||
&& install -p /opt/delly/src/delly /usr/local/bin/ | ||
# install htslib | ||
WORKDIR /usr/local/bin/ | ||
RUN curl -SL https://github.com/samtools/htslib/releases/download/${htslib_version}/htslib-${htslib_version}.tar.bz2 \ | ||
> /usr/local/bin/htslib-${htslib_version}.tar.bz2 | ||
RUN tar -xjf /usr/local/bin/htslib-${htslib_version}.tar.bz2 -C /usr/local/bin/ | ||
RUN cd /usr/local/bin/htslib-${htslib_version}/ && ./configure | ||
RUN cd /usr/local/bin/htslib-${htslib_version}/ && make | ||
RUN cd /usr/local/bin/htslib-${htslib_version}/ && make install | ||
ENV LD_LIBRARY_PATH /usr/local/bin/htslib-${htslib_version}/ | ||
|
||
# install delly | ||
WORKDIR /usr/local/bin | ||
RUN wget https://github.com/dellytools/delly/archive/v${delly_version}.zip | ||
RUN unzip v${delly_version}.zip | ||
WORKDIR /usr/local/bin/delly-${delly_version} | ||
RUN make all | ||
WORKDIR /usr/local/bin | ||
RUN ln -s /usr/local/bin/delly-0.8.1/src/delly /usr/local/bin/delly |
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 |
---|---|---|
|
@@ -2,16 +2,16 @@ FROM frolvlad/alpine-glibc:alpine-3.9 | |
|
||
LABEL maintainer="Nikhil Kumar ([email protected])" \ | ||
version.image="1.0.0" \ | ||
version.facets_suite="1.5.6" \ | ||
version.facets_suite="1.5.7" \ | ||
version.facets="0.5.14"\ | ||
version.alpine="3.8" \ | ||
version.r="3.5.1" \ | ||
version.pctGCdata="0.2.0" \ | ||
source.facets_suite="https://github.com/mskcc/facets-suite/releases/tag/1.5.6" \ | ||
source.facets_suite="https://github.com/mskcc/facets-suite/releases/tag/1.5.7" \ | ||
source.facets="https://github.com/mskcc/facets/archive/v0.5.14.tar.gz"\ | ||
source.r="https://pkgs.alpinelinux.org/package/edge/community/x86/R" | ||
|
||
ENV FACETS_SUITE_VERSION 1.5.6 | ||
ENV FACETS_SUITE_VERSION 1.5.7 | ||
ENV FACETS_VERSION 0.5.14 | ||
ENV PCTGCDATA 0.2.0 | ||
|
||
|
@@ -24,6 +24,8 @@ RUN apk add --update \ | |
&& apk add cairo cairo-dev libxt-dev libxml2-dev font-xfree86-type1 \ | ||
# download and install R | ||
&& apk add R R-dev \ | ||
# change permissions for /tmp; still doesn't resolve R warnings | ||
&& chmod 777 -R /tmp \ | ||
# download and unzip facets, facets-suite, pctGCdata | ||
&& cd /tmp \ | ||
&& wget https://github.com/mskcc/facets-suite/archive/${FACETS_SUITE_VERSION}.tar.gz -O facets-suite-${FACETS_SUITE_VERSION}.tar.gz \ | ||
|
@@ -53,7 +55,7 @@ RUN apk add --update \ | |
&& sed -i "s/opt\/common\/CentOS_6-dev\/R\/R-3.2.2\//usr\//g" *.R \ | ||
# copy execs to /usr/bin/facets-suite | ||
&& mkdir -p /usr/bin/facets-suite/ \ | ||
&& cp /tmp/facets-suite-${FACETS_SUITE_VERSION}/* /usr/bin/facets-suite/ \ | ||
&& cp -r /tmp/facets-suite-${FACETS_SUITE_VERSION}/* /usr/bin/facets-suite/ \ | ||
# clean up | ||
&& rm -rf /var/cache/apk/* /tmp/* | ||
|
||
|
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