bioinformatics/exomiser:15.1.0
Version sha256.c8cbe000a04682221627a6f72a8aa5f79364b02de0d2e29ca0300e1027ecffb1
Image size: 224.8 MB
For more on pulling from the registry, see the ilifu documentation.
First, once: add the registry and make it your default
singularity remote add --no-login idia-registry https://sregistry.idia.ac.za
singularity remote use idia-registry
If you added it before, as the ilifu docs describe, remote add says it already exists: just run remote use.
Log in, for a private collection
singularity remote login idia-registry
Paste a token from your token page when asked. Public collections need no login.
Pull the container
singularity pull library://bioinformatics/exomiser:15.1.0
Shell into the container
singularity shell library://bioinformatics/exomiser:15.1.0
Run the container
singularity run library://bioinformatics/exomiser:15.1.0
First, once: add the registry and make it your default
apptainer remote add --no-login idia-registry https://sregistry.idia.ac.za
apptainer remote use idia-registry
If you added it before, as the ilifu docs describe, remote add says it already exists: just run remote use.
Log in, for a private collection
apptainer remote login idia-registry
Paste a token from your token page when asked. Public collections need no login.
Pull the container
apptainer pull library://bioinformatics/exomiser:15.1.0
Shell into the container
apptainer shell library://bioinformatics/exomiser:15.1.0
Run the container
apptainer run library://bioinformatics/exomiser:15.1.0
Exomiser 15.1.0 by the Exomiser developers at Queen Mary University of London, Charite
Universitaetsmedizin Berlin and the Wellcome Sanger Institute, with the Monarch Initiative
(https://github.com/exomiser/Exomiser).
This image packages the upstream exomiser-cli 15.1.0 release unmodified, apart from setting
exomiser.data-directory=/data in application.properties and leaving out the example VCFs.
IDIA builds and maintains
the image only; please report Exomiser bugs upstream at
https://github.com/exomiser/Exomiser/issues. Problems with the image itself go to
support@ilifu.ac.za.
Exomiser is free software under the GNU Affero General Public License, version 3 or later
(AGPL-3.0-or-later). The licence notice and full text are in /opt/exomiser/LICENCE.txt and
/opt/exomiser/LICENCE. If you use Exomiser in published work, please cite it (see
https://exomiser.readthedocs.io for current references), e.g. Smedley D et al.,
"Next-generation diagnostics and disease-gene discovery with the Exomiser",
Nature Protocols 10, 2004-2015 (2015).
Reference data is NOT in the image. Download an Exomiser data release (e.g. 2512_hg19,
2512_hg38, 2512_phenotype from https://data.monarchinitiative.org/exomiser/data/), unzip it,
and bind that directory at /data. Use a data release that matches Exomiser 15 (check the
upstream release notes); older releases such as 2109 may not load. The shipped
/opt/exomiser/application.properties sets exomiser.data-directory=/data,
exomiser.hg19.data-version=2512 and exomiser.phenotype.data-version=2512.
Usage:
singularity run --bind /path/to/exomiser-data:/data exomiser_15.1.0.sif \
analyse --sample sample.yml --vcf sample.vcf.gz --assembly GRCh37 \
--output-directory results
For GRCh38, also set the hg38 data version, which the shipped config leaves unset:
SINGULARITYENV_EXOMISER_HG38_DATA_VERSION=2512 singularity run \
--bind /path/to/exomiser-data:/data exomiser_15.1.0.sif \
analyse --sample sample.yml --vcf sample.vcf.gz --assembly GRCh38 \
--output-directory results
singularity exec exomiser_15.1.0.sif exomiser --help
singularity exec exomiser_15.1.0.sif exomiser analyse --help
Settings: override any property with environment variables or JVM options, e.g.
SINGULARITYENV_EXOMISER_HG38_DATA_VERSION=2512
SINGULARITYENV_JAVA_TOOL_OPTIONS="-Xmx8g -Dexomiser.hg38.data-version=2512"
An application.properties in your working directory (or ./config/) takes precedence over
the shipped one; copy /opt/exomiser/application.properties as a starting point. Example
analysis, sample and batch templates are in /opt/exomiser/examples (the example VCFs were
left out to keep the image small). Give the JVM enough memory: upstream suggests -Xmx4g or
more for an exome and more for a genome.
Bootstrap: docker
From: debian:13-slim
Stage: build
%post
EXOMISER_VERSION=15.1.0
EXOMISER_ZIP_SHA256=47faa54d4791686c9dc3f896762834630e9eaf607ad3cf3399074353c3dda248
# The distribution's LICENCE.txt is only a notice; the full AGPL text is in the repo.
LICENCE_SHA256=d8de517917a591daa447d6be28ffb2fac866703e4feb65e86221be9a22d3033a
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y --no-install-recommends ca-certificates curl unzip
mkdir -p /tmp/exomiser
cd /tmp/exomiser || exit 1
curl -fsSL -o exomiser.zip \
"https://github.com/exomiser/Exomiser/releases/download/${EXOMISER_VERSION}/exomiser-cli-${EXOMISER_VERSION}-distribution.zip"
curl -fsSL -o LICENCE \
"https://raw.githubusercontent.com/exomiser/Exomiser/${EXOMISER_VERSION}/LICENCE"
printf '%s %s\n%s %s\n' \
"${EXOMISER_ZIP_SHA256}" exomiser.zip \
"${LICENCE_SHA256}" LICENCE | sha256sum -c -
unzip -q exomiser.zip
mv "exomiser-cli-${EXOMISER_VERSION}" /opt/exomiser
mv LICENCE /opt/exomiser/LICENCE
cd / || exit 1
rm -rf /tmp/exomiser
# Users bind their Exomiser data release at /data, as the Ansible install configured it.
sed -i 's|^#exomiser.data-directory=.*|&\nexomiser.data-directory=/data|' \
/opt/exomiser/application.properties
grep -qx 'exomiser.data-directory=/data' /opt/exomiser/application.properties || exit 1
# The example VCFs are ~47 MB of test data; keep only the small YAML/PED/batch templates.
find /opt/exomiser/examples -type f \
\( -name '*.vcf' -o -name '*.vcf.gz' -o -name '*.tbi' \) -delete
Bootstrap: docker
From: eclipse-temurin:21.0.13_9-jre-noble
Stage: final
%files from build
/opt/exomiser /opt/exomiser
%labels
Maintainer IDIA <support@ilifu.ac.za>
Version 15.1.0
Source https://github.com/exomiser/Exomiser
License AGPL-3.0-or-later
Authors The Exomiser developers (Queen Mary University of London, Charite Universitaetsmedizin Berlin, Genome Research Ltd / Wellcome Sanger Institute) and the Monarch Initiative
%help
Exomiser 15.1.0 by the Exomiser developers at Queen Mary University of London, Charite
Universitaetsmedizin Berlin and the Wellcome Sanger Institute, with the Monarch Initiative
(https://github.com/exomiser/Exomiser).
This image packages the upstream exomiser-cli 15.1.0 release unmodified, apart from setting
exomiser.data-directory=/data in application.properties and leaving out the example VCFs.
IDIA builds and maintains
the image only; please report Exomiser bugs upstream at
https://github.com/exomiser/Exomiser/issues. Problems with the image itself go to
support@ilifu.ac.za.
Exomiser is free software under the GNU Affero General Public License, version 3 or later
(AGPL-3.0-or-later). The licence notice and full text are in /opt/exomiser/LICENCE.txt and
/opt/exomiser/LICENCE. If you use Exomiser in published work, please cite it (see
https://exomiser.readthedocs.io for current references), e.g. Smedley D et al.,
"Next-generation diagnostics and disease-gene discovery with the Exomiser",
Nature Protocols 10, 2004-2015 (2015).
Reference data is NOT in the image. Download an Exomiser data release (e.g. 2512_hg19,
2512_hg38, 2512_phenotype from https://data.monarchinitiative.org/exomiser/data/), unzip it,
and bind that directory at /data. Use a data release that matches Exomiser 15 (check the
upstream release notes); older releases such as 2109 may not load. The shipped
/opt/exomiser/application.properties sets exomiser.data-directory=/data,
exomiser.hg19.data-version=2512 and exomiser.phenotype.data-version=2512.
Usage:
singularity run --bind /path/to/exomiser-data:/data exomiser_15.1.0.sif \
analyse --sample sample.yml --vcf sample.vcf.gz --assembly GRCh37 \
--output-directory results
For GRCh38, also set the hg38 data version, which the shipped config leaves unset:
SINGULARITYENV_EXOMISER_HG38_DATA_VERSION=2512 singularity run \
--bind /path/to/exomiser-data:/data exomiser_15.1.0.sif \
analyse --sample sample.yml --vcf sample.vcf.gz --assembly GRCh38 \
--output-directory results
singularity exec exomiser_15.1.0.sif exomiser --help
singularity exec exomiser_15.1.0.sif exomiser analyse --help
Settings: override any property with environment variables or JVM options, e.g.
SINGULARITYENV_EXOMISER_HG38_DATA_VERSION=2512
SINGULARITYENV_JAVA_TOOL_OPTIONS="-Xmx8g -Dexomiser.hg38.data-version=2512"
An application.properties in your working directory (or ./config/) takes precedence over
the shipped one; copy /opt/exomiser/application.properties as a starting point. Example
analysis, sample and batch templates are in /opt/exomiser/examples (the example VCFs were
left out to keep the image small). Give the JVM enough memory: upstream suggests -Xmx4g or
more for an exome and more for a genome.
%post
# Spring Boot only reads application.properties from the working directory by default, so
# put the shipped config between the built-in defaults and the user's ./application.properties.
cat > /usr/local/bin/exomiser <<'EOF'
#!/bin/sh
: "${SPRING_CONFIG_LOCATION:=optional:classpath:/,optional:classpath:/config/,file:/opt/exomiser/application.properties,optional:file:./,optional:file:./config/}"
export SPRING_CONFIG_LOCATION
exec /opt/java/openjdk/bin/java -jar /opt/exomiser/exomiser-cli-15.1.0.jar "$@"
EOF
chmod 755 /usr/local/bin/exomiser
mkdir -p /data
rm -rf /tmp/* /var/tmp/*
%runscript
exec /usr/local/bin/exomiser "$@"
%test
version=$( /usr/local/bin/exomiser --version ) || exit 1
echo "exomiser --version: ${version}"
echo "${version}" | grep -qx '15.1.0' || exit 1
/usr/local/bin/exomiser --help | grep -q 'analyse' || exit 1
grep -qx 'exomiser.data-directory=/data' /opt/exomiser/application.properties || exit 1
test -s /opt/exomiser/LICENCE || exit 1
Download bioinformatics-exomiser_15.1.0.def
#!/bin/sh
exec /usr/local/bin/exomiser "$@"
#!/bin/sh
version=$( /usr/local/bin/exomiser --version ) || exit 1
echo "exomiser --version: ${version}"
echo "${version}" | grep -qx '15.1.0' || exit 1
/usr/local/bin/exomiser --help | grep -q 'analyse' || exit 1
grep -qx 'exomiser.data-directory=/data' /opt/exomiser/application.properties || exit 1
test -s /opt/exomiser/LICENCE || exit 1
# /.singularity.d/env/10-docker2singularity.sh
#!/bin/sh
export PATH="/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
export JAVA_HOME="${JAVA_HOME:-"/opt/java/openjdk"}"
export LANG="${LANG:-"en_US.UTF-8"}"
export LANGUAGE="${LANGUAGE:-"en_US:en"}"
export LC_ALL="${LC_ALL:-"en_US.UTF-8"}"
export JAVA_VERSION="${JAVA_VERSION:-"jdk-21.0.13+9"}"