Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Latest commit

 

History

History
149 lines (125 loc) · 6.15 KB

CONTAINERS.md

File metadata and controls

149 lines (125 loc) · 6.15 KB

Containers

Our main container is designed using Bioconda to install all tools used in Sarek:

For annotation, the main container can be used, but the cache has to be downloaded, or additional containers are available with cache (see annotation guide):

What is actually inside the containers

sarek sarek-docker status

snpeffgrch37 snpeffgrch37-docker status

  • Based on nfcore/base:latest
  • Contain snpEff 4.3.1t
  • Contain cache for GRCh37.75

snpeffgrch38 snpeffgrch38-docker status

  • Based on nfcore/base:latest
  • Contain snpEff 4.3.1t
  • Contain cache for GRCh38.86

vepgrch37 vepgrch37-docker status

  • Based on nfcore/base:latest
  • Contain GeneSplicer 1.0
  • Contain VEP 96.0
  • Contain cache for GRCh37 version 96

vepgrch38 vepgrch38-docker status

  • Based on nfcore/base:latest
  • Contain GeneSplicer 1.0
  • Contain VEP 96.0
  • Contain cache for GRCh38 version 96

Building

A Nextflow script is provided to build and/or push containers from Docker, or build for Singularity.

Usage

nextflow run build.nf [--docker] [--singularity] /
[--containerPath <path>] [--push] [--containers <container1[,container2..]>] /
[--repository <repository>] [--tag tag]
  • --containers: Choose which containers to build. Default: all. Possible values (to separate by commas):

  • --docker: Build containers using Docker

  • --push: Push containers to DockerHub

  • --repository: Build containers under given repository. Default: maxulysse

  • --singularity: Build containers using Singularity.

  • --containerPath: Select where to download containers. Default: $PWD

  • --tag: Build containers using given tag. Default is version number.

Example

nextflow run build.nf --docker --singularity --push --containers sarek

For lazy users

We provide script to build/push or pull all containers

./scripts/do_all.sh        # Build all docker containers
./scripts/do_all.sh --push # Build and push all Docker containers into DockerHub
./scripts/do_all.sh --pull # Pull all containers from DockerHub with Singularity

Building your own

Most of the containers are designed using Bioconda. The environment.yml file can easilly be modified if particular versions of tools are more suited to your needs. You can then use the building script to build your own containers. You'll just need to specify the correct repository either in command line or in the configuration files.