-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release of version 2.4.0
- Loading branch information
Showing
33 changed files
with
1,827 additions
and
83 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,6 @@ | |
/.git | ||
/perl/docs | ||
/perl/docs.tar.gz | ||
/.travis.yml | ||
/cwls | ||
/examples |
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
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,16 +1,26 @@ | ||
FROM quay.io/wtsicgp/dockstore-cgpmap:3.1.4 as builder | ||
USER root | ||
|
||
# Tool version ENVs, some of them are also used in the second build stage, make sure version are consistent between the two stages. | ||
# Version of tools that are installed in both stages, make sure they are consistent. | ||
## VAGrENG dependcies | ||
ENV VER_BEDTOOLS "2.25.0-1" | ||
## cgpRna dependencies | ||
ENV VER_BOWTIE1 "1.1.2-3" | ||
ENV VER_BOWTIE2 "2.2.6-2" | ||
ENV VER_BLAST "2.2.31-4" | ||
ENV VER_GMAP "2015-12-31.v7-1" | ||
|
||
# Version of other tools | ||
## VAGrENG dependcies | ||
ENV VER_VCFTOOLS "0.1.16" | ||
ENV VER_Set_IntervalTree "0.12" | ||
ENV VER_BEDTOOLS "2.25.0-1" | ||
## CancerIT dependencies | ||
ENV VER_CGPVCF "v2.2.1" | ||
ENV VER_GRASS "v2.1.1" | ||
ENV VER_VAGRENT "v3.3.3" | ||
## cgpRna dependencies | ||
ENV VER_RSEQC "3.0.0" | ||
ENV VER_HTSEQ "0.7.2" | ||
ENV VER_File_ShareDir_Install "0.13" | ||
ENV VER_Config_IniFiles "3.000002" | ||
ENV VER_STAR "2.5.0c" | ||
|
@@ -20,6 +30,13 @@ ENV VER_DEFUSE "v0.8.2" | |
ENV SOURCE_FATOTWOBIT "http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/faToTwoBit" | ||
ENV SOURCE_BLAT "https://hgwdev.gi.ucsc.edu/~kent/src/blatSrc35.zip" | ||
|
||
RUN apt-get -yq update | ||
|
||
RUN apt-get install -qy --no-install-recommends lsb-release | ||
|
||
RUN echo "deb http://cran.rstudio.com/bin/linux/ubuntu `lsb_release -cs`/" >> /etc/apt/sources.list | ||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 | ||
|
||
RUN apt-get -yq update | ||
RUN apt-get install -yq --no-install-recommends \ | ||
locales \ | ||
|
@@ -28,19 +45,34 @@ make \ | |
gcc \ | ||
pkg-config \ | ||
zlib1g-dev \ | ||
software-properties-common \ | ||
zip \ | ||
unzip \ | ||
libpng-dev \ | ||
libboost-all-dev | ||
python3 python3-dev python3-pip python3-setuptools \ | ||
r-base r-base-dev \ | ||
libcurl4-gnutls-dev zlib1g-dev \ | ||
bedtools=${VER_BEDTOOLS} \ | ||
bowtie=${VER_BOWTIE1} \ | ||
bowtie2=${VER_BOWTIE2} \ | ||
ncbi-blast+=${VER_BLAST} \ | ||
gmap=${VER_GMAP} | ||
|
||
# libboost-all-dev is required to compile defuse. Its installation installs python2 as well, which is required for building Bedtools | ||
RUN apt-get install -yq --no-install-recommends libboost-all-dev | ||
# for building matplotlib | ||
RUN apt-get install -yq --no-install-recommends libfreetype6-dev | ||
|
||
RUN apt-get install -yq --no-install-recommends liblzo2-dev | ||
|
||
RUN locale-gen en_US.UTF-8 | ||
RUN update-locale LANG=en_US.UTF-8 | ||
|
||
ENV OPT /opt/wtsi-cgp | ||
ENV PATH $OPT/bin:$OPT/biobambam2/bin:$PATH | ||
ENV PERL5LIB $OPT/lib/perl5 | ||
ENV R_LIBS $OPT/R-lib | ||
ENV R_LIBS_USER $R_LIBS | ||
ENV PYTHONPATH $OPT/python-lib/lib/python3.5/site-packages | ||
ENV LD_LIBRARY_PATH $OPT/lib | ||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
|
@@ -52,14 +84,30 @@ RUN bash build/opt-build.sh $OPT | |
# build the tools in this repo, separate to reduce build time on errors | ||
COPY . . | ||
RUN bash build/opt-build-local.sh $OPT | ||
RUN bash build/config-defuse.sh $OPT | ||
|
||
FROM ubuntu:16.04 | ||
|
||
LABEL maintainer="[email protected]" \ | ||
uk.ac.sanger.cgp="Cancer, Ageing and Somatic Mutation, Wellcome Trust Sanger Institute" \ | ||
version="2.3.4" \ | ||
version="2.4.0" \ | ||
description="cgpRna docker" | ||
|
||
# Version of tools that are installed in both stages, make sure they are consistent. | ||
## VAGrENG dependcies | ||
ENV VER_BEDTOOLS "2.25.0-1" | ||
## cgpRna dependencies | ||
ENV VER_BOWTIE1 "1.1.2-3" | ||
ENV VER_BOWTIE2 "2.2.6-2" | ||
ENV VER_BLAST "2.2.31-4" | ||
ENV VER_GMAP "2015-12-31.v7-1" | ||
|
||
RUN apt-get -yq update | ||
RUN apt-get install -qy --no-install-recommends lsb-release | ||
|
||
RUN echo "deb http://cran.rstudio.com/bin/linux/ubuntu `lsb_release -cs`/" >> /etc/apt/sources.list | ||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 | ||
|
||
RUN apt-get -yq update | ||
RUN apt-get install -yq --no-install-recommends \ | ||
apt-transport-https \ | ||
|
@@ -74,40 +122,36 @@ zlib1g \ | |
liblzma5 \ | ||
libncurses5 \ | ||
p11-kit \ | ||
software-properties-common \ | ||
unattended-upgrades && \ | ||
unattended-upgrades \ | ||
python3 \ | ||
r-base \ | ||
bedtools=${VER_BEDTOOLS} \ | ||
bowtie=${VER_BOWTIE1} \ | ||
bowtie2=${VER_BOWTIE2} \ | ||
ncbi-blast+=${VER_BLAST} \ | ||
gmap=${VER_GMAP} && \ | ||
unattended-upgrade -d -v && \ | ||
apt-get remove -yq unattended-upgrades && \ | ||
apt-get autoremove -yq | ||
|
||
RUN locale-gen en_US.UTF-8 | ||
RUN update-locale LANG=en_US.UTF-8 | ||
|
||
# dependecy tool versions, some of them are also used in the first stage, make sure they are consistent between stages. | ||
## VAGrENG dependcies | ||
ENV VER_VCFTOOLS "0.1.16" | ||
ENV VER_BEDTOOLS "2.25.0-1" | ||
## cgpRna dependencies | ||
ENV VER_BOWTIE1 "1.1.2-3" | ||
ENV VER_BOWTIE2 "2.2.6-2" | ||
ENV VER_BLAST "2.2.31-4" | ||
ENV VER_GMAP "2015-12-31.v7-1" | ||
ENV VER_RSEQC "3.0.0" | ||
ENV VER_HTSEQ "0.7.2" | ||
|
||
ENV OPT /opt/wtsi-cgp | ||
ENV PATH $OPT/bin:$OPT/biobambam2/bin:$PATH | ||
ENV PATH $OPT/bin:$OPT/biobambam2/bin:$OPT/python-lib/bin/:$PATH | ||
ENV PERL5LIB $OPT/lib/perl5 | ||
ENV R_LIBS $OPT/R-lib | ||
ENV R_LIBS_USER $R_LIBS | ||
ENV PYTHONPATH $OPT/python-lib/lib/python3.5/site-packages | ||
ENV LD_LIBRARY_PATH $OPT/lib | ||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
|
||
RUN mkdir -p $OPT | ||
COPY --from=builder $OPT $OPT | ||
|
||
COPY build/opt-build-sys-dependencies.sh ./ | ||
COPY build/config-defuse.sh ./ | ||
RUN bash opt-build-sys-dependencies.sh && rm -f opt-build-sys-dependencies.sh && bash config-defuse.sh $OPT && rm -f config-defuse.sh | ||
COPY run-cgprna $OPT/cgprna | ||
RUN cd $OPT/cgprna && python3 setup.py develop | ||
|
||
## USER CONFIGURATION | ||
RUN adduser --disabled-password --gecos '' ubuntu && chsh -s /bin/bash && mkdir -p /home/ubuntu | ||
|
Empty file.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.