annotate riassigner.xml @ 3:8c5e65adf694 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
author recetox
date Thu, 12 Oct 2023 13:31:32 +0000
parents 4e47a0fa9287
children 4abc4359b978
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
8c5e65adf694 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents: 2
diff changeset
1 <tool id="riassigner" name="RIAssigner" version="@TOOL_VERSION@+galaxy4" profile="21.09">
0
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
2
4e47a0fa9287 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit e8d838b42298fb282581f05397451ee450e3600e
recetox
parents: 0
diff changeset
8 <xrefs>
4e47a0fa9287 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit e8d838b42298fb282581f05397451ee450e3600e
recetox
parents: 0
diff changeset
9 <xref type="bio.tools">riassigner</xref>
4e47a0fa9287 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit e8d838b42298fb282581f05397451ee450e3600e
recetox
parents: 0
diff changeset
10 </xrefs>
4e47a0fa9287 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit e8d838b42298fb282581f05397451ee450e3600e
recetox
parents: 0
diff changeset
11
0
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
12 <requirements>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
13 <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
14 </requirements>
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 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
17 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
18 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
19 ]]>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
20 </command>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
21
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
22 <inputs>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
23 <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
24 <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
25 <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
26 <help><![CDATA[
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
27 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
28 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
29 ]]></help>
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 <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
32 <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
33 <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
34 </param>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
35 </section>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
36 <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
37 <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
38 <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
39 <help><![CDATA[
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
40 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
41 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
42 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
43 ]]></help>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
44 </param>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
45 <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
46 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
47 <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
48 <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
49 </param>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
50 </section>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
51 <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
52 <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
53 <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
54 </param>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
55 </inputs>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
56
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
57 <outputs>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
58 <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
59 metadata_source="query"/>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
60 </outputs>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
61
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
62 <tests>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
63 <test>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
64 <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
65 <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
66 <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
67 <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
68 <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
69 <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
70 </test>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
71 </tests>
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 <![CDATA[
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
75 @HELP@
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
76 ]]>
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
77 </help>
3
8c5e65adf694 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents: 2
diff changeset
78
8c5e65adf694 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents: 2
diff changeset
79 <citations>
8c5e65adf694 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents: 2
diff changeset
80 <citation type="doi">10.21105/joss.04337</citation>
8c5e65adf694 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit b1cc1aebf796f170d93e3dd46ffcdefdc7b8018a
recetox
parents: 2
diff changeset
81 </citations>
0
f6bf8f1f3224 "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/riassigner commit 4d2ac914c951166e386a94d8ebb8cb1becfac122"
recetox
parents:
diff changeset
82 </tool>