comparison qiime2__feature_table__summarize_plus.xml @ 0:4954486b6f4c draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__feature_table commit 389df0134cd0763dcf02aac6e623fc15f8861c1e
author q2d2
date Thu, 25 Apr 2024 21:08:12 +0000
parents
children 20aeb1d1b9d8
comparison
equal deleted inserted replaced
-1:000000000000 0:4954486b6f4c
1 <?xml version='1.0' encoding='utf-8'?>
2 <!--
3 Copyright (c) 2024, QIIME 2 development team.
4
5 Distributed under the terms of the Modified BSD License. (SPDX: BSD-3-Clause)
6 -->
7 <!--
8 This tool was automatically generated by:
9 q2galaxy (version: 2024.2.1)
10 for:
11 qiime2 (version: 2024.2.0)
12 -->
13 <tool name="qiime2 feature-table summarize-plus" id="qiime2__feature_table__summarize_plus" version="2024.2.2+q2galaxy.2024.2.1" profile="22.05" license="BSD-3-Clause">
14 <description>Summarize table plus</description>
15 <requirements>
16 <container type="docker">quay.io/qiime2/amplicon:2024.2</container>
17 </requirements>
18 <version_command>q2galaxy version feature_table</version_command>
19 <command detect_errors="exit_code">q2galaxy run feature_table summarize_plus '$inputs'</command>
20 <configfiles>
21 <inputs name="inputs" data_style="staging_path_and_source_path"/>
22 </configfiles>
23 <inputs>
24 <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency | PresenceAbsence]" help="[required] The feature table to be summarized.">
25 <options options_filter_attribute="metadata.semantic_type">
26 <filter type="add_value" value="FeatureTable[PresenceAbsence]"/>
27 <filter type="add_value" value="FeatureTable[Frequency]"/>
28 </options>
29 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]', 'FeatureTable[PresenceAbsence]']</validator>
30 </param>
31 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
32 <repeat name="metadata" help="[optional] The sample metadata." title="metadata: Metadata">
33 <conditional name="__q2galaxy__GUI__conditional__metadata__">
34 <param name="type" type="select" label="metadata: Metadata">
35 <option value="tsv" selected="true">Metadata from TSV</option>
36 <option value="qza">Metadata from Artifact</option>
37 </param>
38 <when value="tsv">
39 <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/>
40 </when>
41 <when value="qza">
42 <param name="source" type="data" format="qza" label="Metadata Source"/>
43 </when>
44 </conditional>
45 </repeat>
46 </section>
47 </inputs>
48 <outputs>
49 <data name="feature_frequencies" format="qza" label="${tool.name} on ${on_string}: feature_frequencies.qza" from_work_dir="feature_frequencies.qza"/>
50 <data name="sample_frequencies" format="qza" label="${tool.name} on ${on_string}: sample_frequencies.qza" from_work_dir="sample_frequencies.qza"/>
51 <data name="summary" format="qzv" label="${tool.name} on ${on_string}: summary.qzv" from_work_dir="summary.qzv"/>
52 </outputs>
53 <tests>
54 <test>
55 <param name="table" value="summarize_plus.test0.feature-table.qza" ftype="qza"/>
56 <output name="feature_frequencies" ftype="qza">
57 <assert_contents>
58 <has_archive_member path="[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/metadata.yaml">
59 <has_line_matching expression="type: ImmutableMetadata"/>
60 </has_archive_member>
61 </assert_contents>
62 </output>
63 <output name="sample_frequencies" ftype="qza">
64 <assert_contents>
65 <has_archive_member path="[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/metadata.yaml">
66 <has_line_matching expression="type: ImmutableMetadata"/>
67 </has_archive_member>
68 </assert_contents>
69 </output>
70 <output name="summary" ftype="qzv">
71 <assert_contents>
72 <has_archive_member path="[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/metadata.yaml">
73 <has_line_matching expression="type: Visualization"/>
74 </has_archive_member>
75 </assert_contents>
76 </output>
77 </test>
78 </tests>
79 <help>
80 QIIME 2: feature-table summarize-plus
81 =====================================
82 Summarize table plus
83
84
85 Outputs:
86 --------
87 :feature_frequencies.qza: Per-sample and total frequencies per feature.
88 :sample_frequencies.qza: Observed feature count and total frequencies per sample.
89 :summary.qzv: Visual summary of feature table
90
91 |
92
93 Description:
94 ------------
95 Generate visual and tabular summaries of a feature table. Tabulate sample and feature frequencies.
96
97 Examples:
98 ---------
99
100 feature_table_summarize_plus
101 ****************************
102 Using the ``qiime2 feature-table summarize-plus`` tool:
103 #. Set *"table"* to ``#: feature-table.qza``
104 #. Press the ``Execute`` button.
105
106 Once completed, for each new entry in your history, use the ``Edit`` button to set the name as follows:
107 (Renaming is optional, but it will make any subsequent steps easier to complete.)
108
109 .. list-table::
110 :align: left
111 :header-rows: 1
112
113 * - History Name
114 - *"Name"* to set (be sure to press ``Save``)
115 * - ``#: qiime2 feature-table summarize-plus [...] : feature_frequencies.qza``
116 - ``feature-frequencies.qza``
117 * - ``#: qiime2 feature-table summarize-plus [...] : sample_frequencies.qza``
118 - ``sample-frequencies.qza``
119 * - ``#: qiime2 feature-table summarize-plus [...] : summary.qzv``
120 - ``visual summary.qzv``
121
122
123 |
124
125 </help>
126 <citations>
127 <citation type="doi">10.1038/s41587-019-0209-9</citation>
128 </citations>
129 </tool>