generated from Wang-Bioinformatics-Lab/Nextflow_Workflow_Template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathworkflowinput.yaml
216 lines (193 loc) · 6.01 KB
/
workflowinput.yaml
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
workflowname: librarysearch_workflow
workflowdescription: librarysearch_workflow
workflowlongdescription: This is a library search workflow for GNPS2
workflowversion: "2025.02.21"
workflowfile: nf_workflow.nf
workflowautohide: false
adminonly: false
#This maps the parameters from an input form to those that will appear in nextflow
parameterlist:
- displayname: File Selection
paramtype: section
- displayname: Input Data Folder
paramtype: fileselector
nf_paramname: inputspectra
formplaceholder: Enter the path to search data
formvalue: ""
targettaskfolder: inputspectra
optional: false
selectsinglefile: false
folderunroll: false
- displayname: Input Library Folder
paramtype: fileselector
nf_paramname: inputlibraries
formplaceholder: Enter the path to search libraries
formvalue: "LIBRARYLOCATION/LC/LIBRARY"
targettaskfolder: inputlibraries
optional: false
selectsinglefile: false
folderunroll: true
- displayname: Search Parameters
paramtype: section
- displayname: Search Tool
paramtype: select
nf_paramname: searchtool
formvalue: gnps
options:
- value: gnps
display: gnps
- value: gnps_new
display: gnps_new
- value: blink
display: blink
- displayname: Precursor Ion Tolerance
paramtype: text
nf_paramname: pm_tolerance
formplaceholder: Enter the pm_tolerance
formvalue: "2.0"
tooltip: "pm_tolerance"
showif:
- condition:
- key: searchtool
value: gnps
- condition:
- key: searchtool
value: gnps_new
- displayname: Fragment Ion Tolerance
paramtype: text
nf_paramname: fragment_tolerance
formplaceholder: Enter the fragment_tolerance
formvalue: "0.5"
tooltip: "fragment_tolerance"
- displayname: Library Minimum Similarity Score
paramtype: text
nf_paramname: library_min_similarity
formplaceholder: Enter the library minimum similarity score
formvalue: "0.7"
showif:
- condition:
- key: searchtool
value: gnps
- condition:
- key: searchtool
value: gnps_new
- displayname: Library Minimum Matched Peaks
paramtype: text
nf_paramname: library_min_matched_peaks
formplaceholder: Enter the library_min_matched_peaks
formvalue: "6"
showif:
- condition:
- key: searchtool
value: gnps
- condition:
- key: searchtool
value: gnps_new
# Analog Search
- displayname: Analog Search
paramtype: select
nf_paramname: analog_search
formvalue: "0"
options:
- value: "0"
display: "No"
- value: "1"
display: "Yes"
showif:
- condition:
- key: searchtool
value: gnps
- condition:
- key: searchtool
value: gnps_new
- displayname: Top-K
paramtype: text
nf_paramname: topk
formplaceholder: Enter the topk
formvalue: "1"
- displayname: Filter Only To Compounds with Structures
paramtype: select
nf_paramname: filtertostructures
formplaceholder: Enter the topk
formvalue: "0"
options:
- value: "0"
display: "No"
- value: "1"
display: "Yes"
- displayname: gnps_new Parameters
paramtype: section
showif:
- condition:
- key: searchtool
value: gnps_new
- displayname: Searching Algorithm
paramtype: select
nf_paramname: search_algorithm
formvalue: cosine
options:
- value: cos
display: cosine
- value: rev_cos
display: reverse cosine
- value: entropy
display: entropy similarity
- value: rev_entropy
display: reverse entropy similarity
showif:
- condition:
- key: searchtool
value: gnps_new
- displayname: Peak intensity transformation
paramtype: select
nf_paramname: peak_transformation
formvalue: sqrt
options:
- value: none
display: No peak transformation applied
- value: sqrt
display: Square root transformation
tooltip: "Sqrt transformation is only applied when (reverse) cosine similarity is used. Entropy similarity is not designed for transformed intensities."
showif:
- condition:
- key: searchtool
value: gnps_new
- displayname: Unmatched peak penalty factor (for reverse search)
paramtype: text
nf_paramname: unmatched_penalty_factor
formplaceholder: Enter the unmatched_penalty_factor (0-1, designed for reverse spectral search, peak intensity will be penalized by this factor if it is not matched)
formvalue: "0.6"
tooltip: "This only works for reverse search. Peak intensity will be penalized by this factor if it is unmatched. A factor of 0 means no penalty, ie. traditional cosine similarity. A factor of 1 means full penalty, ie. traditional reverse cosine similarity."
showif:
- condition:
- key: searchtool
value: gnps_new
- displayname: Blink Parameters
paramtype: section
showif:
- condition:
- key: searchtool
value: blink
- displayname: Ion Mode
paramtype: select
nf_paramname: blink_ionization
formvalue: positive
options:
- value: positive
display: positive
- value: negative
display: negative
showif:
- condition:
- key: searchtool
value: blink
- displayname: Minimum BLINK Predicted Score
paramtype: text
nf_paramname: blink_minpredict
formplaceholder: Enter the blink_minpredict
formvalue: "0.0075"
tooltip: "blink_minpredict"
showif:
- condition:
- key: searchtool
value: blink