comparison macros.xml @ 0:cfd2e19f00a9 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit 1ab1a1dabfcebe11720de1411927a7438c1b64c1
author recetox
date Mon, 26 Jun 2023 13:55:56 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:cfd2e19f00a9
1 <macros>
2 <token name="@TOOL_VERSION@">0.10.0</token>
3
4 <xml name="requirements">
5 <requirements>
6 <requirement type="package" version="@TOOL_VERSION@">r-recetox-xmsannotator</requirement>
7 </requirements>
8 </xml>
9
10 <xml name="creator">
11 <creator>
12 <person
13 givenName="Jiří"
14 familyName="Novotný"
15 url="https://github.com/xtracko"
16 identifier="0000-0001-5449-3523" />
17 <person
18 givenName="Martin"
19 familyName="Čech"
20 url="https://github.com/martenson"
21 identifier="0000-0002-9318-1781" />
22 <person
23 givenName="Matej"
24 familyName="Troják"
25 url="https://github.com/xtrojak"
26 identifier="0000-0003-0841-2707" />
27 <organization
28 url="https://www.recetox.muni.cz/"
29 email="GalaxyToolsDevelopmentandDeployment@space.muni.cz"
30 name="RECETOX MUNI" />
31 </creator>
32 </xml>
33
34 <xml name="inputs">
35 <param name="metadata_table" type="data" format="parquet,csv">
36 <label>Metadata table</label>
37 <help><![CDATA[
38 Peak metadata table*.
39 ]]></help>
40 </param>
41 <param name="intensity_table" type="data" format="parquet,csv">
42 <label>Intensity table</label>
43 <help><![CDATA[
44 Table with intensities** for features (rows) across samples (columns).
45 ]]></help>
46 </param>
47 <param name="compound_table" type="data" format="parquet,csv">
48 <label>Compound database</label>
49 <help><![CDATA[
50 Database of compounds according to which the annotation is performed.
51 The database is required to contain the fields <em>compound_id</em>, <em>monoisotopic_mass</em>, and <em>molecular_formula</em>.
52 ]]></help>
53 </param>
54 <param name="adduct_table" type="data" format="parquet,csv" optional="true">
55 <label>Adduct database</label>
56 <help><![CDATA[
57 Database of adduct which is combined with the database of compound to form a molecule-adduct pairs.
58 The database is required to contain <em>adduct</em>, <em>charge</em>, <em>mass</em>, and <em>n_molecules</em>.
59 ]]></help>
60 </param>
61 <param name="adduct_weights" type="data" format="parquet,csv" optional="true">
62 <label>Adduct weights</label>
63 <help>
64 A weight-by-adduct table.
65 </help>
66 </param>
67 </xml>
68
69 <xml name="outputs">
70 <data name="output_file" format="parquet">
71 <change_format>
72 <when input="metadata_table.ext" value="csv" format="csv" />
73 </change_format>
74 </data>
75 </xml>
76
77 <xml name="tolerance">
78 <param name="mass_tolerance_ppm" type="integer" min="0" value="5">
79 <label>Mass tolerance [ppm]</label>
80 <help>Mass tolerance in ppm for database matching.</help>
81 </param>
82 <yield/>
83 </xml>
84
85 <token name="@HELP@">
86 Description
87 ===========
88
89 Annotate the peak intensity table (e.g. from an apLCMS run) with compounds from the compounds database
90 using advanced methods.
91
92 The annotation process generates all possible compound-adduct pairs and matches those pairs to the measured
93 peaks. A compound-adduct pair is pronounced as a match to a certain peak when the difference of their masses are
94 withing some tolerance.
95
96 Then, a score and a confidence level is assigned to each match based on peak correlation
97 clustering, metabolite pathway associations, adducts expectations, and isotope conformations.
98
99 Input tables description
100 ------------------------
101
102 (*) Metadata table
103 ~~~~~~~~~~~~~~~~~~
104
105 The output from recetox-aplcms tool.
106 The `npeaks` column denotes the number of peaks which have been grouped into this feature.
107 The columns with the sample names indicate whether this feature is present in the sample.
108 Only id, mz, and rt columns are required to be present.
109
110 +-------+--------------+--------------+---------------+----------------+---------------+---------------+-----------+------------------------+------------------------+------------------------+
111 | id | mz | mzmin | mzmax | rt | rtmin | rtmax | npeaks | 21_qc_no_dil_milliq | 29_qc_no_dil_milliq | 8_qc_no_dil_milliq |
112 +=======+==============+==============+===============+================+===============+===============+===========+========================+========================+========================+
113 | 1 | 70.03707021 | 70.037066 | 70.0370750 | 294.1038014 | 294.0634942 | 294.149985 | 3 | 1 | 1 | 1 |
114 +-------+--------------+--------------+---------------+----------------+---------------+---------------+-----------+------------------------+------------------------+------------------------+
115 | 2 | 70.06505677 | 70.065045 | 70.0650676 | 141.9560055 | 140.5762528 | 143.335758 | 2 | 1 | 0 | 1 |
116 +-------+--------------+--------------+---------------+----------------+---------------+---------------+-----------+------------------------+------------------------+------------------------+
117 | 57 | 78.04643252 | 78.046429 | 78.0464325 | 294.0063397 | 293.9406777 | 294.072001 | 2 | 1 | 1 | 0 |
118 +-------+--------------+--------------+---------------+----------------+---------------+---------------+-----------+------------------------+------------------------+------------------------+
119 | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
120 +-------+--------------+--------------+---------------+----------------+---------------+---------------+-----------+------------------------+------------------------+------------------------+
121
122 (**) Intensity table
123 ~~~~~~~~~~~~~~~~~~~~
124
125 The output from recetox-aplcms tool.
126 This table contains the peak area for aligned features in all samples.
127
128 +-------+------------------------+------------------------+------------------------+
129 | id | 21_qc_no_dil_milliq | 29_qc_no_dil_milliq | 8_qc_no_dil_milliq |
130 +=======+========================+========================+========================+
131 | 1 | 13187487.20482895 | 7957395.699119729 | 11700594.397257797 |
132 +-------+------------------------+------------------------+------------------------+
133 | 2 | 2075168.6398983458 | 0 | 2574362.159289044 |
134 +-------+------------------------+------------------------+------------------------+
135 | 57 | 2934524.4406785755 | 1333044.5065971944 | 0 |
136 +-------+------------------------+------------------------+------------------------+
137 | ... | ... | ... | ... |
138 +-------+------------------------+------------------------+------------------------+
139 </token>
140
141 <xml name="citations">
142 <citation type="doi">10.1021/acs.analchem.6b01214</citation>
143 </xml>
144 </macros>