Image size: 3.2 GB

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/clinsv:1.1.0

Shell into the container

singularity shell library://bioinformatics/clinsv:1.1.0

Run the container

singularity run library://bioinformatics/clinsv:1.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/clinsv:1.1.0

Shell into the container

apptainer shell library://bioinformatics/clinsv:1.1.0

Run the container

apptainer run library://bioinformatics/clinsv:1.1.0
ClinSV 1.1.0. Robust detection of clinically relevant structural and copy number variation
from whole genome sequencing data. Supports GRCh38 and GRCh37 decoy (hs37d5).

The reference data isn't in the image. Download it as described in the ClinSV README and
bind it to /app/ref-data.

Usage:
  singularity run --bind /path/to/refdata:/app/ref-data clinsv_1.1.0.sif \
    -r all -i "/path/to/bams/*.bam" -ref /app/ref-data/refdata-b38 -p /path/to/project

Documentation: https://github.com/KCCG/ClinSV
Bootstrap: docker
From: containerregistrypubliccb.azurecr.io/clinsv:v1.1.0

%labels
  Maintainer IDIA <support@ilifu.ac.za>
  Version 1.1.0
  Source https://github.com/KCCG/ClinSV

%help
  ClinSV 1.1.0. Robust detection of clinically relevant structural and copy number variation
  from whole genome sequencing data. Supports GRCh38 and GRCh37 decoy (hs37d5).

  The reference data isn't in the image. Download it as described in the ClinSV README and
  bind it to /app/ref-data.

  Usage:
    singularity run --bind /path/to/refdata:/app/ref-data clinsv_1.1.0.sif \
      -r all -i "/path/to/bams/*.bam" -ref /app/ref-data/refdata-b38 -p /path/to/project

  Documentation: https://github.com/KCCG/ClinSV

%post
  # The conda environment ClinSV runs from is under /root, which is 700, so users running
  # the image as themselves couldn't reach it.
  chmod 755 /root
  # Not every helper ships executable.
  chmod -R a+rX /root/miniconda /app/clinsv
  chmod a+x /app/clinsv/bigWigTools/* /app/clinsv/bin/* /app/clinsv/clinSV/scripts/*

%runscript
  exec perl /app/clinsv/bin/clinsv "$@"

%test
  test -x /app/clinsv/bin/clinsv
  command -v perl
Download bioinformatics-clinsv_1.1.0.def
#!/bin/sh

  exec perl /app/clinsv/bin/clinsv "$@"
#!/bin/sh

  test -x /app/clinsv/bin/clinsv
  command -v perl
# /.singularity.d/env/10-docker2singularity.sh
#!/bin/sh
export PATH="/app/clinsv/bin:/root/miniconda/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/miniconda/envs/my_root_env/bin"
export clinsv_path="${clinsv_path:-"/app/clinsv"}"
export TZ="${TZ:-"Australia/Sydney"}"
export ROOTSYS="${ROOTSYS:-"/root/miniconda/envs/my_root_env/"}"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-"/root/miniconda/envs/my_root_env/lib"}"
export clinSV_repo_path="${clinSV_repo_path:-"ClinSV"}"