Skip to content

Latest commit

 

History

History
89 lines (62 loc) · 3.83 KB

File metadata and controls

89 lines (62 loc) · 3.83 KB

Containers

Our main container is designed using Conda 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 extra annotation documentation):

What is actually inside the containers

sarek sarek-docker status

sareksnpeff sareksnpeff-docker status

  • Based on nfcore/base:latest
  • Contain snpEff 4.3.1t
  • Contains cache for GRCh37, GRCh38, GRCm38 or CanFam3.1

sarekvep sarekvep-docker status

  • Based on nfcore/base:latest
  • Contain GeneSplicer 1.0
  • Contain VEP 98.2
  • Contain cache for GRCh37, GRCh38, GRCm38 or CanFam3.1

Using helper script

A helper script, used for testing can also be used to help with pulling docker containers, or building singularity images. The following parameters can be used:

Engine: -n

Specify which container engine to use: docker or singularity. Default:docker

Containers: -c

Specify which containers to build: SNPEFF, VEP or ALL. Default:ALL

Version: -T

Specify which release to pull or build: any tagged release, or dev. Default:dev

Genome: -g

Specify which release genome to use for annotation containers (sareksnpeff, sarekvep): smallGRCh37, GRCh37, GRCh38, GRCm38 or CanFam3.1. Default:smallGRCh37

Singularity

To specify where to build singularity image, use the Nextflow ENV variable NXF_SINGULARITY_CACHEDIR, ie:

NXF_SINGULARITY_CACHEDIR=/data/singularity ./scripts/download_image.sh -n singularity -t ALL -T dev -g GRCh38

That will build the main container, plus the annotation containers (sareksnpeff, sarekvep) for GRCh38, in the /data/singularity folder.

Building your own

Our containers are designed using Conda. The environment.yml file can easilly be modified if particular versions of tools are more suited to your needs.