-
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.
Add cores to batch wdl Update scramble git commit Update scramble wdl Fix dockerfile Fix dockerfile again Update docker Clean up wdl a bit Update scramble commit Update docker; reduce ScramblePart1 mem to 2gb Increase part2 mem to 15gib Decrease part2 mem to 12gib Optimize resources Azure docker Update scramble vcfs
- Loading branch information
1 parent
b157b03
commit 3fa8e18
Showing
8 changed files
with
482 additions
and
364 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,71 @@ | ||
# 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 | ||
ARG SCRAMBLE_COMMIT="f320d604ac030e4a7fa96b0663bcae02994c7d94" | ||
RUN mkdir /app && cd /app \ | ||
&& git clone https://github.com/mwalker174/scramble-gatk-sv.git \ | ||
&& cd scramble-gatk-sv \ | ||
&& git checkout ${SCRAMBLE_COMMIT} \ | ||
&& cd cluster_identifier/src \ | ||
&& make \ | ||
&& ln -s /app/scramble-gatk-sv/cluster_identifier/src/build/cluster_identifier /usr/local/bin | ||
|
||
# test | ||
RUN Rscript --vanilla /app/scramble-gatk-sv/cluster_analysis/bin/SCRAMble.R --help | ||
RUN /app/scramble-gatk-sv/cluster_identifier/src/build/cluster_identifier -v | ||
|
||
# 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
Large diffs are not rendered by default.
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
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