1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-24 17:19:54 +00:00

Add specific sarek config base, munin specific sarek config and docs

rename file

improve configs

remove unnecessary params
This commit is contained in:
MaxUlysse 2019-11-20 10:10:05 +01:00
parent 00db62416f
commit cd1d0b5f8f
4 changed files with 71 additions and 15 deletions

View file

@ -1,8 +1,13 @@
// Profile config names for nf-core/configs
params {
config_profile_description = 'MUNIN profile provided by nf-core/configs.'
// Specific nf-core/configs params
config_profile_contact = 'Szilveszter Juhos (@szilva)'
config_profile_url = ''
config_profile_description = 'MUNIN profile provided by nf-core/configs.'
config_profile_url = 'https://ki.se/forskning/barntumorbanken'
// Local AWS iGenomes reference file paths on munin
igenomes_base = '/data1/references/igenomes/'
}
process {
@ -10,9 +15,10 @@ process {
maxForks = 46
}
// To use singularity, use nextflow run -profile munin,singularity
// To use singularity, use nextflow run -profile munin
singularity {
enabled = true
cacheDir = '/data1/containers/'
}
// To use docker, use nextflow run -profile munin,docker
@ -21,13 +27,3 @@ docker {
mountFlags = 'z'
fixOwnership = true
}
params {
// general params
max_memory = 752.GB
max_cpus = 46
max_time = 72.h
// Local AWS iGenomes reference file paths on munin
igenomes_base = '/data1/references/igenomes/'
}

View file

@ -0,0 +1,26 @@
// Profile config names for nf-core/configs
params {
// Specific nf-core/configs params
config_profile_contact = 'Maxime Garcia (@MaxUlysse)'
config_profile_description = 'nf-core/sarek MUNIN profile provided by nf-core/configs'
config_profile_url = 'https://ki.se/forskning/barntumorbanken'
// Specific nf-core/sarek configs params
max_memory = 752.GB
max_cpus = 46
max_time = 72.h
// Specific nf-core/sarek params
annotation_cache = true
pon = '/data1/PON/vcfs/BTB.PON.vcf.gz'
pon_index = '/data1/PON/vcfs/BTB.PON.vcf.gz.tbi'
snpEff_cache = '/data1/cache/snpEff/'
vep_cache = '/data1/cache/VEP/'
}
// Specific nf-core/sarek configuration
withLabel:sentieon {
module = {params.sentieon ? 'sentieon/201808.05' : ''}
container = {params.sentieon ? '' : 'nfcore/sarek:dev'}
}

View file

@ -0,0 +1,21 @@
# nf-core/configs: MUNIN sarek specific configuration
Extra specific configuration for sarek pipeline
## Usage
To use, run the pipeline with `-profile munin`.
This will download and launch the [`munin.config`](../conf/pipeline/sarek/munin.config) which has been pre-configured with a setup suitable for the MUNIN cluster.
Example: `nextflow run nf-core/sarek -profile munin`
## Sarek specific configurations for Munin
Specific configurations for Munin has been made for sarek.
* Path to `snpEff_cache`: `/data1/cache/snpEff/`
* Path to `vep_cache`: `/data1/cache/VEP/`
* Path to `pon`: `/data1/PON/vcfs/BTB.PON.vcf.gz`
* Path to `pon_index`: `/data1/PON/vcfs/BTB.PON.vcf.gz.tbi`
* Load module `Sentieon` for Process with `sentieon` labels

13
pipeline/sarek.config Normal file
View file

@ -0,0 +1,13 @@
/*
* -------------------------------------------------
* nfcore/sarek custom profile Nextflow config file
* -------------------------------------------------
* Config options for all custom environments.
* Cluster-specific config options should be saved
* in the conf/pipeline/sarek folder and imported
* under a profile name here.
*/
profiles {
munin { includeConfig "${params.custom_config_base}/conf/pipeline/sarek/munin.config" }
}