Skip to content
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

Use fixed GRIDSS container for VIRUSBreakend #12

Merged
merged 7 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from 5 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
34 changes: 34 additions & 0 deletions modules/local/virusbreakend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
FROM continuumio/miniconda3:23.5.2-0-alpine as build

RUN \
conda install conda-libmamba-solver

RUN \
echo -e > ~/.condarc '\
solver: libmamba\n\
channels:\n\
- conda-forge\n\
- bioconda\n\
- defaults'

RUN \
conda create -y -p /env/ \
'gridss=2.13.2=h50ea8bc_3' \
'grep'

# Install Dfam database required for RepeatMasker
RUN \
conda install -y curl && \
curl -s https://www.dfam.org/releases/Dfam_3.7/families/Dfam_curatedonly.h5.gz | \
gzip -cd > /env/share/RepeatMasker/Libraries/Dfam.h5

RUN \
conda clean -yaf

# Move Conda environment into standard BioContainers base image
FROM quay.io/bioconda/base-glibc-busybox-bash:2.1.0

COPY --from=build /env/ /env/

ENV PATH="/env/bin:${PATH}"
ENV LD_LIBRARY_PATH="/env/lib/:${LD_LIBRARY_PATH}"
4 changes: 2 additions & 2 deletions modules/local/virusbreakend/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ process VIRUSBREAKEND {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/gridss:2.13.2--h50ea8bc_3':
'quay.io/biocontainers/gridss:2.13.2--h50ea8bc_3' }"
'https://pub-29f2e5b2b7384811bdbbcba44f8b5083.r2.dev/singularity/gridss:2.13.2--1':
'nf-core/gridss:2.13.2--1' }"

input:
tuple val(meta), path(bam)
Expand Down
Loading