Mercurial > repos > ifb-elixirfr > abromics_extractor_summarize
annotate abromics_galaxy_json_extractor_summarize.xml @ 8:ce112a6105fa draft
planemo upload for repository https://gitlab.com/ifb-elixirfr/abromics/galaxy-tools commit 8623190a78f9aaaf9a8ec4f039af36307af34e3f
author | ifb-elixirfr |
---|---|
date | Wed, 27 Mar 2024 13:53:04 +0000 |
parents | e3463c64863b |
children |
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"/> |
4
e3463c64863b
planemo upload for repository https://gitlab.com/ifb-elixirfr/abromics/galaxy-tools commit 6afa8c416e3616d50952b8d3deab90e55580c787-dirty
ifb-elixirfr
parents:
0
diff
changeset
|
11 <command detect_errors="aggressive"><![CDATA[ |
e3463c64863b
planemo upload for repository https://gitlab.com/ifb-elixirfr/abromics/galaxy-tools commit 6afa8c416e3616d50952b8d3deab90e55580c787-dirty
ifb-elixirfr
parents:
0
diff
changeset
|
12 abromics_extract --version && |
0
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
13 mkdir -p input_files && |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
14 #for $file in $summarize_data |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
15 cp $file input_files && |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
16 #end for |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
17 abromics_extract summarize input_files/* -o abromics_summary.json |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
18 ]]> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
19 </command> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
20 <inputs> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
21 <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
|
22 </inputs> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
23 <outputs> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
24 <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
|
25 </outputs> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
26 <tests> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
27 <test expect_num_outputs="1"> <!-- TEST_1 sumarize json results --> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
28 <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
|
29 <output name="summary_json" ftype="json" value="summarize/summarize.json" compare="sim_size"/> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
30 </test> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
31 </tests> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
32 <help><![CDATA[**What it does** |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
33 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
|
34 ]]></help> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
35 <expand macro="citations"/> |
eb95c9ca5c60
planemo upload commit fd67555ae5bcff6d9052259771f805c4cd8124d3-dirty
ifb-elixirfr
parents:
diff
changeset
|
36 </tool> |