view qiime2__feature_table__subsample_ids.xml @ 2:d50895a7ed04 draft default tip

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__feature_table commit 5f71b597c9495eae67a447744fded834f56ca1f7
author q2d2
date Wed, 30 Oct 2024 19:49:53 +0000
parents 97eda8a63e9b
children
line wrap: on
line source

<?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.10.0)
for:
    qiime2 (version: 2024.10.1)
-->
<tool name="qiime2 feature-table subsample-ids" id="qiime2__feature_table__subsample_ids" version="2024.10.0+q2galaxy.2024.10.0" profile="22.05" license="BSD-3-Clause">
    <description>Subsample table</description>
    <xrefs>
        <xref type="bio.tools">qiime2</xref>
    </xrefs>
    <requirements>
        <container type="docker">quay.io/qiime2/amplicon:2024.10</container>
    </requirements>
    <version_command>q2galaxy version feature_table</version_command>
    <command detect_errors="exit_code">q2galaxy run feature_table subsample_ids '$inputs'</command>
    <configfiles>
        <inputs name="inputs" data_style="staging_path_and_source_path"/>
    </configfiles>
    <inputs>
        <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency]" help="[required]  The feature table to be sampled.">
            <options options_filter_attribute="metadata.semantic_type">
                <filter type="add_value" value="FeatureTable[Frequency]"/>
            </options>
            <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]']</validator>
        </param>
        <param name="subsampling_depth" type="integer" min="1" value="" label="subsampling_depth: Int % Range(1, None)" help="[required]  The total number of samples or features to be randomly sampled. Samples or features that are reduced to a zero sum will not be included in the resulting table."/>
        <param name="axis" type="select" label="axis: Str % Choices('sample', 'feature')" display="radio">
            <option value="__q2galaxy__::literal::None">Selection required</option>
            <option value="sample">sample</option>
            <option value="feature">feature</option>
            <validator type="expression" message="Please verify this parameter.">value != '__q2galaxy__::literal::None'</validator>
        </param>
    </inputs>
    <outputs>
        <data name="sampled_table" format="qza" label="${tool.name} on ${on_string}: sampled_table.qza" from_work_dir="sampled_table.qza"/>
    </outputs>
    <tests/>
    <help>
QIIME 2: feature-table subsample-ids
====================================
Subsample table


Outputs:
--------
:sampled_table.qza: The resulting subsampled feature table.

|  

Description:
------------
Randomly pick samples or features, without replacement, from the table.


|  

</help>
    <citations>
        <citation type="doi">10.1038/s41587-019-0209-9</citation>
    </citations>
</tool>