comparison riassigner.xml @ 0:f6bf8f1f3224 draft

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