annotate XSeekerPreparator.xml @ 5:4d50e9324082 draft

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