# HG changeset patch # User q2d2 # Date 1762016891 0 # Node ID ff355b492a7e51d53058692bb4c7878bfeac861c planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__boots commit 64ed09f1f1c680ad8373d261bd6be43a4f8a8d5b diff -r 000000000000 -r ff355b492a7e qiime2__boots__resample.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qiime2__boots__resample.xml Sat Nov 01 17:08:11 2025 +0000 @@ -0,0 +1,132 @@ + + + + + Resample feature table, returning `n` feature tables. + + qiime2 + + + quay.io/qiime2/amplicon:2025.10 + + q2galaxy version boots + q2galaxy run boots resample '$inputs' + + + + + + + + + hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]'] + + + + + + + + value != '__q2galaxy__::literal::None' + + + + + + + + + + + + + + + + + + + + + + + + +QIIME 2: boots resample +======================= +Resample feature table, returning `n` feature tables. + + +Outputs: +-------- +:resampled_tables.qza: The `n` resampled tables. + +| + +Description: +------------ +Resample `table` to `sampling_depth` total observations with replacement (i.e., bootstrapping) or without replacement (i.e., rarefaction) `n` times, to generate `n` resampled feature tables. + +Examples: +--------- + +Generate 10 bootstrapped tables. +******************************** +Using the ``qiime2 boots resample`` tool: + #. Set *"table"* to ``#: table.qza`` + #. Set *"sampling_depth"* to ``20`` + #. Set *"n"* to ``10`` + #. Set *"replacement"* to ``Yes`` + #. Press the ``Execute`` button. + +Once completed, for the 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 resample [...] : resampled_tables.qza`` + - ``bootstrapped-tables/`` + +Generate 10 rarefied tables. +**************************** +Using the ``qiime2 boots resample`` tool: + #. Set *"table"* to ``#: table.qza`` + #. Set *"sampling_depth"* to ``20`` + #. Set *"n"* to ``10`` + #. Set *"replacement"* to ``No`` + #. Press the ``Execute`` button. + +Once completed, for the 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 resample [...] : resampled_tables.qza`` + - ``rarefaction-tables/`` + + +| + + + + https://doi.org/10.12688/f1000research.156295.1 + 10.1038/s41587-019-0209-9 + + diff -r 000000000000 -r ff355b492a7e test-data/alpha.test0.table.qza Binary file test-data/alpha.test0.table.qza has changed diff -r 000000000000 -r ff355b492a7e test-data/alpha.test1.table.qza Binary file test-data/alpha.test1.table.qza has changed diff -r 000000000000 -r ff355b492a7e test-data/beta_collection.test0.table.qza Binary file test-data/beta_collection.test0.table.qza has changed diff -r 000000000000 -r ff355b492a7e test-data/beta_collection.test1.table.qza Binary file test-data/beta_collection.test1.table.qza has changed diff -r 000000000000 -r ff355b492a7e 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:08:11 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 ff355b492a7e test-data/core_metrics.test0.table.qza Binary file test-data/core_metrics.test0.table.qza has changed diff -r 000000000000 -r ff355b492a7e 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:08:11 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 ff355b492a7e test-data/core_metrics.test1.table.qza Binary file test-data/core_metrics.test1.table.qza has changed diff -r 000000000000 -r ff355b492a7e 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:08:11 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 ff355b492a7e test-data/kmer_diversity.test0.sequences.qza Binary file test-data/kmer_diversity.test0.sequences.qza has changed diff -r 000000000000 -r ff355b492a7e test-data/kmer_diversity.test0.table.qza Binary file test-data/kmer_diversity.test0.table.qza has changed diff -r 000000000000 -r ff355b492a7e test-data/resample.test0.table.qza Binary file test-data/resample.test0.table.qza has changed diff -r 000000000000 -r ff355b492a7e test-data/resample.test1.table.qza Binary file test-data/resample.test1.table.qza has changed