comparison tooldistillator_summarize.xml @ 0:05c1bcba20c9 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tooldistillator commit 491c6fc94851aab68cb7529dd6b6fbc6caa84bf2
author iuc
date Tue, 30 Apr 2024 08:41:54 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:05c1bcba20c9
1 <tool id="tooldistillator_summarize" name="ToolDistillator Summarize" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2 <description>
3 Aggregate several JSON reports from ToolDistillator
4 </description>
5 <macros>
6 <import>macro.xml</import>
7 </macros>
8 <expand macro="biotools"/>
9 <expand macro="requirements"/>
10 <expand macro="version_command"/>
11 <command detect_errors="aggressive"><![CDATA[
12 tooldistillator --version &&
13 mkdir -p input_files &&
14 #for $file in $summarize_data
15 cp '$file' ./input_files/ &&
16 #end for
17 tooldistillator
18 summarize
19 input_files/*
20 -o summary.json
21 ]]>
22 </command>
23 <inputs>
24 <param name="summarize_data" type="data" multiple="true" format="json" label="Results in Json format" help="Summarize results from tooldistillator in json format"/>
25 </inputs>
26 <outputs>
27 <data name="summary_json" format="json" from_work_dir="summary.json" label="${tool.name} on ${on_string}"/>
28 </outputs>
29 <tests>
30 <test expect_num_outputs="1"> <!-- TEST_1 sumarize json results -->
31 <param name="summarize_data" ftype="json" value="summarize/abricate_output.json,summarize/bracken_full_output.json,summarize/plasmidfinder_output.json"/>
32 <output name="summary_json" ftype="json" value="summarize/summarize.json" compare="sim_size">
33 <assert_contents>
34 <has_text_matching expression="Enterococcus.*faecalis" />
35 <has_json_property_with_text property="name" text="plasmid_hit" />
36 </assert_contents>
37 </output>
38 </test>
39 </tests>
40 <help><![CDATA[
41 **What it does**
42
43 ToolDistillator is a tool to extract information from output files of specific tools, expose it as JSON files, and aggregate over several tools.
44
45
46
47 This tool here summarize JSON output file from ToolDistillator to only one JSON file
48 ]]></help>
49 <expand macro="citations"/>
50 </tool>