annotate XSeekerPreparator.xml @ 19:2937e72e5891 draft

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