view pcoa.xml @ 10:40b0d8eb3725 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 7599ef16dc8b83ee49236ed5bb229260c969b0ab
author iuc
date Mon, 17 Jun 2024 12:39:45 +0000
parents c9fc98593dec
children
line wrap: on
line source

<tool profile="16.07" id="mothur_pcoa" name="Pcoa" version="@WRAPPER_VERSION@.0">
    <description>Principal Coordinate Analysis for a distance matrix</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="biotools"/>
    <expand macro="requirements"/>
    <expand macro="stdio"/>
    <expand macro="version_command"/>
    <command><![CDATA[
@SHELL_OPTIONS@

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

echo 'pcoa(
    phylip=phylip.dat,
    metric=$metric
)'
| sed 's/ //g'  ## mothur trips over whitespace
| mothur
| tee mothur.out.log
    ]]></command>
    <inputs>
        <param name="phylip" type="data" format="mothur.dist,mothur.lower.dist,mothur.square.dist" label="phylip - Phylip Distance Matrix"/>
        <param name="metric" type="boolean" truevalue="true" falsevalue="false" checked="true" label="metric - Calculate pearson correlation coefficient"/>
        <expand macro="param-savelog"/>
    </inputs>
    <outputs>
        <expand macro="logfile-output"/>
        <data name="pcoa" format="mothur.axes" from_work_dir="phylip*.pcoa.axes" label="${tool.name} on ${on_string}: pcoa.axes"/>
        <data name="loadings" format="tabular" from_work_dir="phylip*.pcoa.loadings" label="${tool.name} on ${on_string}: loadings"/>
    </outputs>
    <tests>
        <test>
            <param name="phylip" value="amazon.dist"/>
            <output name="pcoa" file="amazon.pcoa.axes"/>
            <output name="loadings" file="amazon.pcoa.loadings"/>
            <param name="savelog" value="true"/>
            <expand macro="logfile-test"/>
        </test>
    </tests>
    <help><![CDATA[

@MOTHUR_OVERVIEW@

**Command Documentation**

The pcoa_ command performs principal coordinate analysis on a phylip-formatted_distance_matrix_.

.. _phylip-formatted_distance_matrix: https://www.mothur.org/wiki/Phylip-formatted_distance_matrix
.. _pcoa: https://www.mothur.org/wiki/Pcoa

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