-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
91 lines (79 loc) · 2.48 KB
/
Copy pathnextflow.config
File metadata and controls
91 lines (79 loc) · 2.48 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
params {
// main input files
mudata = null
r_config = "${projectDir}/bin/Analysis/config.yml"
mae_object = null
temp_file = null
isa_file = null
output = "."
// Input files from directories
support_functions = "${projectDir}/bin/support_functions"
// Temp files for debugging
markers_dir = "."
neuron_markers = "${params.markers_dir}/Neuron_markers.csv"
tmem_markers = "${params.markers_dir}/TMEM_mappings.csv"
sympathic_markers = "${params.markers_dir}/Sympathic_marker_genes.csv"
alt_omics_dir = "."
lipid_class_data = "${params.alt_omics_dir}/lipidomics_T_Class_data.csv"
mtblmcs_tech = "${params.alt_omics_dir}/metabolomics_tml_data_tech_rep_complete.csv"
prot_tech = "${params.alt_omics_dir}/proteomics_data_tech_reps_complete.csv"
meth_dir = "."
meth_ipsc_raw = "${params.meth_dir}/iPSC_h5_raw"
meth_ipsc_qc = "${params.meth_dir}/iPSC_h5_QC_SNP_filtered"
meth_neuron_raw = "${params.meth_dir}/h5_raw"
meth_neuron_qc = "${params.meth_dir}/h5_QC_SNP_filtered"
meth_neuron_sub = "${params.meth_dir}/h5_QC_SNP_filtered_sub_SD"
mofa_scores = null
container_dir = "."
use_chunks = false
use_corrected = false
help = false
cpus = 32
}
// Load nf-pipeline-setup
includeConfig './conf/modules.config'
// Limits your processes by the max cpus
executor {
$local {
cpus = params.cpus
}
}
// start nextflow with a profile with `-profile dre`
profiles {
docker {
docker.enabled = true
docker.runOptions = '-u $(id -u):$(id -g) --rm --security-opt=no-new-privileges'
singularity.enabled = false
}
singularity {
singularity.enabled = true
singularity.ociAutoPull = false
singularity.cacheDir = "${projectDir}/cache"
docker.enabled = false
}
dre {
includeConfig './conf/dre.config'
singularity.enabled = true
singularity.ociAutoPull = false
singularity.cacheDir = "${projectDir}/cache"
docker.enabled = false
}
}
def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
timeline {
enabled = true
file = "${params.output}/execution_timeline_${trace_timestamp}.html"
}
report {
enabled = true
file = "${params.output}/execution_report_${trace_timestamp}.html"
}
trace {
enabled = true
file = "${params.output}/execution_trace_${trace_timestamp}.txt"
fields = 'task_id,name,process,status,exit,realtime,%cpu,cpus,container,rss'
}
dag {
enabled = true
file = "${params.output}/pipeline_dag_${trace_timestamp}.html"
}