forked from nrminor/E484T-visualizations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
131 lines (110 loc) · 2.92 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
// workflow configuration parameters
params {
// important auxiliary files
primer_key = "$baseDir/resources/fig2b_raw_read_guide.csv"
refseq = "$baseDir/resources/reference.fasta"
refgff = "$baseDir/resources/MN9089473.gff3"
consensus_seqs = "$baseDir/data/alltimepoints_20220222.fasta"
Ct_data = "$baseDir/data/Ct_timeline.csv"
neut_data = "$baseDir/data/antibody_potency.csv"
// directories
refdir = "$baseDir/resources"
results = "$baseDir/results"
results_data_files = "$baseDir/results/data"
visuals = "$baseDir/results/visuals"
// choose whether to TAR and compress all intermediate data
tar_data = false
}
// Docker settings
process {
withName:PANGO_CLASSIFICATION {
container = 'staphb/pangolin:4.1.2-pdata-1.13'
}
withName:FIGURE_1A_PLOTTING {
container = 'nrminor/wisc-prolonged-infection:v1_0_4'
}
withName:ISOLATING_CONSENSUS_SEQS {
container = 'nrminor/wisc-prolonged-infection:v1_0_4'
}
withName:CONSENSUS_ALIGNMENT {
container = 'staphb/minimap2:2.24'
}
withName:CONSENSUS_PILEUP {
container = 'staphb/samtools:1.15'
}
withName:CONSENSUS_VARIANT_CALLING {
container = 'staphb/ivar:1.3.1-titan'
}
withName:GET_ONT_READS {
container = 'nrminor/wisc-prolonged-infection:v1_0_4'
}
withName:ONT_READ_MAPPING {
container = 'staphb/minimap2:2.24'
}
withName:ONT_ALIGNMENT_POLISHING {
container = 'staphb/samtools:1.15'
}
withName:ONT_LOWCOV_ANNOTATION {
container = 'andreatelatin/covtobed:latest'
}
withName:GET_ILL_READS {
container = 'nrminor/wisc-prolonged-infection:v1_0_4'
}
withName:ILL_READ_MAPPING {
container = 'staphb/minimap2:2.24'
}
withName:ILL_ALIGNMENT_POLISHING {
container = 'staphb/samtools:1.15'
}
withName:ILL_LOWCOV_ANNOTATION {
container = 'andreatelatin/covtobed:latest'
}
withName:FIGURE_2A_PLOTTING {
container = 'nrminor/wisc-prolonged-infection:v1_0_4'
}
withName:FIGURE_2C_PLOTTING {
container = 'nrminor/wisc-prolonged-infection:v1_0_4'
}
}
docker {
enabled = true
}
// Changing default DAG-visualizing configuration to true
dag {
enabled = true
overwrite = true
file = 'prolonged_infection_dag.png'
}
// Changing default to collecting run stats
timeline {
enabled = false
file = "${params.results}/timeline.html"
}
report {
enabled = true
file = "${params.results}/report.html"
}
trace {
enabled = true
fields = 'task_id,name,status,exit,realtime,%cpu,%mem,rss,vmem,peak_rss,peak_vmem,rchar,wchar'
file = "${params.results}/trace.txt"
}
// Setting profiles
profiles {
standard {
process.executor = 'local'
}
chtc {
process.executor = 'condor'
process.cpus = 1
process.disk = '2 GB'
process.memory = '2 GB'
}
}
manifest {
homePage = 'https://github.com/dholab/E484T-visualizations'
mainScript = 'prolonged_infection_workflow.nf'
defaultBranch = 'main'
description = 'Data visualization for manuscript on persistent infection that led to globally unique E484T mutation'
author = 'Nicholas R. Minor'
}