-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:populationgenomics/images into push…
…-to-azure
- Loading branch information
Showing
19 changed files
with
252 additions
and
26 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM australia-southeast1-docker.pkg.dev/analysis-runner/images/driver-base:1.4 | ||
|
||
RUN apt-get update && \ | ||
mkdir $HOME/bin && \ | ||
wget "https://launch.basespace.illumina.com/CLI/latest/amd64-linux/bs" -O $HOME/bin/bs && \ | ||
chmod u+x $HOME/bin/bs |
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 |
---|---|---|
@@ -0,0 +1,62 @@ | ||
ARG VERSION=${VERSION:-release_110.1} | ||
|
||
FROM ensemblorg/ensembl-vep:${VERSION} | ||
|
||
USER root | ||
|
||
# This Dockerfile is a departure from the style used in `images/vep` | ||
# Instead of building up a fresh VEP install using Miniconda, we are | ||
# using the official VEP image and adding plugins and data files to it. | ||
# This is being built in parallel to the existing `vep` image so that we | ||
# can maintain the existing image for backwards compatibility, and only | ||
# switch once the newer VEP version has been evaluated. | ||
|
||
# The AlphaMissense plugin at time of writing (26.09.2023) is available | ||
# in the vep-plugin repository, but not installed within the latest image | ||
|
||
# The PLI, LoF, & UTR annotator data files are not available by default, | ||
# but only add minimally to the image size. | ||
|
||
# LOFTEE is installed by default, but the standard version doesn't work | ||
# for GRCh38, so we overwrite the standard files | ||
|
||
# GCSfuse and the Google Cloud SDK are not installed, as the workflow | ||
# using this image is intended to mount data files from GCS using Hail | ||
# Batch, so that functionality is not required inside the image. | ||
|
||
# AlphaMissense | ||
# print AlphaMissense scores and predictions | ||
# only report results for the transcripts in the AlphaMissense prediction | ||
# ./vep -i variations.vcf --plugin AlphaMissense,file=/full/path/to/file.tsv.gz,transcript_match=1 | ||
# file path = gs://dm_alphamissense/AlphaMissense_aa_substitutions.tsv.gz | ||
ENV AlphaMissensePlugin=${VEP_DIR_PLUGINS}/AlphaMissense.pm | ||
|
||
# pLI https://raw.githubusercontent.com/Ensembl/VEP_plugins/release/110/pLI_values.txt | ||
# ./vep -i variants.vcf --plugin pLI,values_file.txt | ||
ENV PLI_SCORES=/data/pli_scores.txt | ||
|
||
# Usage: vep -i test.vcf --tab -plugin UTRannotator,/path/to/uORF_starts_ends_GRCh38_PUBLIC.txt -o test.output | ||
# Does not (currently) support writing JSON output | ||
ENV UTR38=/data/utr_annotator_38.txt | ||
|
||
# LoFTool | ||
# https://github.com/Ensembl/VEP_plugins/blob/release/110/LoFtool.pm | ||
# https://raw.githubusercontent.com/Ensembl/VEP_plugins/release/110/LoFtool_scores.txt | ||
# ./vep -i variants.vcf --plugin LoFtool,scores_file.txt | ||
ENV LOFTOOL_SCORES=/data/loftool_110_scores.txt | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
ca-certificates \ | ||
git \ | ||
&& curl https://raw.githubusercontent.com/Ensembl/UTRannotator/master/uORF_5UTR_GRCh38_PUBLIC.txt > ${UTR38} \ | ||
&& curl https://raw.githubusercontent.com/Ensembl/VEP_plugins/release/110/pLI_values.txt > ${PLI_SCORES} \ | ||
&& curl https://raw.githubusercontent.com/Ensembl/VEP_plugins/release/110/AlphaMissense.pm > ${VEP_DIR_PLUGINS}/AlphaMissense.pm \ | ||
&& curl https://raw.githubusercontent.com/Ensembl/VEP_plugins/release/110/LoFtool_scores.txt > ${LOFTOOL_SCORES} \ | ||
&& git clone -b grch38 https://github.com/konradjk/loftee.git \ | ||
&& mv loftee/* ${VEP_DIR_PLUGINS} \ | ||
&& rm -rf loftee \ | ||
&& apt-get clean -y \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& PERL_MM_USE_DEFAULT=1 cpan Ensembl::XS Bio::DB::HTS |
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,32 @@ | ||
FROM ubuntu:20.04 | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
ARG VERSION=${VERSION:-b85cba004fba4e0223e632fae576bc7fad0da804} | ||
|
||
# Install Git to clone the repository | ||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
cmake \ | ||
g++ \ | ||
git \ | ||
libbz2-dev \ | ||
libcurl4-openssl-dev \ | ||
liblzma-dev \ | ||
libssl-dev \ | ||
zlib1g-dev \ | ||
&& \ | ||
apt-get clean -y && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Clone the repository, jump into it | ||
# build the ExpansionHunter executable, +x, move to /usr/bin | ||
RUN git clone https://github.com/bw2/ExpansionHunter && \ | ||
cd ExpansionHunter && \ | ||
git checkout $VERSION && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake .. && \ | ||
make && \ | ||
chmod +x /ExpansionHunter/build/install/bin/ExpansionHunter && \ | ||
mv /ExpansionHunter/build/install/bin/ExpansionHunter /usr/bin && \ | ||
rm -rf /ExpansionHunter |
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,10 @@ | ||
FROM debian:bookworm-slim | ||
|
||
ARG VERSION=${VERSION:-0.23.4} | ||
|
||
RUN apt-get update && apt-get install -y git wget bash bzip2 zip && \ | ||
rm -r /var/lib/apt/lists/* && \ | ||
rm -r /var/cache/apt/* && \ | ||
wget http://opengene.org/fastp/fastp.${VERSION} && \ | ||
chmod a+x fastp.${VERSION} && \ | ||
ln -s /fastp.${VERSION} /usr/local/bin/fastp |
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
FROM ubuntu:22.04 | ||
|
||
ARG VERSION=${VERSION:-1.1.0} | ||
|
||
LABEL \ | ||
version="v${VERSION}" \ | ||
description="mitoreport" | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=Europe/London | ||
|
||
# Run update and install necessary libraries, mitoreport requires java11 | ||
RUN apt-get update -y && apt-get install -y --no-install-recommends \ | ||
openjdk-11-jdk \ | ||
apt-transport-https \ | ||
build-essential \ | ||
bzip2 \ | ||
ca-certificates \ | ||
curl \ | ||
gcc \ | ||
gnupg \ | ||
gpg-agent \ | ||
libbz2-dev \ | ||
libcurl4-openssl-dev \ | ||
libffi-dev \ | ||
liblzma-dev \ | ||
libncurses5-dev \ | ||
libssl-dev \ | ||
make \ | ||
software-properties-common \ | ||
wget \ | ||
zlib1g-dev | ||
|
||
## Install Google cloud-sdk | ||
RUN curl https://sdk.cloud.google.com > install.sh && \ | ||
bash install.sh --disable-prompts --install-dir=/opt && \ | ||
rm install.sh | ||
|
||
ENV PATH=$PATH:/opt/google-cloud-sdk/bin | ||
|
||
WORKDIR /usr/local/bin/ | ||
|
||
# Install mitoreport and resourses | ||
RUN curl -L -O https://github.com/bioinfomethods/mitoreport/releases/download/${VERSION}/mitoreport-${VERSION}-all.jar \ | ||
&& mv mitoreport-${VERSION}-all.jar mitoreport.jar \ | ||
&& curl -L -O https://github.com/bioinfomethods/mitoreport/releases/download/${VERSION}/resources.tgz \ | ||
&& tar -zxvf resources.tgz \ | ||
&& java -jar mitoreport.jar mito-map-download \ | ||
--output resources/mito_map_annotations.json | ||
|
||
# Requires samtools for local cram > bam | ||
ENV MAMBA_ROOT_PREFIX /root/micromamba | ||
ENV PATH $MAMBA_ROOT_PREFIX/bin:$PATH | ||
RUN wget -qO- https://api.anaconda.org/download/conda-forge/micromamba/0.8.2/linux-64/micromamba-0.8.2-he9b6cbd_0.tar.bz2 | tar -xvj -C /usr/local bin/micromamba && \ | ||
mkdir ${MAMBA_ROOT_PREFIX} && \ | ||
micromamba install -y --prefix ${MAMBA_ROOT_PREFIX} -c bioconda -c conda-forge \ | ||
samtools && \ | ||
rm -r /root/micromamba/pkgs |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM ubuntu:20.04 | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG VERSION=${VERSION:-0.2.7-bw2-fork-0.2} | ||
# Install Git to clone the repository | ||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
cmake \ | ||
g++ \ | ||
git \ | ||
libbz2-dev \ | ||
libcurl4-openssl-dev \ | ||
liblzma-dev \ | ||
zlib1g-dev | ||
# Clone the repository, jump into it | ||
# build the REViewer executable, +x, move to /usr/bin | ||
RUN git clone https://github.com/bw2/REViewer && \ | ||
cd REViewer && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake .. && \ | ||
make && \ | ||
chmod +x /REViewer/build/install/bin/REViewer && \ | ||
mv /REViewer/build/install/bin/* /usr/bin && \ | ||
cd . && \ | ||
rm -rf REViewer | ||
# Set the entry point for the Docker container | ||
ENTRYPOINT ["REViewer"] |
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.