Repository 'qiime2__diversity__filter_alpha_diversity'
hg clone https://toolshed.g2.bx.psu.edu/repos/q2d2/qiime2__diversity__filter_alpha_diversity

Changeset 0:8334d515cc22 (2024-06-03)
Next changeset 1:35e7602594d8 (2024-10-30)
Commit message:
planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__diversity commit c7e80dcda727ce63b42aa8a946e9330310929797
added:
qiime2__diversity__filter_alpha_diversity.xml
test-data/alpha_correlation.test0.alpha-div-faith-pd.qza
test-data/alpha_correlation.test0.metadata.tsv
test-data/alpha_group_significance.test0.alpha-div-faith-pd.qza
test-data/alpha_group_significance.test0.metadata.tsv
b
diff -r 000000000000 -r 8334d515cc22 qiime2__diversity__filter_alpha_diversity.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/qiime2__diversity__filter_alpha_diversity.xml Mon Jun 03 23:19:32 2024 +0000
[
@@ -0,0 +1,91 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--
+Copyright (c) 2024, QIIME 2 development team.
+
+Distributed under the terms of the Modified BSD License. (SPDX: BSD-3-Clause)
+-->
+<!--
+This tool was automatically generated by:
+    q2galaxy (version: 2024.5.0)
+for:
+    qiime2 (version: 2024.5.0)
+-->
+<tool name="qiime2 diversity filter-alpha-diversity" id="qiime2__diversity__filter_alpha_diversity" version="2024.5.0+q2galaxy.2024.5.0" profile="22.05" license="BSD-3-Clause">
+    <description>Filter samples from an alpha diversity metric.</description>
+    <requirements>
+        <container type="docker">quay.io/qiime2/amplicon:2024.5</container>
+    </requirements>
+    <version_command>q2galaxy version diversity</version_command>
+    <command detect_errors="exit_code">q2galaxy run diversity filter_alpha_diversity '$inputs'</command>
+    <configfiles>
+        <inputs name="inputs" data_style="staging_path_and_source_path"/>
+    </configfiles>
+    <inputs>
+        <param name="alpha_diversity" type="data" format="qza" label="alpha_diversity: SampleData[AlphaDiversity]" help="[required]  Alpha diversity sample data to filter by sample.">
+            <options options_filter_attribute="metadata.semantic_type">
+                <filter type="add_value" value="SampleData[AlphaDiversity]"/>
+            </options>
+            <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['SampleData[AlphaDiversity]']</validator>
+        </param>
+        <repeat name="metadata" min="1" help="[required]  Sample metadata used to select samples to retain from the sample data (default) or select samples to exclude using the `exclude_ids` parameter." title="metadata: Metadata">
+            <conditional name="__q2galaxy__GUI__conditional__metadata__">
+                <param name="type" type="select" label="metadata: Metadata">
+                    <option value="tsv" selected="true">Metadata from TSV</option>
+                    <option value="qza">Metadata from Artifact</option>
+                </param>
+                <when value="tsv">
+                    <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/>
+                </when>
+                <when value="qza">
+                    <param name="source" type="data" format="qza" label="Metadata Source"/>
+                </when>
+            </conditional>
+        </repeat>
+        <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
+            <conditional name="__q2galaxy__GUI__conditional__where__" label="where: Str">
+                <param name="__q2galaxy__GUI__select__" type="select" label="where: Str" help="[optional]  SQLite WHERE clause specifying sample metadata criteria that must be met to be included in the filtered alpha diversity artifact. If not provided, all samples in `metadata` that are also in the input alpha diversity artifact will be retained.">
+                    <option value="__q2galaxy__::control::default" selected="true">None (Use default behavior)</option>
+                    <option value="__q2galaxy__::control::provide">Provide a value</option>
+                </param>
+                <when value="__q2galaxy__::control::default">
+                    <param name="where" type="hidden" value="__q2galaxy__::literal::None"/>
+                </when>
+                <when value="__q2galaxy__::control::provide">
+                    <param name="where" type="text">
+                        <sanitizer>
+                            <valid initial="string.printable"/>
+                        </sanitizer>
+                    </param>
+                </when>
+            </conditional>
+            <param name="exclude_ids" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="exclude_ids: Bool" help="[default: No]  If `True`, the samples selected by `metadata` or the `where` parameters will be excluded from the filtered alpha diversity artifact instead of being retained."/>
+        </section>
+    </inputs>
+    <outputs>
+        <data name="filtered_alpha_diversity" format="qza" label="${tool.name} on ${on_string}: filtered_alpha_diversity.qza" from_work_dir="filtered_alpha_diversity.qza"/>
+    </outputs>
+    <tests/>
+    <help>
+QIIME 2: diversity filter-alpha-diversity
+=========================================
+Filter samples from an alpha diversity metric.
+
+
+Outputs:
+--------
+:filtered_alpha_diversity.qza: &lt;no description&gt;
+
+|  
+
+Description:
+------------
+Filter samples from an alpha diversity metric, retaining samples with corresponding `metadata` (or retaining samples without metadata, if `exclude_ids` is True). See the filtering tutorial on https://docs.qiime2.org for additional details.
+
+
+|  
+
+</help>
+    <citations>
+        <citation type="doi">10.1038/s41587-019-0209-9</citation>
+    </citations>
+</tool>
b
diff -r 000000000000 -r 8334d515cc22 test-data/alpha_correlation.test0.alpha-div-faith-pd.qza
b
Binary file test-data/alpha_correlation.test0.alpha-div-faith-pd.qza has changed
b
diff -r 000000000000 -r 8334d515cc22 test-data/alpha_correlation.test0.metadata.tsv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/alpha_correlation.test0.metadata.tsv Mon Jun 03 23:19:32 2024 +0000
b
@@ -0,0 +1,50 @@
+sample_name barcode mouse_id genotype cage_id donor donor_status days_post_transplant genotype_and_donor_status
+#q2:types categorical categorical categorical categorical categorical categorical numeric categorical
+recip.220.WT.OB1.D7 CCTCCGTCATGG 457 wild type C35 hc_1 Healthy 49 wild type and Healthy
+recip.290.ASO.OB2.D1 AACAGTAAACAA 456 susceptible C35 hc_1 Healthy 49 susceptible and Healthy
+recip.389.WT.HC2.D21 ATGTATCAATTA 435 susceptible C31 hc_1 Healthy 21 susceptible and Healthy
+recip.391.ASO.PD2.D14 GTCAGTATGGCT 435 susceptible C31 hc_1 Healthy 14 susceptible and Healthy
+recip.391.ASO.PD2.D21 AGACAGTAGGAG 437 susceptible C31 hc_1 Healthy 21 susceptible and Healthy
+recip.391.ASO.PD2.D7 GGTCTTAGCACC 435 susceptible C31 hc_1 Healthy 7 susceptible and Healthy
+recip.400.ASO.HC2.D14 CGTTCGCTAGCC 437 susceptible C31 hc_1 Healthy 14 susceptible and Healthy
+recip.401.ASO.HC2.D7 ATTTACAATTGA 437 susceptible C31 hc_1 Healthy 7 susceptible and Healthy
+recip.403.ASO.PD2.D21 CGCAGATTAGTA 456 susceptible C35 hc_1 Healthy 21 susceptible and Healthy
+recip.411.ASO.HC2.D14 ATGTTAGGGAAT 456 susceptible C35 hc_1 Healthy 14 susceptible and Healthy
+recip.411.ASO.HC2.D21 CTCATATGCTAT 457 wild type C35 hc_1 Healthy 21 wild type and Healthy
+recip.411.ASO.HC2.D49 GCAACGAACGAG 435 susceptible C31 hc_1 Healthy 49 susceptible and Healthy
+recip.412.ASO.HC2.D14 AAGTGGCTATCC 457 wild type C35 hc_1 Healthy 14 wild type and Healthy
+recip.412.ASO.HC2.D7 GCATTCGGCGTT 456 susceptible C35 hc_1 Healthy 7 susceptible and Healthy
+recip.413.WT.HC2.D7 ACCAGTGACTCA 457 wild type C35 hc_1 Healthy 7 wild type and Healthy
+recip.456.ASO.HC3.D49 ACGGCGTTATGT 468 wild type C42 hc_1 Healthy 49 wild type and Healthy
+recip.458.ASO.HC3.D21 ACGGCCCTGGAG 468 wild type C42 hc_1 Healthy 21 wild type and Healthy
+recip.458.ASO.HC3.D49 CATTTGACGACG 469 wild type C42 hc_1 Healthy 49 wild type and Healthy
+recip.459.WT.HC3.D14 ACATGGGCGGAA 468 wild type C42 hc_1 Healthy 14 wild type and Healthy
+recip.459.WT.HC3.D21 CATAAATTCTTG 469 wild type C42 hc_1 Healthy 21 wild type and Healthy
+recip.459.WT.HC3.D49 GCTGCGTATACC 536 susceptible C43 pd_1 PD 49 susceptible and PD
+recip.460.WT.HC3.D14 CTGCGGATATAC 469 wild type C42 hc_1 Healthy 14 wild type and Healthy
+recip.460.WT.HC3.D21 GTCAATTAGTGG 536 susceptible C43 pd_1 PD 21 susceptible and PD
+recip.460.WT.HC3.D49 GAGAAGCTTATA 537 wild type C43 pd_1 PD 49 wild type and PD
+recip.460.WT.HC3.D7 GACCCGTTTCGC 468 wild type C42 hc_1 Healthy 7 wild type and Healthy
+recip.461.ASO.HC3.D21 AGCCCGCAAAGG 537 wild type C43 pd_1 PD 21 wild type and PD
+recip.461.ASO.HC3.D49 GGCGTAACGGCA 538 wild type C44 pd_1 PD 49 wild type and PD
+recip.461.ASO.HC3.D7 ATTGCCTTGATT 469 wild type C42 hc_1 Healthy 7 wild type and Healthy
+recip.462.WT.PD3.D14 GTGAGGGCAAGT 536 susceptible C43 pd_1 PD 14 susceptible and PD
+recip.462.WT.PD3.D21 GGCCTATAAGTC 538 wild type C44 pd_1 PD 21 wild type and PD
+recip.462.WT.PD3.D49 AATACAGACCTG 539 susceptible C44 pd_1 PD 49 susceptible and PD
+recip.462.WT.PD3.D7 TTAGGATTCTAT 536 susceptible C43 pd_1 PD 7 susceptible and PD
+recip.463.WT.PD3.D14 ATATTGGCAGCC 537 wild type C43 pd_1 PD 14 wild type and PD
+recip.463.WT.PD3.D21 CGCGGCGCAGCT 539 susceptible C44 pd_1 PD 21 susceptible and PD
+recip.463.WT.PD3.D7 GTTTATCTTAAG 537 wild type C43 pd_1 PD 7 wild type and PD
+recip.464.WT.PD3.D14 TCATCCGTCGGC 538 wild type C44 pd_1 PD 14 wild type and PD
+recip.465.ASO.PD3.D14 GGCTTCGGAGCG 539 susceptible C44 pd_1 PD 14 susceptible and PD
+recip.465.ASO.PD3.D7 CAGTCTAGTACG 538 wild type C44 pd_1 PD 7 wild type and PD
+recip.466.ASO.PD3.D7 GTGGGACTGCGC 539 susceptible C44 pd_1 PD 7 susceptible and PD
+recip.467.WT.HC3.D49.a GTCAGGTGCGGC 437 susceptible C31 hc_1 Healthy 49 susceptible and Healthy
+recip.467.WT.HC3.D49.b GTTAACTTACTA 546 susceptible C49 pd_1 PD 49 susceptible and PD
+recip.536.ASO.PD4.D49 CAAATTCGGGAT 547 wild type C49 pd_1 PD 49 wild type and PD
+recip.537.WT.PD4.D21 CTCTATTCCACC 546 susceptible C49 pd_1 PD 21 susceptible and PD
+recip.538.WT.PD4.D21 ATGGATAGCTAA 547 wild type C49 pd_1 PD 21 wild type and PD
+recip.539.ASO.PD4.D14 GATCCGGCAGGA 546 susceptible C49 pd_1 PD 14 susceptible and PD
+recip.539.ASO.PD4.D7 GTTCGAGTGAAT 546 susceptible C49 pd_1 PD 7 susceptible and PD
+recip.540.ASO.HC4.D14 CTTCCAACTCAT 547 wild type C49 pd_1 PD 14 wild type and PD
+recip.540.ASO.HC4.D7 CGGCCTAAGTTC 547 wild type C49 pd_1 PD 7 wild type and PD
b
diff -r 000000000000 -r 8334d515cc22 test-data/alpha_group_significance.test0.alpha-div-faith-pd.qza
b
Binary file test-data/alpha_group_significance.test0.alpha-div-faith-pd.qza has changed
b
diff -r 000000000000 -r 8334d515cc22 test-data/alpha_group_significance.test0.metadata.tsv
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/alpha_group_significance.test0.metadata.tsv Mon Jun 03 23:19:32 2024 +0000
b
@@ -0,0 +1,50 @@
+sample_name barcode mouse_id genotype cage_id donor donor_status days_post_transplant genotype_and_donor_status
+#q2:types categorical categorical categorical categorical categorical categorical numeric categorical
+recip.220.WT.OB1.D7 CCTCCGTCATGG 457 wild type C35 hc_1 Healthy 49 wild type and Healthy
+recip.290.ASO.OB2.D1 AACAGTAAACAA 456 susceptible C35 hc_1 Healthy 49 susceptible and Healthy
+recip.389.WT.HC2.D21 ATGTATCAATTA 435 susceptible C31 hc_1 Healthy 21 susceptible and Healthy
+recip.391.ASO.PD2.D14 GTCAGTATGGCT 435 susceptible C31 hc_1 Healthy 14 susceptible and Healthy
+recip.391.ASO.PD2.D21 AGACAGTAGGAG 437 susceptible C31 hc_1 Healthy 21 susceptible and Healthy
+recip.391.ASO.PD2.D7 GGTCTTAGCACC 435 susceptible C31 hc_1 Healthy 7 susceptible and Healthy
+recip.400.ASO.HC2.D14 CGTTCGCTAGCC 437 susceptible C31 hc_1 Healthy 14 susceptible and Healthy
+recip.401.ASO.HC2.D7 ATTTACAATTGA 437 susceptible C31 hc_1 Healthy 7 susceptible and Healthy
+recip.403.ASO.PD2.D21 CGCAGATTAGTA 456 susceptible C35 hc_1 Healthy 21 susceptible and Healthy
+recip.411.ASO.HC2.D14 ATGTTAGGGAAT 456 susceptible C35 hc_1 Healthy 14 susceptible and Healthy
+recip.411.ASO.HC2.D21 CTCATATGCTAT 457 wild type C35 hc_1 Healthy 21 wild type and Healthy
+recip.411.ASO.HC2.D49 GCAACGAACGAG 435 susceptible C31 hc_1 Healthy 49 susceptible and Healthy
+recip.412.ASO.HC2.D14 AAGTGGCTATCC 457 wild type C35 hc_1 Healthy 14 wild type and Healthy
+recip.412.ASO.HC2.D7 GCATTCGGCGTT 456 susceptible C35 hc_1 Healthy 7 susceptible and Healthy
+recip.413.WT.HC2.D7 ACCAGTGACTCA 457 wild type C35 hc_1 Healthy 7 wild type and Healthy
+recip.456.ASO.HC3.D49 ACGGCGTTATGT 468 wild type C42 hc_1 Healthy 49 wild type and Healthy
+recip.458.ASO.HC3.D21 ACGGCCCTGGAG 468 wild type C42 hc_1 Healthy 21 wild type and Healthy
+recip.458.ASO.HC3.D49 CATTTGACGACG 469 wild type C42 hc_1 Healthy 49 wild type and Healthy
+recip.459.WT.HC3.D14 ACATGGGCGGAA 468 wild type C42 hc_1 Healthy 14 wild type and Healthy
+recip.459.WT.HC3.D21 CATAAATTCTTG 469 wild type C42 hc_1 Healthy 21 wild type and Healthy
+recip.459.WT.HC3.D49 GCTGCGTATACC 536 susceptible C43 pd_1 PD 49 susceptible and PD
+recip.460.WT.HC3.D14 CTGCGGATATAC 469 wild type C42 hc_1 Healthy 14 wild type and Healthy
+recip.460.WT.HC3.D21 GTCAATTAGTGG 536 susceptible C43 pd_1 PD 21 susceptible and PD
+recip.460.WT.HC3.D49 GAGAAGCTTATA 537 wild type C43 pd_1 PD 49 wild type and PD
+recip.460.WT.HC3.D7 GACCCGTTTCGC 468 wild type C42 hc_1 Healthy 7 wild type and Healthy
+recip.461.ASO.HC3.D21 AGCCCGCAAAGG 537 wild type C43 pd_1 PD 21 wild type and PD
+recip.461.ASO.HC3.D49 GGCGTAACGGCA 538 wild type C44 pd_1 PD 49 wild type and PD
+recip.461.ASO.HC3.D7 ATTGCCTTGATT 469 wild type C42 hc_1 Healthy 7 wild type and Healthy
+recip.462.WT.PD3.D14 GTGAGGGCAAGT 536 susceptible C43 pd_1 PD 14 susceptible and PD
+recip.462.WT.PD3.D21 GGCCTATAAGTC 538 wild type C44 pd_1 PD 21 wild type and PD
+recip.462.WT.PD3.D49 AATACAGACCTG 539 susceptible C44 pd_1 PD 49 susceptible and PD
+recip.462.WT.PD3.D7 TTAGGATTCTAT 536 susceptible C43 pd_1 PD 7 susceptible and PD
+recip.463.WT.PD3.D14 ATATTGGCAGCC 537 wild type C43 pd_1 PD 14 wild type and PD
+recip.463.WT.PD3.D21 CGCGGCGCAGCT 539 susceptible C44 pd_1 PD 21 susceptible and PD
+recip.463.WT.PD3.D7 GTTTATCTTAAG 537 wild type C43 pd_1 PD 7 wild type and PD
+recip.464.WT.PD3.D14 TCATCCGTCGGC 538 wild type C44 pd_1 PD 14 wild type and PD
+recip.465.ASO.PD3.D14 GGCTTCGGAGCG 539 susceptible C44 pd_1 PD 14 susceptible and PD
+recip.465.ASO.PD3.D7 CAGTCTAGTACG 538 wild type C44 pd_1 PD 7 wild type and PD
+recip.466.ASO.PD3.D7 GTGGGACTGCGC 539 susceptible C44 pd_1 PD 7 susceptible and PD
+recip.467.WT.HC3.D49.a GTCAGGTGCGGC 437 susceptible C31 hc_1 Healthy 49 susceptible and Healthy
+recip.467.WT.HC3.D49.b GTTAACTTACTA 546 susceptible C49 pd_1 PD 49 susceptible and PD
+recip.536.ASO.PD4.D49 CAAATTCGGGAT 547 wild type C49 pd_1 PD 49 wild type and PD
+recip.537.WT.PD4.D21 CTCTATTCCACC 546 susceptible C49 pd_1 PD 21 susceptible and PD
+recip.538.WT.PD4.D21 ATGGATAGCTAA 547 wild type C49 pd_1 PD 21 wild type and PD
+recip.539.ASO.PD4.D14 GATCCGGCAGGA 546 susceptible C49 pd_1 PD 14 susceptible and PD
+recip.539.ASO.PD4.D7 GTTCGAGTGAAT 546 susceptible C49 pd_1 PD 7 susceptible and PD
+recip.540.ASO.HC4.D14 CTTCCAACTCAT 547 wild type C49 pd_1 PD 14 wild type and PD
+recip.540.ASO.HC4.D7 CGGCCTAAGTTC 547 wild type C49 pd_1 PD 7 wild type and PD