-
Notifications
You must be signed in to change notification settings - Fork 2
/
nextflow.config
77 lines (68 loc) · 1.77 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
params {
// Input parameters
readsfile = "sampleslist.csv"
project_name = "TCR_MHE_PROJECT"
chain = 'TRB' //chain should be one of 'TRA' or 'TRB'
mcpas = "data/ddbb/McPAS-TCR.csv"
vdjdb = "data/ddbb/VDJdb-TCR.tsv"
specie = 'HomoSapiens' //specie should be one of 'HomoSapiens' or 'MusMusculus'
outdir = 'results'
// Resources
memory = 3.GB
cpus = 2
time = 1.h
// Logging
tracedir = "${params.outdir}/performance-info"
}
process {
cache = true
withLabel: all_cpu {
cpus = params.cpus
}
// Specify here the MiXCR container
withLabel: mixcr {
container = 'milaboratory/mixcr:latest'
}
// Specify here the container with the R dependencies
withLabel: mhecd4tcr {
container = 'ssnnm/mhecd4tcr:0.1.0'
}
}
def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
timeline {
enabled = true
file = "${params.tracedir}/execution_timeline_${trace_timestamp}.html"
}
report {
enabled = true
file = "${params.tracedir}/execution_report_${trace_timestamp}.html"
}
trace {
enabled = true
file = "${params.tracedir}/execution_trace_${trace_timestamp}.txt"
}
dag {
enabled = true
file = "${params.tracedir}/pipeline_dag_${trace_timestamp}.svg"
}
profiles {
standard {
process.executor = 'local'
}
docker {
docker.enabled = true
singularity.enabled = false
docker.runOptions = '-u $(id -u):$(id -g)'
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
docker.enabled = false
}
slurm {
process.executor = 'slurm'
queue = 'general'
scratch = 'true'
singularity.enabled = true
}
}