view qiime2__demux__subsample_paired.xml @ 2:f79287ee143e draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__demux commit 65e4952f33eb335528e8553150e9097e5ea8f556
author q2d2
date Thu, 08 Jun 2023 19:36:16 +0000
parents 522cc8ebcf4f
children e7d5cbac1576
line wrap: on
line source

<?xml version='1.0' encoding='utf-8'?>
<!--
Copyright (c) 2023, 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: 2023.5.0)
for:
    qiime2 (version: 2023.5.1)
-->
<tool name="qiime2 demux subsample-paired" id="qiime2__demux__subsample_paired" version="2023.5.0+q2galaxy.2023.5.0.2" profile="22.05" license="BSD-3-Clause">
    <description>Subsample paired-end sequences without replacement.</description>
    <requirements>
        <container type="docker">quay.io/qiime2/core:2023.5</container>
    </requirements>
    <version_command>q2galaxy version demux</version_command>
    <command detect_errors="exit_code">q2galaxy run demux subsample_paired '$inputs'</command>
    <configfiles>
        <inputs name="inputs" data_style="paths"/>
    </configfiles>
    <inputs>
        <param name="sequences" type="data" format="qza" label="sequences: SampleData[PairedEndSequencesWithQuality]" help="[required]  The demultiplexed sequences to be subsampled.">
            <options options_filter_attribute="metadata.semantic_type">
                <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]']</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-paired
===============================
Subsample paired-end sequences without replacement.


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

|  

Description:
------------
Generate a random subsample of paired-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>