annotate galaxy/tools/LC-MSMS/XSeekerPreparator.xml @ 0:1660665c081e draft

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