view qiime2__demux__subsample_single.xml @ 3:4c598bbefcbb draft default tip

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__demux commit 389df0134cd0763dcf02aac6e623fc15f8861c1e
author q2d2
date Thu, 25 Apr 2024 20:55:46 +0000
parents 6c2c8696456f
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.2.1)
for:
    qiime2 (version: 2024.2.0)
-->
<tool name="qiime2 demux subsample-single" id="qiime2__demux__subsample_single" version="2024.2.0+q2galaxy.2024.2.1" profile="22.05" license="BSD-3-Clause">
    <description>Subsample single-end sequences without replacement.</description>
    <requirements>
        <container type="docker">quay.io/qiime2/amplicon:2024.2</container>
    </requirements>
    <version_command>q2galaxy version demux</version_command>
    <command detect_errors="exit_code">q2galaxy run demux subsample_single '$inputs'</command>
    <configfiles>
        <inputs name="inputs" data_style="staging_path_and_source_path"/>
    </configfiles>
    <inputs>
        <param name="sequences" type="data" format="qza" label="sequences: SampleData[SequencesWithQuality | PairedEndSequencesWithQuality]" help="[required]  The demultiplexed sequences to be subsampled.">
            <options options_filter_attribute="metadata.semantic_type">
                <filter type="add_value" value="SampleData[SequencesWithQuality]"/>
                <filter type="add_value" value="SampleData[PairedEndSequencesWithQuality]"/>
            </options>
            <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['SampleData[PairedEndSequencesWithQuality]', 'SampleData[SequencesWithQuality]']</validator>
        </param>
        <param name="fraction" type="float" min="1e-06" max="0.999999" value="" label="fraction: Float % Range(0, 1, inclusive_start=False)" help="[required]  The fraction of sequences to retain in subsample."/>
    </inputs>
    <outputs>
        <data name="subsampled_sequences" format="qza" label="${tool.name} on ${on_string}: subsampled_sequences.qza" from_work_dir="subsampled_sequences.qza"/>
    </outputs>
    <tests/>
    <help>
QIIME 2: demux subsample-single
===============================
Subsample single-end sequences without replacement.


Outputs:
--------
:subsampled_sequences.qza: The subsampled sequences.

|  

Description:
------------
Generate a random subsample of single-end sequences containing approximately the fraction of input sequences specified by the fraction parameter. The number of output samples will always be equal to the number of input samples, even if some of those samples contain no sequences after subsampling.


|  

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