-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update melt docker image to current latest build. (#592)
Add scramble dockerfile and update wdl Create /app dir Add docker Rscript test Delete backslash Update scramble docker Bump Part1 memory to 3gb Add cores option to scramble R script Fix wdls Add bcftools to docker Update docker; 15 cores cores -> threads Update scramble repo commit Fix dockerfile Update scramble docker Try 2 cores in Part1 Update runtimes Update ubuntu, htslib, bcftools versions Add wget wget install Move wget install install just bcftools and htslib Clean up bcftools source Delete backslash Update docker
- Loading branch information
1 parent
4950ac6
commit fe51a9b
Showing
7 changed files
with
163 additions
and
53 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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# source Image | ||
FROM ubuntu:22.04 | ||
|
||
# set noninterative mode | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
# apt-get update and install global requirements | ||
RUN apt-get clean all && \ | ||
apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y \ | ||
autoconf \ | ||
autogen \ | ||
build-essential \ | ||
curl \ | ||
git \ | ||
libbz2-dev \ | ||
libcurl4-openssl-dev \ | ||
liblzma-dev \ | ||
libncurses5-dev \ | ||
libnss-sss \ | ||
libssl-dev \ | ||
libxml2-dev \ | ||
ncbi-blast+ \ | ||
r-base \ | ||
r-bioc-biostrings \ | ||
r-bioc-rsamtools \ | ||
r-cran-biocmanager \ | ||
r-cran-devtools \ | ||
r-cran-stringr \ | ||
r-cran-optparse \ | ||
wget \ | ||
zlib1g-dev | ||
|
||
# apt-get clean and remove cached source lists | ||
RUN apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# install global r requirements | ||
RUN echo "r <- getOption('repos'); r['CRAN'] <- 'http://cran.us.r-project.org'; options(repos = r);" > ~/.Rprofile | ||
RUN Rscript -e "library(devtools); install_github('mhahsler/rBLAST')" | ||
|
||
# install bcftools and htslib | ||
ARG HTSLIB_VERSION="1.18" | ||
RUN mkdir -p /opt && cd /opt && \ | ||
wget -q https://github.com/samtools/bcftools/releases/download/${HTSLIB_VERSION}/bcftools-${HTSLIB_VERSION}.tar.bz2 && \ | ||
tar xjf bcftools-${HTSLIB_VERSION}.tar.bz2 && \ | ||
cd bcftools-${HTSLIB_VERSION} && \ | ||
./configure --quiet && \ | ||
make -s all && \ | ||
make -s install install-htslib && \ | ||
cd / && rm -r /opt/bcftools-${HTSLIB_VERSION} /opt/bcftools-${HTSLIB_VERSION}.tar.bz2 | ||
|
||
ENV LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH | ||
|
||
# install scramble | ||
RUN mkdir /app && cd /app \ | ||
&& git clone https://github.com/mwalker174/scramble-gatk-sv.git \ | ||
&& cd scramble-gatk-sv \ | ||
&& git checkout dc1afd7f825d188e8ad8caa12e998a591ad70a88 \ | ||
&& cd cluster_identifier/src \ | ||
&& make \ | ||
&& ln -s /app/scramble-gatk-sv/cluster_identifier/src/build/cluster_identifier /usr/local/bin | ||
|
||
# test; note that cluster_identifier has no help command currently | ||
RUN Rscript --vanilla /app/scramble-gatk-sv/cluster_analysis/bin/SCRAMble.R --help | ||
|
||
# define default command | ||
CMD ["Rscript"] |
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
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