annotate galaxy/tools/LC-MSMS/XSeekerPreparator.xml @ 1:1c2ce385b84e draft

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