Skip to content

feat: adding templates for exomiser integration #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Prepare empty .env file
run: |
touch .env

- name: Prepare empty volumes
run: |
mkdir -p .ci/volumes/postgres/data
Expand Down
43 changes: 43 additions & 0 deletions docker-compose.override.yml-exomiser
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Docker Compose Override YAML fragment that provides a Exomiser REST
# Prioritiser.
#
# Quick Manual:
#
# - merge with docker-compose.override.yml
# - place configuration (from utils/exomiser) in the right plase
# - place data in the right place

# == Re-useable Definitions ==================================================

# Default service definition for all (incl. postgres/redis/...)
x-service-default: &service_default
networks:
- varfish
restart: unless-stopped

# == Overide Definitions =====================================================

services:
# -- Exomiser --------------------------------------------------------------
#
# We use the Exomiser REST Prioritizer for phenotype-based prioritization

exomiser-rest-prioritiser:
<<: *service_default
image: "${image_exomiser__name-quay.io/biocontainers/exomiser-rest-prioritiser}:\
${image_exomiser__version-13.3.0--hdfd78af_0}"
command:
- "exomiser-rest-prioritiser"
- "-Xmx6G"
- "-Xms2G"
- "-Dserver.address=0.0.0.0"
- "-Dserver.port=80"
volumes:
- type: bind
source: ${config_basedir:-./.dev/config}/exomiser/application.properties
target: /application.properties
read_only: true
- type: bind
source: ${volumes_basedir:-./.dev/volumes}/exomiser
target: /data
read_only: true
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ x-service-varfish-server-default: &service_varfish_server_default
<<: *service_default
image: "${image_base-ghcr.io/bihealth}/\
${image_varfish_name:-varfish-server}:${image_varfish_version:-main}"
env_file:
.env
networks:
- varfish
restart: unless-stopped
Expand Down
8 changes: 7 additions & 1 deletion env.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CELERY_BROKER_URL=redis://redis:6379/0
VARFISH_ENABLE_JANNOVAR=1
VARFISH_JANNOVAR_REST_API_URL=http://jannovar:80/

VARFISH_ENABLE_EXOMISER_PRIORITISER=1
VARFISH_ENABLE_EXOMISER_PRIORITISER=0
VARFISH_ENABLE_EXTRA_ANNOS=1
VARFISH_EXOMISER_PRIORITISER_API_URL=http://exomiser-rest-prioritiser:80/exomiser/api/prioritise/

Expand Down Expand Up @@ -129,6 +129,12 @@ GUNICORN_WORKERS=16
# Version of the nginx image to use.
# image_nginx_version=1

# Name of the exomiser-rest-prioritiser image to use.
# image_exomiser__name=quay.io/biocontainers/exomiser-rest-prioritiser

# Version of the exomiser-rest-prioritiser image to use.
# image_exomiser__version=13.3.0--hdfd78af_0

# -- General Container Configuration -----------------------------------------

# Base directory for configuration.
Expand Down
3 changes: 3 additions & 0 deletions utils/exomiser/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
exomiser.data-directory=/data
exomiser.phenotype.data-version=2309
exomiser.phenotype.random-walk-file-name=rw_string_10.mv