annotate XSeekerPreparator.xml @ 14:00079fadc240 draft

" master branch Updating"
author lain
date Tue, 01 Jun 2021 09:47:15 +0000
parents 26f01380145d
children b349282e7001
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
1 <tool id="xseeker_preparator"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
2 name="XSeeker Preparator"
14
00079fadc240 " master branch Updating"
lain
parents: 13
diff changeset
3 version="1.2.2"
2
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
4 >
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
5 <description>Prepare RData file from CAMERA to be visualized in XSeeker</description>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
6
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
7 <edam_operations>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
8 <edam_operation>operation_1812</edam_operation>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
9 <edam_operation>operation_0335</edam_operation>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
10 </edam_operations>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
11
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
12 <requirements>
4
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
13 <requirement type="package" version="3.12.0">bioconductor-xcms</requirement>
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
14 <requirement type="package">bioconductor-camera</requirement>
14
00079fadc240 " master branch Updating"
lain
parents: 13
diff changeset
15 <requirement type="package" version="2.29.2">git</requirement>
4
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
16 <requirement type="package" version="1.2.1">r-blob</requirement>
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
17 <requirement type="package" version="1.1.0">r-dbi</requirement>
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
18 <requirement type="package" version="0.9.4">r-fst</requirement>
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
19 <requirement type="package" version="1.6.6">r-optparse</requirement>
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
20 <requirement type="package" version="1.4.0">r-stringr</requirement>
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
21 <requirement type="package" version="0.3.4">r-purrr</requirement>
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
22 <requirement type="package" version="2.2.1">r-rsqlite</requirement>
14
00079fadc240 " master branch Updating"
lain
parents: 13
diff changeset
23 <requirement type="package" version="0.2.0">r-dbmodelr</requirement>
2
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
24 </requirements>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
25 <stdio>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
26
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
27 <exit_code
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
28 range="1"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
29 level="warning"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
30 description="Selected samples have no data associated to them."
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
31 />
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
32
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
33 <exit_code
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
34 range="2"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
35 level="warning"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
36 description="Some samples have no data associated to them."
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
37 />
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
38
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
39 </stdio>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
40
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
41 <version_command>
4
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
42 Rscript '$__tool_directory__/XSeekerPreparator.R' -v
2
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
43 </version_command>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
44
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
45 <command>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
46 <![CDATA[
4
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
47 Rscript '$__tool_directory__/XSeekerPreparator.R'
2
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
48
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
49 -P
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
50
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
51 --input '$input'
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
52 --output '$output'
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
53
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
54 #if $samples.selected
4
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
55 --samples '${",".join($samples.selected)}'
2
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
56 #end if
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
57
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
58 #if $database.archetypes
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
59 --archetype '${",".join($database.archetypes)}'
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
60 #end if
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
61
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
62 #if $database.base.kind == "tabular"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
63 --compounds-csv '${database.base.tabular}'
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
64 #else if $database.base.kind == "sql"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
65 --database '${database.base.sql}'
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
66 #end if
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
67
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
68 #if $database.models.kind == "default"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
69 --models '${base_config}'
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
70 #else
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
71 --models '${database.models.url}'
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
72 #end if
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
73
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
74 ]]>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
75
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
76 </command>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
77
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
78 <inputs>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
79 <param
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
80 name="input"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
81 type="data"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
82 multiple="false"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
83 label="Rdata to prepare"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
84 optional="false"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
85 format="rdata"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
86 >
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
87 </param>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
88 <section name="samples" title="Samples Options" expanded="false">
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
89 <param
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
90 name="selected"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
91 type="data"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
92 multiple="true"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
93 label="Samples to visualize"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
94 optional="true"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
95 format="mzml"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
96 >
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
97 </param>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
98 </section>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
99
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
100 <section name="database" title="Database Options" expanded="false">
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
101 <param
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
102 name="archetypes"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
103 type="select"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
104 multiple="true"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
105 label="Molecule family (for database's compounds enrichment)"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
106 >
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
107 <option value="G" selected="true">General</option>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
108 <option value="H">Halogenates</option>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
109 </param>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
110
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
111 <conditional name="base">
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
112 <param name="kind" type="select" label="File containing compound's type">
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
113 <option value="none" selected="true">None (deafult)</option>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
114 <option value="tabular">tabular</option>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
115 <option value="sql">sql</option>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
116 </param>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
117 <when value="tabular">
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
118 <param
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
119 name="tabular"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
120 type="data"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
121 multiple="true"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
122 label="Tabular file containing compound to use in XSeeker"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
123 optional="true"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
124 format="tabular"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
125 >
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
126 </param>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
127 </when>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
128 <when value="sql">
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
129 <param
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
130 name="sql"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
131 type="data"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
132 multiple="true"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
133 label="SQL file containing compound to use in XSeeker"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
134 optional="true"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
135 format="sql"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
136 >
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
137 </param>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
138 </when>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
139 </conditional>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
140
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
141 <conditional name="models">
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
142 <param name="kind" type="select" label="How is the database's model defined">
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
143 <option value="default" selected="true">Default (regular XSeeker Database)</option>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
144 <option value="url">Download model file</option>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
145 <option value="git">Get versionned model file</option>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
146 </param>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
147 <when value="url">
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
148 <param name="url" type="text" format="url" label="File URL"/>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
149 </when>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
150 <when value="git">
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
151 <param name="url" type="text" format="url" label="Repo URL"/>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
152 </when>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
153 </conditional>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
154 </section>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
155 </inputs>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
156
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
157
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
158 <outputs>
3
fa97d16330be " master branch Updating"
lain
parents: 2
diff changeset
159 <data format="sqlite" name="output" />
4
8cc9fc8eacac " master branch Updating"
lain
parents: 3
diff changeset
160 <!-- <data format="xseeker.sqlite" name="output" /> -->
2
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
161 </outputs>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
162
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
163 <configfiles>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
164 <configfile name="base_config">
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
165 tryCatch({
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
166 DBModelR::ModelDefinition(table="yui", fields=list(yui="INTEGER"))
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
167 }, error=function(e) {
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
168 stop("Please, install DBModelR before you source this file.")
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
169 })
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
170
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
171 list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
172 adduct=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
173 table="adduct",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
174 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
175 name="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
176 mass="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
177 charge="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
178 multi="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
179 formula_add="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
180 formula_ded="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
181 sign="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
182 oidscore="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
183 quasi="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
184 ips="FLOAT"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
185 )
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
186 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
187 cluster=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
188 table="cluster",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
189 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
190 clusterID="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
191 formula="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
192 annotation="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
193 coeff="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
194 r_squared="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
195 charge="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
196 mean_rt="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
197 score="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
198 deviation="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
199 status="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
200 curent_group="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
201 pc_group="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
202 align_group="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
203 xcms_group="INTEGER"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
204 ),
12
bdb2878ee189 " master branch Updating"
lain
parents: 11
diff changeset
205 one=list("sample", "compound", "adduct")
2
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
206 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
207 compound=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
208 table="compound",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
209 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
210 name="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
211 common_name="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
212 formula="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
213 charge="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
214 date="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
215 mz="FLOAT"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
216 )
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
217 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
218 feature=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
219 table="feature",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
220 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
221 featureID="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
222 mz="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
223 mz_min="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
224 mz_max="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
225 rt="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
226 rt_min="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
227 rt_max="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
228 int_o="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
229 int_b="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
230 max_o="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
231 iso="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
232 abundance="FLOAT"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
233 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
234 one=list("cluster")
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
235 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
236 instrument=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
237 table="instrument",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
238 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
239 model="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
240 manufacturer="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
241 analyzer="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
242 detector_type="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
243 ion_source="TEXT"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
244 )
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
245 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
246 instrument_config=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
247 table="instrument_config",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
248 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
249 resolution="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
250 agc_target="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
251 maximum_IT="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
252 number_of_scan_range="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
253 scan_range="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
254 version="TEXT"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
255 )
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
256 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
257 project=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
258 table="project",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
259 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
260 name="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
261 comment="TEXT"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
262 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
263 one=list("sample")
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
264 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
265 sample=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
266 table="sample",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
267 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
268 name="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
269 path="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
270 polarity="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
271 kind="TEXT", ## rdata or mxml or enriched_rdata
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
272 raw="BLOB"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
273 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
274 one=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
275 "peak_picking_parameters",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
276 "pairing_parameters",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
277 "alignmenmt_parameters",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
278 "camera_parameters",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
279 "instrument",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
280 "instrument_config",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
281 "software",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
282 "smol_xcms_set"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
283 )
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
284 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
285 smol_xcms_set=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
286 table="smol_xcms_set",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
287 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
288 raw="BLOB"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
289 )
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
290 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
291 software=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
292 table="software",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
293 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
294 name="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
295 version="TEXT"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
296 )
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
297 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
298 peak_picking_parameters=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
299 table="peak_picking_parameters",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
300 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
301 ppm="FLOAT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
302 peakwidth="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
303 snthresh="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
304 prefilterStep="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
305 prefilterLevel="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
306 mzdiff="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
307 fitgauss="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
308 noise="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
309 mzCenterFun="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
310 integrate="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
311 firstBaselineCheck="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
312 snthreshIsoROIs="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
313 maxCharge="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
314 maxIso="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
315 mzIntervalExtension="TEXT"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
316 )
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
317 ),
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
318 alignmenmt_parameters=DBModelR::ModelDefinition(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
319 table="alignmenmt_parameters",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
320 fields=list(
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
321 binSize="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
322 centerSample="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
323 response="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
324 distFun="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
325 gapInit="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
326 gapExtend="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
327 factorDiag="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
328 factorGap="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
329 localAlignment="INTEGER",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
330 initPenalty="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
331 bw="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
332 minFraction="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
333 minSamples="TEXT",
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
334 maxFeatures="TEXT"
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
335 )
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
336 )
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
337 )
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
338 </configfile>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
339 </configfiles>
eb7756ab1cbd " master branch Updating"
lain
parents:
diff changeset
340 </tool>