view otu.hierarchy.xml @ 7:0161571cd8f8 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ff56a4c9218ddea84ff5cd72fd98c62db212465d"
author iuc
date Thu, 05 Nov 2020 22:07:58 +0000
parents 058e6e36f6e5
children
line wrap: on
line source

<tool profile="16.07" id="mothur_otu_hierarchy" name="Otu.hierarchy" version="@WRAPPER_VERSION@.0">
    <description>Relate OTUs at different distances</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <expand macro="stdio"/>
    <expand macro="version_command"/>
    <command><![CDATA[
@SHELL_OPTIONS@

## create symlinks to input datasets
ln -s '$otu' otu.dat &&

echo 'otu.hierarchy(
    list=otu.dat,
    label=$label1-$label2,
    output=$output
)'
| sed 's/ //g'  ## mothur trips over whitespace
| mothur
| tee mothur.out.log
    ]]></command>
    <inputs>
        <param name="otu" type="data" format="mothur.list" label="list - OTU List"/>
        <param name="label1" type="select" label="label - OTU Label 1">
            <expand macro="labeloptions"/>
        </param>
        <param name="label2" type="select" label="label - OTU Label 2" help="Must be different than Label 1">
            <expand macro="labeloptions"/>
        </param>
        <param name="output" type="select" optional="true" label="output - display the names of the sequences in the otus or the otu numbers">
            <option value="name" selected="true">OTU sequence names</option>
            <option value="number">OTU numbers</option>
        </param>
        <expand macro="param-savelog"/>
    </inputs>
    <outputs>
        <expand macro="logfile-output"/>
        <data name="hierarchy" format="tabular" from_work_dir="otu*.hierarchy" label="${tool.name} on ${on_string}: otu.hierarchy"/>
    </outputs>
    <tests>
        <test>
            <param name="otu" value="amazon.an.list" ftype="mothur.list"/>
            <param name="label1" value="0.05"/>
            <param name="label2" value="0.03"/>
            <output name="hierarchy" file="amazon.an.0.03.-.0.05.otu.hierarchy" ftype="tabular"/>
            <param name="savelog" value="true"/>
            <expand macro="logfile-test"/>
        </test>
    </tests>
    <help><![CDATA[

@MOTHUR_OVERVIEW@

**Command Documentation**

The otu.hierarchy_ command relates OTUs from a list_ at different distances.

.. _list: https://www.mothur.org/wiki/List_file
.. _otu.hierarchy: https://www.mothur.org/wiki/Otu.hierarchy

    ]]></help>
    <expand macro="citations"/>
</tool>