view qiime2__dada2__denoise_single.xml @ 2:e7812ca89033 draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__dada2 commit 65e4952f33eb335528e8553150e9097e5ea8f556
author q2d2
date Thu, 08 Jun 2023 19:35:16 +0000
parents 3c8340e400df
children 20a297ae4505
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 dada2 denoise-single" id="qiime2__dada2__denoise_single" version="2023.5.0+q2galaxy.2023.5.0.2" profile="22.05" license="BSD-3-Clause">
    <description>Denoise and dereplicate single-end sequences</description>
    <requirements>
        <container type="docker">quay.io/qiime2/core:2023.5</container>
    </requirements>
    <version_command>q2galaxy version dada2</version_command>
    <command detect_errors="exit_code">q2galaxy run dada2 denoise_single '$inputs'</command>
    <configfiles>
        <inputs name="inputs" data_style="paths"/>
    </configfiles>
    <inputs>
        <param name="demultiplexed_seqs" type="data" format="qza" label="demultiplexed_seqs: SampleData[SequencesWithQuality | PairedEndSequencesWithQuality]" help="[required]  The single-end demultiplexed sequences to be denoised.">
            <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="trunc_len" type="integer" value="" label="trunc_len: Int" help="[required]  Position at which sequences should be truncated due to decrease in quality. This truncates the 3' end of the of the input sequences, which will be the bases that were sequenced in the last cycles. Reads that are shorter than this value will be discarded. If 0 is provided, no truncation or length filtering will be performed"/>
        <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
            <param name="trim_left" type="integer" value="0" label="trim_left: Int" help="[default: 0]  Position at which sequences should be trimmed due to low quality. This trims the 5' end of the of the input sequences, which will be the bases that were sequenced in the first cycles."/>
            <param name="max_ee" type="float" value="2.0" label="max_ee: Float" help="[default: 2.0]  Reads with number of expected errors higher than this value will be discarded."/>
            <param name="trunc_q" type="integer" value="2" label="trunc_q: Int" help="[default: 2]  Reads are truncated at the first instance of a quality score less than or equal to this value. If the resulting read is then shorter than `trunc_len`, it is discarded."/>
            <param name="pooling_method" type="select" label="pooling_method: Str % Choices('independent', 'pseudo')" display="radio">
                <option value="independent" selected="true">independent</option>
                <option value="pseudo">pseudo</option>
            </param>
            <param name="chimera_method" type="select" label="chimera_method: Str % Choices('consensus', 'none', 'pooled')" display="radio">
                <option value="consensus" selected="true">consensus</option>
                <option value="none">none</option>
                <option value="pooled">pooled</option>
            </param>
            <param name="min_fold_parent_over_abundance" type="float" value="1.0" label="min_fold_parent_over_abundance: Float" help="[default: 1.0]  The minimum abundance of potential parents of a sequence being tested as chimeric, expressed as a fold-change versus the abundance of the sequence being tested. Values should be greater than or equal to 1 (i.e. parents should be more abundant than the sequence being tested). This parameter has no effect if chimera_method is &quot;none&quot;."/>
            <param name="allow_one_off" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="allow_one_off: Bool" help="[default: No]  Bimeras that are one-off from exact are also identified if the `allow_one_off` argument is True.If True, a sequence will be identified as bimera if it is one mismatch or indel away from an exact bimera."/>
            <param name="n_threads" type="integer" value="1" label="n_threads: Int" help="[default: 1]  The number of threads to use for multithreaded processing. If 0 is provided, all available cores will be used."/>
            <param name="n_reads_learn" type="integer" value="1000000" label="n_reads_learn: Int" help="[default: 1000000]  The number of reads to use when training the error model. Smaller numbers will result in a shorter run time but a less reliable error model."/>
            <param name="hashed_feature_ids" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" checked="true" label="hashed_feature_ids: Bool" help="[default: Yes]  If true, the feature ids in the resulting table will be presented as hashes of the sequences defining each feature. The hash will always be the same for the same sequence so this allows feature tables to be merged across runs of this method. You should only merge tables if the exact same parameters are used for each run."/>
        </section>
    </inputs>
    <outputs>
        <data name="table" format="qza" label="${tool.name} on ${on_string}: table.qza" from_work_dir="table.qza"/>
        <data name="representative_sequences" format="qza" label="${tool.name} on ${on_string}: representative_sequences.qza" from_work_dir="representative_sequences.qza"/>
        <data name="denoising_stats" format="qza" label="${tool.name} on ${on_string}: denoising_stats.qza" from_work_dir="denoising_stats.qza"/>
    </outputs>
    <tests>
        <test>
            <param name="demultiplexed_seqs" value="denoise_single.test0.demux-single.qza" ftype="qza"/>
            <param name="trunc_len" value="120"/>
            <param name="trim_left" value="0"/>
            <output name="representative_sequences" ftype="qza">
                <assert_contents>
                    <has_archive_member path="[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/metadata.yaml">
                        <has_line_matching expression="type: FeatureData\[Sequence\]"/>
                    </has_archive_member>
                </assert_contents>
            </output>
            <output name="table" ftype="qza">
                <assert_contents>
                    <has_archive_member path="[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/metadata.yaml">
                        <has_line_matching expression="type: FeatureTable\[Frequency\]"/>
                    </has_archive_member>
                </assert_contents>
            </output>
            <output name="denoising_stats" ftype="qza">
                <assert_contents>
                    <has_archive_member path="[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/metadata.yaml">
                        <has_line_matching expression="type: SampleData\[DADA2Stats\]"/>
                    </has_archive_member>
                </assert_contents>
            </output>
        </test>
    </tests>
    <help>
QIIME 2: dada2 denoise-single
=============================
Denoise and dereplicate single-end sequences


Outputs:
--------
:table.qza: The resulting feature table.
:representative_sequences.qza: The resulting feature sequences. Each feature in the feature table will be represented by exactly one sequence.
:denoising_stats.qza: &lt;no description&gt;

|  

Description:
------------
This method denoises single-end sequences, dereplicates them, and filters chimeras.

Examples:
---------

denoise_single
**************
Using the ``qiime2 dada2 denoise-single`` tool:
 #. Set *"demultiplexed_seqs"* to ``#: demux-single.qza``
 #. Set *"trunc_len"* to ``120``
 #. Expand the ``additional options`` section

    - Leave *"trim_left"* as its default value of ``0``

 #. Press the ``Execute`` button.



|  

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