-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnextflow.config
69 lines (63 loc) · 2.06 KB
/
nextflow.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
manifest {
homePage = 'https://github.com/EpiRnaTools/ribomethseq-nf'
description = 'RiboMethSeq data processing'
mainScript = 'main.nf'
name = 'ribomethseq-nf'
author = 'Hermes Paraqindes, Theo Combe'
version = '1.0'
}
/***************************************************************/
/* Nextflow execution reporting */
/***************************************************************/
params.outdir = '.'
params.logdir = params.outdir
params.report_dir = params.logdir
params.report_base = 'ribomethseq-nf.report'
report {
enabled = true
file = "${params.report_dir}/${params.report_base}/exec-report.html"
}
trace {
enabled = true
fields = 'process,task_id,hash,name,attempt,status,exit,realtime,cpus,memory,%cpu,vmem,rss,submit,start,complete,duration,realtime,rchar,wchar'
file = "${params.report_dir}/${params.report_base}/exec-trace.txt"
}
/***************************************************************/
/* Nextflow execution parameters */
/***************************************************************/
profiles {
conda {
includeConfig "nf-config/exec.config"
conda.enabled = true
process {
withName: 'fastqc|trim|bowtie2|filter|multiqc|counts' {
conda = "$baseDir/docker/rms-processing.yml"
// conda = "/path/to/your/conda/envs/rms-processing"
}
withName: 'split|report' {
conda = "$baseDir/docker/rms-report.yml"
// conda = "/path/to/your/conda/envs/rms-report"
}
}
}
docker {
includeConfig "nf-config/exec.config"
docker.enabled = true
//process.container = 'ribomethseq-nf:dev'
process.container = 'ribomethseq-nf:1.0'
process.containerOptions = '--mount type=bind,source=/path/to/mount,target=/path/to/mount'
}
singularity {
includeConfig "nf-config/exec.config"
singularity.enabled = true
singularity.cacheDir = '/path/to/singularity/sif'
process.container = 'ribomethseq-nf_1.0.sif'
process.containerOptions = '--bind /path/to/mount'
}
human {
includeConfig "nf-config/human.config"
}
mouse {
includeConfig "nf-config/mouse.config"
}
}