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

Latest commit

 

History

History
158 lines (93 loc) · 5.88 KB

CONFIG.md

File metadata and controls

158 lines (93 loc) · 5.88 KB

Configuration and Profiles

For more informations on how to use configuration files, have a look at the Nextflow documentation

For more informations about profiles, have a look at the Nextflow documentation

We provides several configuration files and profiles for Sarek. The standard ones are designed to work on a Swedish UPPMAX cluster, but can be modified and tailored to your own need.

Configuration files

Every configuration file can be modified for your own use. If you want you can specify the use of a config file using -c <config file>

Designed for usage with AWS batch.

Define default parameters, is included into every profiles.

Define usage limits and Singularity for BINAC cluster in Tuebingen.

Designed for usage with Singularity on CFC at QBic.

/!\ Under development.

Define conda environement.

Define Containers for all process. Images will be pulled automatically. Use in your own profile if needed.

Specify Docker options. To be used with containers.config

Contain path to all references. Modify it if you want to change genome version, or the path to your references files.

Contain path to all AWS iGenomes references. Modify it if you want to change genome version, or the path to your references files.

Define usage limits and Singularity for munin server at BTB.

Define Generalized resource configuration for clusters.

Define path to Singularity Containers for all process. To be used when downloading Singularity Containers, like on a secure UPPMAX cluster. Images will not be pulled automatically. You need to set them up before.

Specify Singularity options. To be used with containers.config

To be used for Travis (2 cpus) or on small computer for testing purpose

Local configuration for a UPPMAX cluster To be run on a single node

Slurm configuration for a UPPMAX cluster Will run the workflow on /scratch using the Nextflow scratch directive

Profiles

A profile is a convenient way of specifying which set of configuration files to use. The default profile is standard, but Sarek has multiple predefined profiles which are listed below that can be specified by specifying -profile <profile>:

nextflow run SciLifeLab/Sarek --sample mysample.tsv -profile myprofile

awsbatch

This is the profile for use with AWS Batch.

binac

This is the profile for use on the german BinAC cluster.

btb

This is the profile for use on the BTB server munin.

cfc

This is the profile for use on the CFC cluster in Tuebingen.

conda

/!\ Under development.

This is the profile for conda testing on a small machine, or on Travis CI. Conda environement will be built automatically.

docker

This is the profile for docker testing on a small machine, or on Travis CI. Docker images will be pulled automatically.

singularity

This is the profile for Singularity testing on a small machine, or on Travis CI. Singularity images will be pulled automatically.

singularityPath

This is the profile for Singularity testing on a small machine. Singularity images needs to be set up.

slurm

This is another profile for use on a UPPMAX cluster using the job scheduler slurm with Singularity. Will run the workflow on /scratch. Singularity images are already set up.

standard

This is the default profile for use on a localhost on a UPPMAX cluster with Singularity. Singularity images are already set up.

Customisation

The recommended way to use custom settings is to supply Sarek with an additional configuration file. You can use the files in the conf/ directory as an inspiration to make this new .config file and specify it using the -c flag:

nextflow run SciLifeLab/Sarek --sample mysample.tsv -c conf/personal.config

Any configuration field specified in this file has precedence over the predefined configurations but any field left out from the file will be set by the normal configuration files included in the specified (or standard) profile.

Furthermore, to find out which configuration files take action for the different profiles, the profiles are defined in the file nextflow.config.