annotate abromics_galaxy_json_extractor_summarize.xml @ 2:96a9da463cb0 draft

planemo upload for repository https://gitlab.com/ifb-elixirfr/abromics/galaxy-tools commit 12dee18b8a3e5f84bb774bc170895cd3245c57d0
author ifb-elixirfr
date Wed, 13 Sep 2023 12:56:30 +0000
parents eb95c9ca5c60
children e3463c64863b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
1 <tool id="abromics_extractor_summarize" name="abromics_extractor_summarize" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
2 <description>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
3 Summarize results from abromicsextractor
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
4 </description>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
5 <macros>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
6 <import>macro.xml</import>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
7 </macros>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
8 <expand macro='edam'/>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
9 <expand macro="requirements"/>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
10 <expand macro="version_command"/>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
11 <command detect_errors="aggressive"><![CDATA[
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
12 mkdir -p input_files &&
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
13 #for $file in $summarize_data
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
14 cp $file input_files &&
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
15 #end for
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
16 abromics_extract summarize input_files/* -o abromics_summary.json
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
17 ]]>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
18 </command>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
19 <inputs>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
20 <param name="summarize_data" type="data" multiple="true" format="json" label="Results in Json format" help="Summarize results from abromicsextractor in json format"/>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
21 </inputs>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
22 <outputs>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
23 <data name="summary_json" format="json" from_work_dir="abromics_summary.json" label="${tool.name} on ${on_string}: Summarized file"/>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
24 </outputs>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
25 <tests>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
26 <test expect_num_outputs="1"> <!-- TEST_1 sumarize json results -->
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
27 <param name="summarize_data" ftype="json" value="summarize/abricate_output.json,summarize/bracken_full_output.json,summarize/plasmidfinder_output.json"/>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
28 <output name="summary_json" ftype="json" value="summarize/summarize.json" compare="sim_size"/>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
29 </test>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
30 </tests>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
31 <help><![CDATA[**What it does**
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
32 Summarize Json output file from abromics_galaxy_json_extractor to only one json file
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
33 ]]></help>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
34 <expand macro="citations"/>
eb95c9ca5c60 planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff changeset
35 </tool>