-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnextflow.config
executable file
·90 lines (80 loc) · 1.54 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
params {
readDir = "reads"
resultsDir = "results"
library = "library.txt"
barcodes = 'barcodes.txt'
forward_stranded = true
barcode_random_length = 6
barcode_demux_mismatches = 1
barcode_demux_length = 4
spacer_length = 20
padding_base = 'G'
}
timeline {
enabled = true
}
singularity {
enabled = true
}
process {
container = 'docker://zuberlab/crispr-nf'
errorStrategy = 'retry'
maxRetries = 3
maxForks = 20
cpus = 1
time = { 1.h * task.attempt }
memory = { 1.GB * task.attempt }
$bam_to_fastq {
cpus = 2
time = { 2.h * task.attempt }
}
$trim_random_barcode {
cpus = 2
time = { 2.h * task.attempt }
}
$demultiplex {
cpus = 2
time = { 2.h * task.attempt }
}
$trim_barcode_and_spacer {
cpus = 2
time = { 2.h * task.attempt }
}
$align {
cpus = { 6 * task.attempt }
memory = { 3.GB * task.attempt }
}
$fastqc {
time = { 2.h * task.attempt }
memory = 10.GB
}
$count {
cpus = 2
memory = { 3.GB * task.attempt}
}
$combine_counts {
memory = { 3.GB * task.attempt}
}
}
profiles {
standard {
process.executor = 'local'
process.container = '/groups/zuber/zubarchive/GROUPS/Bioinfo/singularity/crispr-nf.img'
process.maxForks = 3
}
sge {
process.executor = 'sge'
process.penv = 'smp'
process.queue = 'public.q'
process.container = '/groups/zuber/zubarchive/GROUPS/Bioinfo/singularity/crispr-nf.img'
}
slurm {
process.executor = 'slurm'
process.clusterOptions = '--qos=short'
}
local {
process.executor = 'local'
singularity.enabled = false
process.maxForks = 3
}
}