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

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