view qiime2__demux__subsample_single.xml @ 5:76384b6b3d90 draft default tip

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__demux commit 5f71b597c9495eae67a447744fded834f56ca1f7
author q2d2
date Wed, 30 Oct 2024 19:37:33 +0000
parents 26139ebc17ea
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 demux subsample-single" id="qiime2__demux__subsample_single" version="2024.10.0+q2galaxy.2024.10.0" profile="22.05" license="BSD-3-Clause">
    <description>Subsample single-end sequences without replacement.</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 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[PairedEndSequencesWithQuality]"/>
                <filter type="add_value" value="SampleData[SequencesWithQuality]"/>
            </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>