-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathnextflow.config
More file actions
97 lines (78 loc) · 2.06 KB
/
nextflow.config
File metadata and controls
97 lines (78 loc) · 2.06 KB
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
91
92
93
94
95
96
97
params {
// copy output out for all steps or not
// See: https://www.nextflow.io/docs/latest/process.html
publish_dir_mode = 'copy'
// DNAseq or scRNAseq
mode = "scRNAseq"
// generic
publish_dir = "${projectDir}/output"
clone_barcodes_reference = "${projectDir}/data/known_barcodes_subset.txt"
barcode_edit_distance = 2
n_chunks = 2
barcode_length = 20
// mapping may need long time, so use either long_mapping or regular_mapping
mapping_process_profile = "regular_mapping"
// for DNA-seq data
dnaseq_fastq_files = "${projectDir}/data/dnaseq_fastq_files"
fastp_percent_bases_unqualified = 20
fastp_phred_for_qualified_reads = 30
// for clonmapper single cell data
// change me if required
scrnaseq_bam_files = "${projectDir}/data/scrnaseq_bam_files"
phred_thres = 30
adapter_edit_distance = 6
adapter_5prime = "ATCTTGTGGAAAGGACGAAACACCG"
adapter_3prime = "GTTTCAGAGCTATGCTGGAAACAGC"
}
conda {
enabled = true
useMamba = false
useMicromamba = false
createOptions = '--yes'
}
nextflow {
enable.dsl = 2
}
// Profiles for the processes.
process {
executor = 'slurm'
publishDir = [
mode: params.publish_dir_mode,
path: params.publish_dir
]
// Process-specific resource requirements
// See https://www.nextflow.io/docs/latest/config.html#config-process-selectors
withLabel: medium {
cpus = 8
memory = 8.GB
time = 2.h
}
withLabel: small {
cpus = 4
memory = 8.GB
time = 2.h
}
// If the mapping require a long time, depending on the chunk size.
withLabel: long_mapping {
cpus = 2
memory = 8.GB
time = 96.h
queue = 'long'
}
withLabel: regular_mapping {
cpus = 4
memory = 10.GB
time = 48.h
queue = 'regular'
}
withLabel: medium_mem {
cpus = 12
memory = 32.GB
time = 24.h
}
withLabel: small_mem {
cpus = 4
memory = 24.GB
time = 4.h
}
}