annotate riassigner.xml @ 1:c702620c22b1 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 3a85c62de7eb3d9c59a557676729f47fa35bb061
author recetox
date Mon, 03 Apr 2023 14:52:35 +0000
parents f6bf8f1f3224
children 4e47a0fa9287
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
1 <tool id="riassigner" name="RIAssigner" version="@TOOL_VERSION@+galaxy1" profile="19.05">
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
2 <description>compute retention indices</description>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
3 <macros>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
4 <import>macros.xml</import>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
5 </macros>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
6 <expand macro="creator"/>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
7
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
8 <requirements>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
9 <requirement type="package" version="@TOOL_VERSION@">riassigner</requirement>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
10 </requirements>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
11
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
13 python -m RIAssigner --reference "$reference_section.reference" "$reference_section.reference.ext" "$reference_section.reference_rt_units" --query "$query_section.query" "$query_section.query.ext" "$query_section.query_rt_units" --method "$method" --output "output.${query_section.query.ext}" &&
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
14 cp -r 'output.${query_section.query.ext}' '${output}'
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
15 ]]>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
16 </command>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
17
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
18 <inputs>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
19 <section name="query_section" title="Query dataset" expanded="true">
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
20 <param name="query" type="data" format="csv,tsv,msp">
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
21 <label>Query compound list</label>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
22 <help><![CDATA[
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
23 A list of compounds with retention times for which to compute the retention index.
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
24 Expected columns for RT (oneof): ['rt', 'retention_time'].
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
25 ]]></help>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
26 </param>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
27 <param name="query_rt_units" type="select" display="radio" help="Retention time units in the query file.">
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
28 <option value="seconds" selected="true">Seconds</option>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
29 <option value="min">Minutes</option>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
30 </param>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
31 </section>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
32 <section name="reference_section" title="Reference dataset" expanded="true">
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
33 <param name="reference" type="data" format="csv,tsv,msp">
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
34 <label>Reference compound list</label>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
35 <help><![CDATA[
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
36 A list of retention time and retention index pairs.
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
37 Expected columns for RT (oneof): ['rt', 'retention_time'].
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
38 Expected columns for RI (oneof): ['carbon_number', 'ri', 'retention_index'].
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
39 ]]></help>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
40 </param>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
41 <param name="reference_rt_units" type="select" display="radio"
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
42 help="Retention time units in the reference file.">
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
43 <option value="seconds" selected="true">Seconds</option>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
44 <option value="min">Minutes</option>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
45 </param>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
46 </section>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
47 <param label="Computation method" name="method" type="select" display="radio" help="Computation method to use.">
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
48 <option value="kovats" selected="true">Kovats</option>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
49 <option value="cubicspline">CubicSpline</option>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
50 </param>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
51 </inputs>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
52
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
53 <outputs>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
54 <data label="RI using $method of ${query_section.query.element_identifier}" name="output" format_source="query"
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
55 metadata_source="query"/>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
56 </outputs>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
57
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
58 <tests>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
59 <test>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
60 <param name="query" value="aplcms_aligned_peaks.csv" ftype="csv"/>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
61 <param name="query_rt_units" value="seconds"/>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
62 <param name="reference" value="Alkanes_20210325.csv" ftype="csv"/>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
63 <param name="reference_rt_units" value="seconds"/>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
64 <param name="method" value="kovats"/>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
65 <output name="output" file="results.csv" ftype="csv"/>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
66 </test>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
67 </tests>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
68
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
69 <help>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
70 <![CDATA[
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
71 @HELP@
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
72 ]]>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
73 </help>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
74 </tool>