comparison qiime2__diversity_lib__faith_pd.xml @ 0:787fb9ea6f43 draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__diversity_lib commit 9023cfd83495a517fbcbb6f91d5b01a6f1afcda1
author q2d2
date Mon, 29 Aug 2022 19:41:58 +0000
parents
children f08636f56fd7
comparison
equal deleted inserted replaced
-1:000000000000 0:787fb9ea6f43
1 <?xml version='1.0' encoding='utf-8'?>
2 <!--
3 Copyright (c) 2022, 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: 2022.8.1)
10 for:
11 qiime2 (version: 2022.8.1)
12 -->
13 <tool name="qiime2 diversity-lib faith-pd" id="qiime2__diversity_lib__faith_pd" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
14 <description>Faith's Phylogenetic Diversity</description>
15 <requirements>
16 <container type="docker">quay.io/qiime2/core:2022.8</container>
17 </requirements>
18 <version_command>q2galaxy version diversity_lib</version_command>
19 <command detect_errors="aggressive">q2galaxy run diversity_lib faith_pd '$inputs'</command>
20 <configfiles>
21 <inputs name="inputs" data_style="paths"/>
22 </configfiles>
23 <inputs>
24 <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency | RelativeFrequency | PresenceAbsence]" help="[required] The feature table containing the samples for which Faith's phylogenetic diversity should be computed. Table values will be converted to presence/absence.">
25 <options options_filter_attribute="metadata.semantic_type">
26 <filter type="add_value" value="FeatureTable[Frequency]"/>
27 <filter type="add_value" value="FeatureTable[PresenceAbsence]"/>
28 <filter type="add_value" value="FeatureTable[RelativeFrequency]"/>
29 </options>
30 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]', 'FeatureTable[PresenceAbsence]', 'FeatureTable[RelativeFrequency]']</validator>
31 </param>
32 <param name="phylogeny" type="data" format="qza" label="phylogeny: Phylogeny[Rooted]" help="[required] Phylogenetic tree containing tip identifiers that correspond to the feature identifiers in the table. This tree can contain tip ids that are not present in the table, but all feature ids in the table must be present in this tree.">
33 <options options_filter_attribute="metadata.semantic_type">
34 <filter type="add_value" value="Phylogeny[Rooted]"/>
35 </options>
36 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['Phylogeny[Rooted]']</validator>
37 </param>
38 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
39 <conditional name="__q2galaxy__GUI__conditional__threads__">
40 <param name="__q2galaxy__GUI__select__" type="select" label="threads: Int % Range(1, None) | Str % Choices('auto')" help="[default: 1] The number of CPU threads to use in performing this calculation. May not exceed the number of available physical cores. If threads = 'auto', one thread will be created for each identified CPU core on the host.">
41 <option value="auto">auto (Str)</option>
42 <option value="__q2galaxy__::control::Int X Range(1__comma__ None)" selected="true">Provide a value (Int % Range(1, None))</option>
43 </param>
44 <when value="auto">
45 <param name="threads" type="hidden" value="auto"/>
46 </when>
47 <when value="__q2galaxy__::control::Int X Range(1__comma__ None)">
48 <param name="threads" type="integer" min="1" value="1" label="threads: Int % Range(1, None)" help="[default: 1] The number of CPU threads to use in performing this calculation. May not exceed the number of available physical cores. If threads = 'auto', one thread will be created for each identified CPU core on the host."/>
49 </when>
50 </conditional>
51 </section>
52 </inputs>
53 <outputs>
54 <data name="vector" format="qza" label="${tool.name} on ${on_string}: vector.qza" from_work_dir="vector.qza"/>
55 </outputs>
56 <tests>
57 <test>
58 <param name="table" value="faith_pd.test0.feature-table.qza" ftype="qza"/>
59 <param name="phylogeny" value="faith_pd.test0.phylogeny.qza" ftype="qza"/>
60 <output name="vector" ftype="qza">
61 <assert_contents>
62 <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">
63 <has_line_matching expression="type: SampleData\[AlphaDiversity\]"/>
64 </has_archive_member>
65 </assert_contents>
66 </output>
67 </test>
68 </tests>
69 <help>
70 QIIME 2: diversity-lib faith-pd
71 ===============================
72 Faith's Phylogenetic Diversity
73
74
75 Outputs:
76 --------
77 :vector.qza: Vector containing per-sample values for Faith's Phylogenetic Diversity.
78
79 |
80
81 Description:
82 ------------
83 Computes Faith's Phylogenetic Diversity for all samples in a feature table.
84
85 Examples:
86 ---------
87
88 basic
89 *****
90 Using the ``qiime2 diversity-lib faith-pd`` tool:
91 #. Set *"table"* to ``#: feature-table.qza``
92 #. Set *"phylogeny"* to ``#: phylogeny.qza``
93 #. Press the ``Execute`` button.
94
95 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
96 (Renaming is optional, but it will make any subsequent steps easier to complete.)
97
98 .. list-table::
99 :align: left
100 :header-rows: 1
101
102 * - History Name
103 - *"Name"* to set (be sure to press ``Save``)
104 * - ``#: qiime2 diversity-lib faith-pd [...] : vector.qza``
105 - ``faith-pd-vector.qza``
106
107
108 |
109
110 </help>
111 <citations>
112 <citation type="doi">10.1016/0006-3207(92)91201-3</citation>
113 <citation type="doi">10.1101/gr.275777.121</citation>
114 <citation type="doi">10.1038/s41587-019-0209-9</citation>
115 </citations>
116 </tool>