# HG changeset patch # User q2d2 # Date 1762016838 0 # Node ID 75593c55ca60eab5536bfc244549e3fa1835b009 planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__boots commit 64ed09f1f1c680ad8373d261bd6be43a4f8a8d5b diff -r 000000000000 -r 75593c55ca60 qiime2__boots__core_metrics.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qiime2__boots__core_metrics.xml Sat Nov 01 17:07:18 2025 +0000 @@ -0,0 +1,272 @@ + + + + + Perform resampled "core metrics" analysis. + + qiime2 + + + quay.io/qiime2/amplicon:2025.10 + + q2galaxy version boots + q2galaxy run boots core_metrics '$inputs' + + + + + + + + + + + hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]', 'FeatureTable[PresenceAbsence]', 'FeatureTable[RelativeFrequency]'] + + + + + + + + + + + + + + + + + + + + + + value != '__q2galaxy__::literal::None' + +
+ + + + + hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['Phylogeny[Rooted]'] + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +QIIME 2: boots core-metrics +=========================== +Perform resampled "core metrics" analysis. + + +Outputs: +-------- +:resampled_tables.qza: The `n` resampled tables. +:alpha_diversities.qza: Average alpha diversity vector for each metric. +:distance_matrices.qza: Average beta diversity distance matrix for each metric. +:pcoas.qza: PCoA matrix for each beta diversity metric. +:emperor_plots.qzv: Emperor plot for each beta diversity metric. +:scatter_plot.qzv: 2D scatter plot including alpha diversity and pcoa results for all selected metrics. + +| + +Description: +------------ +Given a single feature table as input, this action resamples the feature table `n` times to a total frequency of `sampling depth` per sample, and then computes common alpha and beta diversity on each resulting `table`. The resulting artifacts are then averaged using the method specified by `alpha_average_method` and `beta_average_method` parameters. The resulting average alpha and beta diversity artifacts are returned, along with PCoA matrices, Emperor plots, and a 2D scatter plot including alpha diversity values and PCoA of all beta diversity metrics. + +Examples: +--------- + +Bootstrapped core metrics. +************************** +Using the ``qiime2 boots core-metrics`` tool: + #. Set *"table"* to ``#: table.qza`` + #. Set *"sampling_depth"* to ``20`` + #. For *"metadata"*: + + - Perform the following steps. + + #. Leave as ``Metadata from TSV`` + #. Set *"Metadata Source"* to ``metadata.tsv`` + + + #. Set *"n"* to ``10`` + #. Set *"replacement"* to ``Yes`` + #. Expand the ``additional options`` section + + #. Leave *"alpha_average_method"* as its default value of ``median`` + #. Set *"beta_average_method"* to ``medoid`` + + #. Press the ``Execute`` button. + +Once completed, for each new entry in your history, use the ``Edit`` button to set the name as follows: + (Renaming is optional, but it will make any subsequent steps easier to complete.) + + .. list-table:: + :align: left + :header-rows: 1 + + * - History Name + - *"Name"* to set (be sure to press ``Save``) + * - ``#: qiime2 boots core-metrics [...] : resampled_tables.qza`` + - ``bootstrap-tables/`` + * - ``#: qiime2 boots core-metrics [...] : alpha_diversities.qza`` + - ``bootstrap-alpha-diversities/`` + * - ``#: qiime2 boots core-metrics [...] : distance_matrices.qza`` + - ``bootstrap-distance-matrices/`` + * - ``#: qiime2 boots core-metrics [...] : pcoas.qza`` + - ``bootstrap-pcoas/`` + * - ``#: qiime2 boots core-metrics [...] : emperor_plots.qza`` + - ``bootstrap-emperor-plots/`` + * - ``#: qiime2 boots core-metrics [...] : scatter_plot.qzv`` + - ``scatter-plot.qzv`` + +Rarefaction-based core metrics. +******************************* +Using the ``qiime2 boots core-metrics`` tool: + #. Set *"table"* to ``#: table.qza`` + #. Set *"sampling_depth"* to ``20`` + #. For *"metadata"*: + + - Perform the following steps. + + #. Leave as ``Metadata from TSV`` + #. Set *"Metadata Source"* to ``metadata.tsv`` + + + #. Set *"n"* to ``10`` + #. Set *"replacement"* to ``No`` + #. Expand the ``additional options`` section + + #. Leave *"alpha_average_method"* as its default value of ``median`` + #. Set *"beta_average_method"* to ``medoid`` + + #. Press the ``Execute`` button. + +Once completed, for each new entry in your history, use the ``Edit`` button to set the name as follows: + (Renaming is optional, but it will make any subsequent steps easier to complete.) + + .. list-table:: + :align: left + :header-rows: 1 + + * - History Name + - *"Name"* to set (be sure to press ``Save``) + * - ``#: qiime2 boots core-metrics [...] : resampled_tables.qza`` + - ``rarefaction-tables/`` + * - ``#: qiime2 boots core-metrics [...] : alpha_diversities.qza`` + - ``rarefaction-alpha-diversities/`` + * - ``#: qiime2 boots core-metrics [...] : distance_matrices.qza`` + - ``rarefaction-distance-matrices/`` + * - ``#: qiime2 boots core-metrics [...] : pcoas.qza`` + - ``rarefaction-pcoas/`` + * - ``#: qiime2 boots core-metrics [...] : emperor_plots.qza`` + - ``rarefaction-emperor-plots/`` + * - ``#: qiime2 boots core-metrics [...] : scatter_plot.qzv`` + - ``scatter-plot.qzv`` + + +| + + + + https://doi.org/10.12688/f1000research.156295.1 + 10.1038/s41587-019-0209-9 + +
diff -r 000000000000 -r 75593c55ca60 test-data/alpha.test0.table.qza Binary file test-data/alpha.test0.table.qza has changed diff -r 000000000000 -r 75593c55ca60 test-data/alpha.test1.table.qza Binary file test-data/alpha.test1.table.qza has changed diff -r 000000000000 -r 75593c55ca60 test-data/beta_collection.test0.table.qza Binary file test-data/beta_collection.test0.table.qza has changed diff -r 000000000000 -r 75593c55ca60 test-data/beta_collection.test1.table.qza Binary file test-data/beta_collection.test1.table.qza has changed diff -r 000000000000 -r 75593c55ca60 test-data/core_metrics.test0.metadata.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/core_metrics.test0.metadata.tsv Sat Nov 01 17:07:18 2025 +0000 @@ -0,0 +1,6 @@ +sample-id even-or-odd +#q2:types categorical +S1 odd +S2 even +S3 odd +S4 even diff -r 000000000000 -r 75593c55ca60 test-data/core_metrics.test0.table.qza Binary file test-data/core_metrics.test0.table.qza has changed diff -r 000000000000 -r 75593c55ca60 test-data/core_metrics.test1.metadata.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/core_metrics.test1.metadata.tsv Sat Nov 01 17:07:18 2025 +0000 @@ -0,0 +1,6 @@ +sample-id even-or-odd +#q2:types categorical +S1 odd +S2 even +S3 odd +S4 even diff -r 000000000000 -r 75593c55ca60 test-data/core_metrics.test1.table.qza Binary file test-data/core_metrics.test1.table.qza has changed diff -r 000000000000 -r 75593c55ca60 test-data/kmer_diversity.test0.metadata.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/kmer_diversity.test0.metadata.tsv Sat Nov 01 17:07:18 2025 +0000 @@ -0,0 +1,6 @@ +sample-id even-or-odd +#q2:types categorical +S1 odd +S2 even +S3 odd +S4 even diff -r 000000000000 -r 75593c55ca60 test-data/kmer_diversity.test0.sequences.qza Binary file test-data/kmer_diversity.test0.sequences.qza has changed diff -r 000000000000 -r 75593c55ca60 test-data/kmer_diversity.test0.table.qza Binary file test-data/kmer_diversity.test0.table.qza has changed diff -r 000000000000 -r 75593c55ca60 test-data/resample.test0.table.qza Binary file test-data/resample.test0.table.qza has changed diff -r 000000000000 -r 75593c55ca60 test-data/resample.test1.table.qza Binary file test-data/resample.test1.table.qza has changed