annotate galaxy/tools/LC-MSMS/XSeekerPreparator.xml @ 4:8cc9fc8eacac draft

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