comparison recetox_aplcms_compute_template.xml @ 0:38469e025939 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 506df2aef355b3791567283e1a175914f06b405a
author recetox
date Mon, 13 Feb 2023 10:27:35 +0000
parents
children 51e37adf988f
comparison
equal deleted inserted replaced
-1:000000000000 0:38469e025939
1 <tool id="recetox_aplcms_compute_template" name="recetox-aplcms - compute template" version="@TOOL_VERSION@+galaxy0">
2 <description>compute retention time correction template feature table</description>
3 <macros>
4 <import>macros.xml</import>
5 <import>help.xml</import>
6 </macros>
7 <expand macro="creator"/>
8 <expand macro="requirements"/>
9
10 <command detect_errors="aggressive"><![CDATA[
11 Rscript -e 'source("${__tool_directory__}/utils.R")' -e 'source("${run_script}")'
12 ]]></command>
13 <configfiles>
14 <configfile name="run_script"><![CDATA[
15 #set filenames = str("', '").join([str($f) for $f in $files])
16 feature_tables <- load_parquet_collection(c('$filenames'))
17
18 template_features <- compute_template(feature_tables)
19
20 save_data_as_parquet_file(template_features, '$output_file')
21 ]]></configfile>
22 </configfiles>
23
24 <inputs>
25 <param name="files" type="data_collection" collection_type="list" format="parquet" label="Input data"
26 help="Table containing clustered features." />
27 </inputs>
28
29 <outputs>
30 <data label="${tool.name} on ${on_string}" name="output_file" format="parquet" />
31 </outputs>
32
33 <tests>
34
35 </tests>
36
37 <help>
38 <![CDATA[
39 @COMPUTE_TEMPLATE_HELP@
40
41 @GENERAL_HELP@
42
43 ]]>
44 </help>
45
46 <expand macro="citations"/>
47 </tool>