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